XSI_TriangleStripList

Stores a list of triangle strips. Each strip is made up of N vertices. The polynodes in this list can have N number of attibutes like vertex, normals, UV and color information.

Introduced

5.0

Template

XSI_TriangleList <triangle-list-name> { 
   <iNbTriangleStripLists>, 
   "ImplicitNormal",<properties>
   <material>, 
   <iNbPolynodes>, 
   <iNbTriangleStrips>

   // Polynode indices of triangle strips:
   // see the example
}

Members

Member name

Description

iNbTriangleStripLists

Number of triangle strip lists in this template.

properties

A comma-separated list of user normal properties, vertex color properties, and texture projections.

material

The name of the material on the object.

iNbPolynodes

Total number of polygnodes in all triangle strips

iNbTriangleStrips

Number of triangle strips in each list.

Example

XSI_TriangleStripList TriStripList00 {
   4,
   "ImplicitNormal", "User_Normal_Property","Texture_Projection","Vertex_Color",
   "MATLIB.DefaultLib_Scene_Material", 
   8,  // total nb of polynodes in all triangle strips
   2,  // nb of triangle strips

   4,  // nb of polynodes in this triangle strip
   0,0,0,0,0,
   2,1,1,1,1,
   3,2,2,2,2,
   1,3,3,3,3,

   4,  // nb of polynodes in this triangle strip
   0,4,4,4,4,
   1,5,5,5,5,
   5,6,6,6,6,
   4,7,7,7,7,
}


Softimage|Crosswalk v3.11