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.

| This template corresponds to the CSLTriangleStrip class.

Limitations

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

Introduced

2.0

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.

Autodesk Softimage v7.5