3D compile