XSI_Mesh

Contains the definition of a polygon mesh.

 

This template corresponds to the CSLXSIMesh class.

Introduced

5.0

Template

XSI_Mesh MSH-<name> { 
   // Original shape
   XSI_Shape SHP-<name> {
       XSI_SubComponentAttributeList position {
       }
       XSI_SubComponentAttributeList ImplicitNormal {
       }
       // XSI_SubComponentAttributeList templates for 
       // vertex colors, user normal properties, 
       // weight maps, texture projections
   }

   XSI_VertexList {
   }

   XSI_TriangleList {
   }

   // If geometry not converted to triangles
   XSI_PolygonList {
   }

   // Other templates that may be contained in XSI_Mesh
   XSI_ShapeAnimation {
   }

   SI_GlobalMaterial{
   }

   XSI_CustomPSet{
   }

   XSI_UserDataBlob{
   }

   SI_Model MDL-Texture_Support {
   }

   SI_Cluster {
   }

}

Example

XSI_Mesh MSH-cube { 
   XSI_Shape SHP-cube { 
       "ORDERED", 
       XSI_SubComponentAttributeList position { 
          "POSITION", 
          "FLOAT3", 
          8, 

          -4.000000,-4.000000,-4.000000,
          4.000000,-4.000000,-4.000000,
          -4.000000,4.000000,-4.000000,
          4.000000,4.000000,-4.000000,
          -4.000000,-4.000000,4.000000,
          4.000000,-4.000000,4.000000,
          -4.000000,4.000000,4.000000,
          4.000000,4.000000,4.000000,
       }

       XSI_SubComponentAttributeList ImplicitNormal { 
          "NORMAL", 
          "FLOAT3", 
          24, 

          -0.577350,-0.577350,-0.577350,
          -0.577350,0.577350,-0.577350,
          0.577350,0.577350,-0.577350,
          0.577350,-0.577350,-0.577350,
          -0.577350,-0.577350,-0.577350,
          0.577350,-0.577350,-0.577350,
          0.577350,-0.577350,0.577350,
          -0.577350,-0.577350,0.577350,
          -0.577350,-0.577350,-0.577350,
          -0.577350,-0.577350,0.577350,
          -0.577350,0.577350,0.577350,
          -0.577350,0.577350,-0.577350,
          0.577350,-0.577350,-0.577350,
          0.577350,0.577350,-0.577350,
          0.577350,0.577350,0.577350,
          0.577350,-0.577350,0.577350,
          -0.577350,0.577350,-0.577350,
          -0.577350,0.577350,0.577350,
          0.577350,0.577350,0.577350,
          0.577350,0.577350,-0.577350,
          -0.577350,-0.577350,0.577350,
          0.577350,-0.577350,0.577350,
          0.577350,0.577350,0.577350,
          -0.577350,0.577350,0.577350,
       }

   }

   XSI_VertexList { 
       1, 
       "position",
       8, 

       0,
       1,
       2,
       3,
       4,
       5,
       6,
       7,
   }

   XSI_TriangleList TriList00 { 
       1, 
       "ImplicitNormal",
       "DefaultLib.Scene_Material", 
       12, 

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

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

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

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

       0,8,
       4,9,
       6,10,

       0,8,
       6,10,
       2,11,

       1,12,
       3,13,
       7,14,

       1,12,
       7,14,
       5,15,

       2,16,
       6,17,
       7,18,

       2,16,
       7,18,
       3,19,

       4,20,
       5,21,
       7,22,

       4,20,
       7,22,
       6,23,

   }

}


Autodesk Softimage v7.5