3D rendering implementation