Mesh

The Mesh block contains all of the information relating to a single with the scene

The Mesh block contains all of the information relating to a single with the scene.

The identifier for this block is: 2012

This block contains various sub-blocks which define the properties of the mesh object. These blocks are listed below.

Table 1. Sub-blocks
Name Description
Num. Faces The number of triangles in the mesh (see Num. Faces).
Num. UVW Channels The number of texture coordinate channels in the mesh (see Num. UVW Channels).
Vertex Index List The list of vertex indices for the faces in an indexed mesh (see Vertex Index List).
Strip Length A list, one entry per strip, of the number of triangles within each strip (see Strip Length).
Num. Strips The total number of strips (see Num. Strips).
Vertex List The list of vertices, when data is interleaved this will contain and offset into the Interleaved Data List and a stride for moving from element to element (see Vertex List).
Normal List The list of normals, when data is interleaved this will contain and offset into the Interleaved Data List and a stride for moving from element to element (see Normal List).
Tangent List The list of tangents, when data is interleaved this will contain and offset into the Interleaved Data List and a stride for moving from element to element (see Tangent List).
Binormal List The list of binormals, when data is interleaved this will contain and offset into the Interleaved Data List and a stride for moving from element to element (see Binormal List).
UVW List The list of texture coordinates, when data is interleaved this will contain and offset into the Interleaved Data List and a stride for moving from element to element. This will appear a number of times equal to ‘Num. UVW Channels’ (see UVW List).
Vertex Colour List A list of colours per vertex (see Vertex Colour List).
Bone Index List A list of indices into the Bone Batch Index List detailing which matrices should affect which vertex, with a number of indices per vertex equal to the number of bones (see Bone Index List).
Bone Weights The weight for each bone reference in the Bone Index List (see Bone Weights).
Bone Batch Index List A list of indices into the Node list, each Node representing the transformations associated with a single bone. (Read via ‘Bone Index List) (see Bone Batch Index List).
Num. Bone Indices per Batch A number of integers equal to Num. Bone Batches that state how many bones exist within each batch (see Num. Bone Indices per Batch).
Bone Offset per Batch A number of integers equal to Num. Bone Batches’ that state the offset into the Vertex Index List’ for each sub-mesh that uses the given bone batch (see Bone Offset per Batch).
Max. Num. Bones per Batch The maximum number bones any given bone batch can contain (see Max. Num. Bones per Batch).
Num. Bone Batches The total number of bone batches used in the mesh (see Num. Bone Batches).
Unpack Matrix A matrix used for unpacking scaled vertex data (see Unpack Matrix).
Interleaved Data List The list of all vertex data interleaved, read using the offsets and strides mentioned above (see Interleaved Data List).
Num. Vertices The number of vertices in the mesh (see Num. Vertices).