SI_Mesh

Stores a mesh definition.

 

This template corresponds to the CSLMesh class.

Introduced

2.0

Template

SI_Mesh MSH-<objectName>
{
   SI_Shape SHP-<objectName>-ORG
   {
       ...
   }

   SI_TriangleList
   {
       ...
   }

   SI_TriStripList
   {
       ...
   }

   // Output if no tesselation 
   SI_PolygonList
   {
       ...
   }

   SI_ShapeAnimation
   {
       ...
   }

}

Examples (Softimage Output v3.5)

This example is for v.3.5 only:

SI_Mesh MSH-cube { 

       SI_Shape SHP-cube-ORG { 
          3, 
          "ORDERED", 

          8, 
          "POSITION", 
          -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,

          36, 
          "NORMAL", 
          0.000000,0.000000,-1.000000,
          0.000000,0.000000,-1.000000,
          0.000000,0.000000,-1.000000,
          0.000000,0.000000,-1.000000,
          0.000000,0.000000,-1.000000,
          0.000000,0.000000,-1.000000,
          0.000000,-1.000000,0.000000,
          0.000000,-1.000000,0.000000,
          0.000000,-1.000000,0.000000,
          0.000000,-1.000000,0.000000,
          0.000000,-1.000000,0.000000,
          0.000000,-1.000000,0.000000,
          -1.000000,0.000000,0.000000,
          -1.000000,0.000000,0.000000,
          -1.000000,0.000000,0.000000,
          -1.000000,0.000000,0.000000,
          -1.000000,0.000000,0.000000,
          -1.000000,0.000000,0.000000,
          1.000000,0.000000,0.000000,
          1.000000,0.000000,0.000000,
          1.000000,0.000000,0.000000,
          1.000000,0.000000,0.000000,
          1.000000,0.000000,0.000000,
          1.000000,0.000000,0.000000,
          0.000000,1.000000,0.000000,
          0.000000,1.000000,0.000000,
          0.000000,1.000000,0.000000,
          0.000000,1.000000,0.000000,
          0.000000,1.000000,0.000000,
          0.000000,1.000000,0.000000,
          0.000000,0.000000,1.000000,
          0.000000,0.000000,1.000000,
          0.000000,0.000000,1.000000,
          0.000000,0.000000,1.000000,
          0.000000,0.000000,1.000000,
          0.000000,0.000000,1.000000,

          36, 
          "TEX_COORD_UV", 
          "Texture_Projection", 
          0.000000,1.000000,
          0.000000,1.000000,
          1.000000,1.000000,
          0.000000,1.000000,
          1.000000,1.000000,
          1.000000,1.000000,
          0.000000,1.000000,
          1.000000,1.000000,
          1.000000,0.000000,
          0.000000,1.000000,
          1.000000,0.000000,
          0.000000,0.000000,
          0.000000,1.000000,
          0.000000,0.000000,
          0.000000,0.000000,
          0.000000,1.000000,
          0.000000,0.000000,
          0.000000,1.000000,
          1.000000,1.000000,
          1.000000,1.000000,
          1.000000,0.000000,
          1.000000,1.000000,
          1.000000,0.000000,
          1.000000,0.000000,
          0.000000,1.000000,
          0.000000,0.000000,
          1.000000,0.000000,
          0.000000,1.000000,
          1.000000,0.000000,
          1.000000,1.000000,
          0.000000,0.000000,
          1.000000,0.000000,
          1.000000,0.000000,
          0.000000,0.000000,
          1.000000,0.000000,
          0.000000,0.000000,

       }

       SI_TriangleList cube { 
          12, 
          "NORMAL|TEX_COORD_UV0", 
          "cube", 

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

          0,1,2,
          3,4,5,
          6,7,8,
          9,10,11,
          12,13,14,
          15,16,17,
          18,19,20,
          21,22,23,
          24,25,26,
          27,28,29,
          30,31,32,
          33,34,35,

          0,1,2,
          3,4,5,
          6,7,8,
          9,10,11,
          12,13,14,
          15,16,17,
          18,19,20,
          21,22,23,
          24,25,26,
          27,28,29,
          30,31,32,
          33,34,35,

       }

   }

}


Autodesk Softimage v7.5