SI_MeshFace

Specifies the vertices that define a polygon. The main purpose of this template is to allow the association of polygon vertex data in an easily readable way.

The SI_MeshNormals, SI_MeshTextureCoords, and SI_MeshVertexColors templates contain arrays of SI_MeshFace templates.

Softimage Versions

v1.3/v2.0/v3.0. Made obsolet in v3.5, this template is replaced by SI_Shape, which is nested in the SI_Mesh template.

Members

Member name

Type

Array size

Description

polygonIndex

int

 

Index of the polygon.

nFaceVertexIndices

int

 

Number of vertices for this polygon.

faceVertexIndices

array int

nFaceVertexIndices

Polygon vertex indices.

Example

See the example for SI_MeshTextureCoords.

In a dotXSI file output by .XSI Export, you will not see a data object like:

SI_MeshFace myMeshFace
{
   0;  // polygon index
   4;  // number of vertices
   0;  // index for vertex 0
   1;  // index for vertex 1
   2;  // index for vertex 2
   3;  // index for vertex 3
}

Instead, you will see something like this in a SI_MeshNormals, SI_MeshTextureCoords, or SI_MeshVertexColors template:

0;4;0,1,2,3;,
1;4;4,5,6,7;,
2;4;8,9,10,11;,
3;4;12,13,14,15;,
4;4;16,17,18,19;,
5;4;20,21,22,23;;


Autodesk Crosswalk v4.0