updated 3D processing