A threaded 3D engine