OBJ Extended 3D File Format _---------------------------_ #comment v %f %f %f # vertex coordinate vt %f %f # 2D texture coordinate vn %f %f %f # vertex normal vc %i %i %i %i # RGBA vertex color l v/vt/vn v/vt/vn Specify a line segment with vertex indeces. Indeces for vt and vn are optional. f v/vt/vn v/vt/vn v/vt/vn [v/vt/vn] Specify a 3 or 4 vertex face with vertex indeces. Indeces for vt and vn are optional. o object_name parent parent_object_name instanceof source_object_name position %f %f %f rotation %f %f %f scale %f %f %f usemap texture_file [color|reflect|bump] If neither color, reflect, or bump is specified, texture maps should be interpreted in said order(first color, then reflect, then bump). 3Dengine Notes ---------------- Textures may be raw PPM, raw PGM, JPEG, or TARGA(raw or RLE). Uniform scale only. Bump textures are not yet implemented. vc alpha values are not currently used. Model files must end in ".obj".