elenorcoli opened this issue on Jul 20, 2006 · 5 posts
kuroyume0161 posted Thu, 20 July 2006 at 6:11 PM
v = vertex
vt = texture vertex (UV)
vn = normal of vertex
f = facet (polygon)
fo = facet also
l = line (can also represent spline)
g = group (sets the group for the facets that follow)
usemtl = material (sets the material group for the facets that follow)
mtllib = references a corresponding .mtl file that contains basic material settings for each material group
f is followed by up to three references: v/vt/vn for each vertex of the polygon.
Think, I pulled that from memory (though I double checked the order of the vertex types for 'f'). :)
Robert
ETA: Go here for a PDF which is probably the most definitive format specification for Wavefront OBJ around: http://www.wotsit.org/search.asp?page=2&s=3d
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone