3D surface graph based on triangulation