PLY_TO_OBJ
PLY => OBJ Graphics File Conversion


PLY_TO_OBJ is a C program 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

Languages:

PLY_TO_OBJ is available in a C version.

Related Data and Programs:

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

OBJ_TO_PLY, a C program which converts an OBJ file to a PLY file.

PLATO_PLY, a C program 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 program which displays an image of a 3D graphics file in PLY format;

PLY_IO, a C library which can read or write a PLY file, by Greg Turk.

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

PLY_TO_TRI_SURFACE, a MATLAB program which can read a PLY file, extract the polygonal surface information, and return it as a TRI_SURFACE dataset.

TRI_SURFACE_TO_PLY, a MATLAB program which converts a TRI_SURFACE data structure into a PLY data structure.

Author:

Greg Turk

Source Code:

Examples and Tests:

CUBE is a simple definition of a cube.

List of Routines:

You can go up one level to the C source codes.


Last revised on 29 January 2009.