An object oriented 3D engine