ply_io


ply_io, a MATLAB code which reads or writes data describing a polygonal mesh in a PLY file.

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.

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

Licensing:

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

Languages:

ply_io is available in a C version and a MATLAB version,

Related Data and Programs:

ply_io_test

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

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

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

obj_to_ply, a C code which converts a Wavefront OBJ file to PLY format.

plato_ply, a C code which creates a Platonic solid and writes it to an ASCII PLY file, by Greg Turk.

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

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

ply_to_iv, a C code which converts a PLY file to INVENTOR format.

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

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

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

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

Author:

Original MATLAB version by Pascal Getreuer. This version by John Burkardt.

Source Code:


Last revised on 09 March 2024.