Modular 3D engine