ply_to_tri_surface, an Octave code which reads data from a PLY file describing a polygonal mesh of a 3D surface,and converts it to a pair of arrays describing a 3D triangular mesh or TRI_SURFACE.
A PLY file contains a sophisticated data structure describing a 3D 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.
A TRI_SURFACE or triangulated mesh surface, is described by a pair of arrays:
[ node_xyz, triangle_node] = ply_to_tri_surface ( 'ply_file_name' )where
The information on this web page is distributed under the MIT license.
ply_to_tri_surface is available in a MATLAB version and an Octave version.
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.
obj_to_tri_surface, an Octave code which reads an OBJ file and extracts the surface mesh data as a TRI_SURFACE dataset.
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_io, an Octave code which reads or writes a PLY file.
polygonal_surface, a data directory which contains examples of polygonal surface files.
stla_display, an Octave code which reads an ASCII stereolithography (STL) file and displays it.
stla_to_tri_surface, an Octave code which reads an ASCII stereolighography (STL) file and extracts the surface mesh data as a TRI_SURFACE dataset.
tri_surface, a data directory which contains examples of TRI_SURFACE files.
tri_surface_display, an Octave code which displays 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_ply, an Octave code which converts TRI_SURFACE data to data suitable for storage as a PLY file.
triangulation_display, an Octave code which reads files defining a triangulation and displays an image.
Original MATLAB version of ply_read() and ply_to_tri_surface() by Pascal Getreuer. This version by John Burkardt.