Next: ND-Vertices, Previous: File names, Up: Conventions
Several objects share a common style of representing vertices with optional per-vertex surface-normal and color. All vertices within an object have the same format, specified by the header key word.
All data for a vertex is grouped together (as opposed to e.g. giving coordinates for all vertices, then colors for all vertices, and so on).
The syntax is
optionally followed by
optionally followed by
optionally followed by
(two or three texture-coordinate values).
Values are separated by white space, and line breaks are immaterial.
Letters in the object's header key word must appear in a specific order; that's the reverse of the order in which the data is given for each vertex. So a `CN4OFF' object's vertices contain first the 4-component space position, then the 3-component normal, finally the 4-component color. You can't change the data order by changing the header key word; an `NCOFF' is just not recognized.