PLY Files
an ASCII Polygon format


These are some examples of PLY files. PLY files are a simple format for the description of objects that are a collection of polygons.

PLY files are:

Example:

        ply
        format ascii 1.0           { ascii/binary, format version number }
        comment made by anonymous  { comments are keyword specified }
        comment this file is a cube
        element vertex 8           { define "vertex" element, 8 in file }
        property float32 x         { vertex contains float "x" coordinate }
        property float32 y         { y coordinate is also a vertex property }
        property float32 z         { z coordinate, too }
        element face 6             { there are 6 "face" elements in the file }
        property list uint8 int32 vertex_index 
                                   { "vertex_indices" is a list of ints }
        end_header                 { delimits the end of the header }
        0 0 0                      { start of vertex list }
        0 0 1
        0 1 1
        0 1 0
        1 0 0
        1 0 1
        1 1 1
        1 1 0
        4 0 1 2 3                  { start of face list }
        4 7 6 5 4
        4 0 4 5 1
        4 1 5 6 2
        4 2 6 7 3
        4 3 7 4 0
      

Reference:

  1. Greg Turk,
    The PLY Polygon File Format,
    ply.txt.

Programs to read a PLY file:

Programs to create a PLY file:

Programs to write a PLY file:

Programs to convert a PLY file to another format:

Programs to convert a file to PLY format:

Sample PLY files:

You can go up one level to the DATA page.


Last revised on 29 January 2008.