c file of 3D map