|
|
|||
|
|
| OFF 3D geometry format. Used for storing and exchanging 3D models. OFF is an acronym for Object File Format. Occasionally called COFF if color information is present. Related to NOFF and CNOFF. ASCII or binary format. Represents a single 2D or 3D object. Stores a collection of planar polygons with possibly shared vertices. Supports polygon and vertex colors. |
| "Elements" | list of elements and options available in this file | |
| "Rules" | full list of rules for each element and option | |
| "Options" | list of rules for options, properties and settings |
| "Graphics" | 2D OFF file represented as a Graphics object | |
| "Graphics3D" | 3D geometry represented as a Graphics3D object | |
| "GraphicsComplex" | OFF file as a GraphicsComplex object | |
| "PolygonColors" | face color information, given as a list of color primitives associated with each polygon | |
| "PolygonData" | the polygon elements in indexed form | |
| "PolygonObjects" | list of Polygon primitives given in absolute coordinates | |
| "VertexColors" | colors associated with each vertex, given as a list of color primitives | |
| "VertexData" | list of vertex coordinates |
| Background | Automatic | what background color to use | |
| ImageSize | Automatic | overall size of the graphics to display | |
| Lighting | Automatic | what simulated lighting to use in coloring 3D surfaces |
| "BinaryFormat" | True | whether the file is in ASCII or binary format | |
| "InvertNormals" | False | whether to invert the orientation of vertex normals | |
| "VerticalAxis" | {0,0,1} | orientation to assume for the coordinate system used in the file |
This imports a 3D model of a sea shell:
Import a simple OFF file that contains vertex color data:
Extract the vertex colors:
Import the vertex coordinates:
Read the corresponding polygon data:
Use ParametricPlot3D to create a 3D object:
Export it to the OFF format:
Export a 3D model with transparent surfaces:
An Export example using inline 3D graphics:
|
| © 2013 Wolfram Research, Inc. |