tri_surface_to_ply


tri_surface_to_ply, an Octave code which reads data describing a triangular mesh of a 3D surface, reformats it into a PLY data structure, and then writes it to a PLY file.

A TRI_SURFACE or triangulated mesh surface, is described by a pair of arrays:

A PLY file contains a sophisticated data structure describing a polygonal surface. A triangulated mesh is a very simply case of such a surface; a PLY file can also describe a mesh surface involving higher order polygons, and it can contain auxilliary information about normal vectors and so on.

Usage:

tri_surface_to_ply ( prefix )
where

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

tri_surface_to_ply is available in a MATLAB version and an Octave version.

Related Data and Programs:

tri_surface_to_ply_test

bezier_surface_display, an Octave code which reads two files defining a Bezier surface and displays it.

fem_basis_t3_display, an Octave code which displays a basis function associated with a linear triangle ("T3") mesh.

fem_basis_t6_display, an Octave code which reads a quadratic triangle mesh and displays any associated basis function.

ply, a data directory which contains a description and examples of PLY files.

ply_display, an Octave code which displays an image of a 3D graphics file in PLY format;

ply_to_obj, a C code which reads a PLY 3D graphics file and writes an equivalent OBJ graphics file.

ply_to_tri_surface, an Octave code which can read a PLY file, extract the polygonal surface information, and return it as a TRI_SURFACE dataset.

polygonal_surface, a data directory which contains examples of polygonal surface files.

stla_display, an Octave code which reads an ASCII STL file and displays it.

tri_surface, a data directory which contains examples of TRI_SURFACE files.

tri_surface_display, an Octave code which can display a TRI_SURFACE.

tri_surface_io, an Octave code which reads and writes the 3D graphics information in a TRI_SURFACE file;

tri_surface_to_obj, an Octave code which reads a TRI_SURFACE dataset and extracts the surface mesh data as an OBJ file.

tri_surface_to_stla, an Octave code which reads a TRI_SURFACE dataset and extracts the surface mesh data as an ASCII STL file.

triangulation_display_opengl, a C++ code which reads files defining a triangulation and displays an image using OpenGL.

Author:

The functions PLY_WRITE.M and TRI_SURFACE_DATA_TO_PLY_DATA.m were created by Pascal Getreuer.

Source Code:


Last revised on 02 September 2024.