tri_surface_io, a MATLAB code which reads or writes the graphics information stored in a pair of files that represent a TRI_SURFACE object, that is, a surface in 3D formed by a connected collection of triangles.
The information on this web page is distributed under the MIT license.
tri_surface_io is available in a C++ version and a Fortran90 version and a MATLAB version and an Octave version.
obj_to_tri_surface, a MATLAB code which reads an OBJ file and extracts the surface mesh data as a TRI_SURFACE dataset.
ply_to_tri_surface, a MATLAB code which extracts data from a PLY file and writes it to a TRI_SURFACE file.
stla_to_tri_surface, a MATLAB code which reads an ASCII STL file and extracts the surface mesh data as a TRI_SURFACE dataset.
tri_surface, a data directory which has some examples of TRI_SURFACE files.
tri_surface_display, a MATLAB code which reads a TRI_SURFACE 3D graphics file and displays it in a 3D window.
tri_surface_display_opengl, a C++ code which displays the 3D graphics information in a TRI_SURFACE file using OpenGL.
TRI_SURFACE_TO_OBJ, a MATLAB code which reads a TRI_SURFACE dataset and extracts the surface mesh data as an OBJ file.
tri_surface_to_ply, a MATLAB code which extracts data from a TRI_SURFACE file and writes it to a PLY file.
tri_surface_to_stla, a MATLAB code which reads a TRI_SURFACE dataset and extracts the surface mesh data as an ASCII STL file.