tri_surface_to_obj_test, a MATLAB code which calls tri_surface_to_obj(), which reads 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 MIT license
tri_surface_to_obj, a MATLAB code 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.