XSI_PolygonList

Specifies the vertex indices of polygons for normals ("ImplicitNormal"), user normal properties ("User_Normal_Property" and "XSI_UserNormals"), vertex colors, and texture projections.

| As of Crosswalk v2.5 you can also specify how to sort the polygons when importing clusters with the XSI_IndexList template.

| This template corresponds to the CSLXSIPolygonList class.

Introduced

5.0

Template

    XSI_PolygonList <polygon-list-name> {
       <iNbPolygonLists>,
       "ImplicitNormal",<properties>
       <material>,
       <iNbPolygonVertices>
       <iNbPolygons>,

       // Vertex indices of polygons: see the examples

       XSI_IndexList {
           ...
       }
    }

Members

Member name | Description
iNbPolygonLists | Number of polygon lists in this template. For example, the template can list the polygons for user normal properties and for texture projections.
properties | A comma-separated list of user normal properties, vertex color properties, and texture projections.
iNbPolygonVertices | Total number of polygon vertices. Polygon vertices are not shared so, for example, a cube that consists of 6 polygons has 24 vertices.
iNbPolygons | Number of polygons.

Examples

Also see the example under XSI_IndexList for an example of how to declare the order of polygons for three polygon clusters.

Example: Including properties

    XSI_PolygonList PolyList00 {
       4,
       "ImplicitNormal","User_Normal_Property","Texture_Projection","Vertex_Color",
       "DefaultLib.Scene_Material",
       24,
       6,

       4,
       0,0,0,0,0,
       2,1,1,1,1,
       3,2,2,2,2,
       1,3,3,3,3,

       4,
       0,4,4,4,4,
       1,5,5,5,5,
       5,6,6,6,6,
       4,7,7,7,7,

       4,
       0,8,8,8,8,
       4,9,9,9,9,
       6,10,10,10,10,
       2,11,11,11,11,

       4,
       1,12,12,12,12,
       3,13,13,13,13,
       7,14,14,14,14,
       5,15,15,15,15,

       4,
       2,16,16,16,16,
       6,17,17,17,17,
       7,18,18,18,18,
       3,19,19,19,19,

       4,
       4,20,20,20,20,
       5,21,21,21,21,
       7,22,22,22,22,
       6,23,23,23,23,

    }

Autodesk Softimage v7.5