XSI_IndexList

Describes how to order the polygons and load in the polygon clusters for a polygon mesh.

This template is optionally contained in an XSI_PolygonList template and details how many polygons are specified in the polygon list, followed by their respective indices.

| This template must be present in every polygon list within the mesh that contains polygon clusters: one XSI_IndexList template for each XSI_PolygonList template specified. Otherwise, the polygon clusters cannot be matched properly and they will not be loaded on import.

| This template corresponds to the CSLXSIIndexList class.

Limitations

Subdivision and triangulation are not supported. For example, if you export polygons as subdivided or triangulated, polygon clusters are not exported.

For Collada, this template is only supported on export.

Introduced

6.0 (Crosswalk v2.5)

Template

    XSI_IndexList {
       <iNbPolygonClusters>,

       // Indices of polygon clusters: see the examples
    }

Members

Member name | Description
iNbPolygonClusters | Total number of polygon clusters

Example

    XSI_Mesh MSH-grid {
       ...

       XSI_PolygonList PolyList01 {
           0,

           "Material",
           4,
           1,

           4,
           3,
           4,
           7,
           6,

           XSI_IndexList {
              1,

              2,
           }

       }

       XSI_PolygonList PolyList02 {
           0,

           "Material",
           8,
           2,

           4,
           0,
           1,
           4,
           3,

           4,
           1,
           2,
           5,
           4,

           XSI_IndexList {
              2,

              0,
              1,
           }

       }

       XSI_PolygonList PolyList03 {
           0,

           "Material",
           4,
           1,

           4,
           4,
           5,
           8,
           7,

           XSI_IndexList {
              1,

              3,
           }

       }
    }

    ...

    SI_Cluster Polygon {
       "grid",
       "AVERAGE",
       "",
       1,
       2,
       XSI_ClusterInfo {
           "POLYGON",
       }

    }

    SI_Cluster Polygon1 {
       "grid",
       "AVERAGE",
       "",
       2,
       1,
       0,
       XSI_ClusterInfo {
           "POLYGON",
       }

    }

    SI_Cluster Polygon2 {
       "grid",
       "AVERAGE",
       "",
       1,
       3,
       XSI_ClusterInfo {
           "POLYGON",
       }

    }

Autodesk Softimage v7.5