OBJ Format

An OBJ file is a plain text file, containing vertices, polygon faces, and other information. Each vertex, face, etc, is given on a separate line.

Each line begins with a token to identify what sort of line it is - 'v' for vertex, 'f' for face, etc.

v x y z
vertex position
vn x y z
vertex normal
vt u v
texture coordinate
f v1 v2 v3 ...
face (list of vertex numbers)
mtllib file.mtl
file containing material descriptions
usemtl name
current material to apply to geometry