|Support Forum Library Source SourceForge Page G3D Web Page|
|TRI_LOCAL chunk (transformed to G3D coordinates). |
|Array< FaceMat >||faceMatArray|
|Mapping of face indices to materials. |
|From KFNAME. |
|Array< int >||indexArray|
|Triangle list indices (loaded from the TRIFACE chunk) |
|The center of the local reference frame. |
|Part of the EDITOBJECT chunk. |
|Array< Point2 >||texCoordArray|
|Array< Point3 >||vertexArray|
|Loaded from the TRIVERTEX chunk (transformed to G3D coordinates). |
TRI_LOCAL chunk (transformed to G3D coordinates).
In the file, this has already been applied to the vertices.
The object hierarchy is a bit complex but works like this. Each Object in the scene is given a number to identify its order in the tree. Also each object is orddered in the 3ds file as it would appear in the tree. The root object is given the number -1 ( FFFF ). As the file is read a counter of the object number is kept. Is the counter increments the objects are children of the previous objects. But when the pattern is broken by a number what will be less than the current counter the hierarchy returns to that level.
The center of the local reference frame.
Part of the EDITOBJECT chunk.