Wavefront Object
Use
You can import and view Wavefront Object (.obj) files.
The .obj file format was developed for the Wavefront application developed by Alias. The format stores a description of the surface of a 3D object, composed of triangles or higher degree polygons.
Supported for Import
The .objf file format, (a derivative of the .obj format), is supported. Stripe files have the following file structure:
-
Vertex data: Geometric vertices (v), texture vertices (vt), and vertex normals (vn)
-
Elements data: Triangle strip (t) and triangle strip continuation (q)
Supported for Export
-
Associated materials exported as .mtl files
-
Groups read as separate objects
-
Polygonal objects and free-form objects. Polygonal geometry uses points, lines, and faces to define objects while free-form geometry uses curves and surfaces. SAP 3D Visual Enterprise Author reads only polygonal geometry
-
Texture coordinates
Features
This format contains both import and export options. You can use them to customize the way in which your file is opened and saved.
Import Interface
|
Field |
Functional Description |
|---|---|
|
Import Material File |
Imports all material information from the .mtl file |
|
Flip Coordinate System |
Rotates the model so it uses a right-hand coordinate system. That is, it flips the Y and Z axes. |
Export Interface
|
Field |
Functional Description |
|---|---|
|
Common |
Defines the general settings
|
|
Number of Digits after the Decimal Point |
Manages double precision output
|
Example
The following is an example of a Stripe file:
v 0.000000 0.000000 1.000000 # Vertex 1v 1.000000 1.000000 0.000000 # Vertex 2v 2.000000 0.000000 0.000000 # Vertex 3v 3.000000 1.000000 0.000000 # Vertex 4v 4.000000 0.000000 0.000000 # Vertex 5v 3.000000 -1.000000 0.000000 # Vertex 6v 4.000000 -1.000000 0.000000 # Vertex 7v 2.000000 2.000000 0.000000 # Vertex 8v 3.000000 2.000000 0.000000 # Vertex 9v 3.000000 3.000000 0.000000 # Vertex 10t 10 9 8 # Start of triangle strip 1q 4 # Continuation of triangle strip 1q 2 # Continuation of triangle strip 1q 3 1 # Continuation of triangle strip 1t 3 4 3 5 # Start of triangle strip 2q 6 7 # Continuation of triangle strip 2
The following is an example of an .obj file:
v 0.000000 2.000000 2.000000v 0.000000 0.000000 2.000000v 2.000000 0.000000 2.000000v 2.000000 2.000000 2.000000v 0.000000 2.000000 0.000000v 0.000000 2.000000 0.000000v 2.000000 0.000000 0.000000v 2.000000 2.000000 0.000000f 1 2 3 4f 8 7 6 5f 4 3 7 8f 5 1 4 8f 5 6 2 1f 2 6 7 3