SoIndexedFaceSet¶
-
InventorModule
¶ genre InventorNodesAutomatic
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def
Purpose¶
The node SoIndexedFaceSet
represents a 3D shape formed by constructing faces (polygons) from vertices located at the coordinates specified by SoVertexProperty
or the current inherited state. For optimal performance, using the vertexProperty
field is recommended.
SoIndexedFaceSet
uses the indices in the Coord Index
field to specify the polygonal faces. An index of SO_END_FACE_INDEX
(-1) indicates the end of the current face and the beginning of the next one. For improved performance, arrange all faces with only three vertices at the beginning of the list, followed by all faces with four vertices, and finally all other faces.
Input Fields¶
vertexProperty¶
-
name:
vertexProperty
, type:
SoNode
¶ The coordinates are specified in
SoVertexProperty
or the current inherited state.
Parameter Fields¶
Visible Fields¶
Coord Index¶
-
name:
coordIndex
, type:
IntegerList
, default:
0
¶ Sets the indices that specify the polygonal faces.
An index of
SO_END_FACE_INDEX
(-1) indicates the end of the current face and the beginning of the next one. For improved performance, arrange all faces with only three vertices at the beginning of the list, followed by all faces with four vertices, and finally all other faces.
Material Index¶
-
name:
materialIndex
, type:
IntegerList
, default:
-1
¶ Sets the material indices.
The treatment of the current material binding is as follows: The PER_PART and PER_FACE bindings specify a material for each face, while PER_VERTEX specifies a material for each vertex. The corresponding _INDEXED bindings function similarly but utilize the materialIndex indices (see
SoIndexedShape
). The default material binding is OVERALL.
Normal Index¶
-
name:
normalIndex
, type:
IntegerList
, default:
-1
¶ Sets the normal indices.
The treatment of the current material binding is as follows: The PER_PART and PER_FACE bindings specify a normal for each face, while PER_VERTEX specifies a normal for each vertex. The corresponding _INDEXED bindings function similarly but utilize the normalIndex indices (see
SoIndexedShape
). The default normal binding is PER_VERTEX_INDEXED.