1 file format 1.1 geometric vertex 1.2 parameter space vertices 1.3 face elements 1.3.1 vertex indices 1.3.2 vertex texture coordinate indices 1.3.3 vertex normal indices 1.3.4 vertex normal indices without texture coordinate indices 1.4 other geometry formats 1.5 referencing materials 1.6 relative , absolute indices file format lines beginning hash character (#) comments. # comment an obj file may contain vertex data, free-form curve/surface attributes, elements, free-form curve/surface body statements, connectivity between free-form surfaces, grouping , display/render attribute information. common elements geometric vertices, texture coordinates, vertex normals , polygonal faces: # list of geometric vertices, (x,y,z[,w]) coordinates, w optional , defaults 1.0. v 0.123 0.234 0.345 1.0 v ... ... # list of texture coordinates, in (u, v [,w]) coordinates, these vary between 0 , 1, w optional , defaults 0. vt 0.500 1 [0] vt ... ... # list of vertex normals in (x,y,z) for...
Comments
Post a Comment