tri_surface_to_obj_test, a MATLAB program which calls tri_surface_to_obj() to read data from a TRI_SURFACE file describing a triangular mesh of a 3D surface, and convert it to an OBJ file.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
tri_surface_to_obj, a MATLAB program which reads a tri_surface dataset and extracts the surface mesh data as an OBJ file.
CUBE is a cube using 8 nodes and 12 triangular faces.
SPHERE is a sphere, using 66 nodes and 119 triangular faces.