Wavefront .obj File - File Format

File Format

Lines beginning with a hash character (#) are comments.

# this is a comment

An OBJ file contains several types of definitions:

# List of Vertices, with (x,y,z) coordinates, w is optional and defaults to 1.0. v 0.123 0.234 0.345 1.0 v ... ... # Texture coordinates, in (u) coordinates, v and w are optional and default to 0. vt 0.500 -1.352 vt ... ... # Normals in (x,y,z) form; normals might not be unit. vn 0.707 0.000 0.707 vn ... ... # Parameter space vertices in ( u ) form; free form geometry statement ( see below ) vp 0.310000 3.210000 2.100000 vp ... ... # Face Definitions (see below) f 1 2 3 f 3/1 4/2 5/3 f 6/4/1 3/5/3 7/6/5 f ... ...

Read more about this topic:  Wavefront .obj File

Famous quotes containing the word file:

    A common and natural result of an undue respect for law is, that you may see a file of soldiers, colonel, captain, corporal, privates, powder-monkeys, and all, marching in admirable order over hill and dale to the wars, against their wills, ay, against their common sense and consciences, which makes it very steep marching indeed, and produces a palpitation of the heart.
    Henry David Thoreau (1817–1862)