OBJ File Documentation


Overview

Feature Value
File Format Wavefront 3D Object File
File Extension .obj
MIME Type text/plain
Primary Use 3D Model Representation
Developed by Wavefront Technologies
Format Type Text (ASCII) or Binary
Geometric Entities Vertices, Faces, Textures, and Normals
Support for Texturing Yes, through external .mtl file
Animation Support No
Support for Materials Yes, defined in external .mtl file
Coordinate System Right-handed
Vertex Definition v x y z [w] where w is optional
Face Definition f v/vt/vn v/vt/vn v/vt/vn ... for vertices, textures, normals
Normal Vector Definition vn x y z
Texture Coordinate Definition vt u [v] [w] where v and w are optional
Support for Multiple Objects Yes, via o object_name or g group_name
Line Segment Definition l v1 v2 ... vn
Smoothing Groups Yes, via s group_number or s off
Object Library Declaration mtllib filename.mtl
Material Application to Faces usemtl material_name