3D Metafile Reference


! PROTOTYPE PROTOTYPE !


The 3D Metafile is a file format for 3D graphics applications that make use of the QuickDraw 3D graphics library or other object-based 3D graphics libraries. This document describes the 3D Metafile file format.

This standard is put forward to promote compatibility among 3D graphics applications and is meant to facilitate the transfer and exchange of data between distinct applications. The file format also permits a project to be saved to a file in such a way that it may be resumed or altered at a later time.

Table of Contents

Figures, Tables, and Listings

Chapter 1 3D Metafile Reference

Introduction
Metafile File Structure
Basic Data Types
Unsigned Integer Data Types
Signed Integer Data Types
Floating-Point Integer Data Types
Basic 3D Data Types
Two-Dimensional Points
Three-Dimensional Points
Three-Dimensional Rational Points
Four-Dimensional Rational Points
Color Data Types
Two-Dimensional Vectors
Three-Dimensional Vectors
Parameterizations
Tangents
Matrices
Abstract Data Types
Object Type
Size
Bitfields and Enumerated Types
Strings
Raw Data
File Pointers
Additional Type Definitions
Boolean Enumerated Types
Variable-Sized Integer Types
Metafile Object Specifications
Special Metafile Objects
3D Metafile Header
Tables of Contents
Reference Objects
UNIX Path
Macintosh Path
Types
Containers
String Objects
C Strings
Unicode Objects
Geometric Objects
Points
Lines
Polylines
Triangles
Simple Polygons
General Polygons
General Polygon Hints
Boxes
Trigrids
Meshes
Mesh Corners
Mesh Edges
Ellipses
NURB Curves
2D NURB Curves
Trim Loops
NURB Patches
Ellipsoids
Caps
Cylinders
Disks
Cones
Tori
Markers
Attributes
Diffuse Color
Specular Color
Specular Control
Transparency Color
Surface UV
Shading UV
Surface Tangents
Normals
Ambient Coefficients
Highlight State
Attribute Sets
Attribute Sets
Top Cap Attribute Sets
Bottom Cap Attribute Sets
Face Cap Attribute Sets
Attribute Set Lists
Geometry Attribute Set Lists
Face Attribute Set Lists
Vertex Attribute Set Lists
Styles
Backfacing Styles
Interpolation Styles
Fill Styles
Highlight Styles
Subdivision Styles
Orientation Styles
Receive Shadows Styles
Pick ID Styles
Pick Parts Styles
Transforms
Translate Transforms
Scale Transforms
Matrix Transforms
Rotate Transforms
Rotate-About-Point Transforms
Rotate-About-Axis Transforms
Quaternion Transforms
Shader Transforms
Shader UV Transforms
Lights
Attenuation and Fall-Off Values
Light Data
Ambient Light
Directional Lights
Point Lights
Spot Lights
Cameras
Camera Placement
Camera Range
Camera Viewport
Orthographic Cameras
View Plane Cameras
View Angle Aspect Cameras
Groups
Display Groups
Ordered Display Groups
Light Groups
I/O Proxy Display Groups
Info Groups
Groups (Generic)
Begin Group Objects
End Group Objects
Display Group States
Renderers
Wireframe Renderers
Interactive Renderers
Generic Renderers
Shaders
Shader Data Objects
Texture Shaders
Pixmap Texture Objects
View Objects
View Hints
Image Masks
Image Dimensions Objects
Image Clear Color Objects
Unknown Objects
Unknown Text
Unknown Binary

3D Metafile Reference
© Apple Computer, Inc.