Your Ad Here

SI_TriStrip

Specifies the positions, normals, colors, and uv coordinates for the vertices in a triangle strip by indexing into the SI_Shape template that defines the mesh.

SI_TriStrip templates are nested in an SI_TriStripList template.

Limitations

This template is not supported in SOFTIMAGE|XSI by default. However, as of XSI v3.5 you can use the Triangle Strips Polygon Type option to populate this template with the dotXSI Export tool.

 

XSI Versions

v2.0/v3.0/v3.5/3.6

Template

SI_TriStrip

{
  <nbVertices>,
  // position indices 
  <v0>, <v1>, <v2>,
  <v3>,
  ...

  // normal indices 
  <n0>, <n1>, <n2>,
  <n3>,
  ...

  // color indices 
  <c0>, <c1>, <c2>,
  <c3>,
  ...

  // uv coordinate indices 
  <uv0>, <uv1>, <uv2>,
  <uv3>,
  ...
}

Members

Member

Type

Description

nbVertices

int

Number of vertices in the triangle strip.

pi

int

Index of a vertex position in the POSITIONS section of the SI_Shape template for the mesh.

ni

int

Index of a normal in the NORMAL section of the SI_Shape template for the mesh.

ci

int

Index of a color in the COLOR section of the SI_Shape template for the mesh.

uvi

int

Index of a UV coordinate in the TEX_COORD_UV section of the SI_Shape template for the mesh.

Example

See the examples for SI_TriStripList.



SOFTIMAGE|XSI v6.0     

Return to Softimage XSI Index


Your Ad Here