ply_to_obj


ply_to_obj, a C code which converts a PLY 3D graphics file to an OBJ file.

The program only extracts information about vertices, faces, and vertex normals.

The PLY format allows faces to have as many vertices as desired. The OBJ format assumes faces are triangular. This program tries to convert nontriangular PLY faces to triangular faces acceptable to the OBJ format.

Usage:

ply_to_obj [flags] < file.ply > file.obj
where

Licensing:

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

Languages:

ply_to_obj is available in a C version.

Related Data and Programs:

ply_to_obj_test

obj, a data directory which contains examples of OBJ files, a Wavefront file format for 3D graphics;

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

plato_ply, a C code which writes out any of the five Platonic solids as a PLY file, by Greg Turk.

ply, a data directory which contains some information about the PLY format.

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

ply_io, a C code which reads or writes a PLY file, by Greg Turk.

ply_to_iv, a C code which converts a PLY 3D graphics file to Inventor format, by Greg Turk.

ply_to_tri_surface, a MATLAB code which reads a PLY file, extracts the polygonal surface information, and return it as a TRI_SURFACE dataset.

tri_surface_to_ply, a MATLAB code which converts a TRI_SURFACE data structure into a PLY data structure.

Author:

Greg Turk

Source Code:


Last revised on 29 January 2009.