Read and Write TRI_SURFACE 3D Graphics Files

TRI_SURFACE_IO, a C++ code which reads or writes the 3D graphics information stored in a pair of files that represent a TRI_SURFACE object, that is, a surface described as a collection of triangles.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


TRI_SURFACE_IO is available in a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

PLY_TO_TRI_SURFACE, a MATLAB program which extracts data from a PLY file and writes it to a TRI_SURFACE file.

TRI_SURFACE, a data directory which has some examples of TRI_SURFACE files.

TRI_SURFACE_DISPLAY_OPENGL, a C++ program which displays the 3D graphics information in a TRI_SURFACE file using OpenGL.


Source Code:

Last revised on 03 May 2020.