mesh .smoothinggroup .set  (  MeshObjectID ,  TriangleIndex ,  SmoothingGroup  )  
                                     
Description :

This instruction defines the smoothing group to use for a particular triangle. A smoothing group is used to associate several triangles of a mesh so that they can be uniformly lighted using Gouraud.

Although it keeps its VALID state, any mesh modified with this instruction has to be "generated" once again.

Parameters :

  • ObjectID of the mesh.
  • Index of the triangle. Valid in the range [0, MeshNumberOfTriangles - 1].
  • Index of the smoothing group. Valid in the range [0, 31].

Examples :