SoIndexedFaceSet

InventorModule
genre InventorNodesAutomatic
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def

Purpose

This node 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, 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 that the current face has ended and the next one begins. For improved performance, arrange all the faces with only 3 vertices at beginning of the list, then all faces with 4 vertices, and finally all other faces.

Windows

Default Panel

../../../Modules/Inventor/InventorBase/mhelp/Images/Screenshots/SoIndexedFaceSet._default.png

Input Fields

vertexProperty

name: vertexProperty, type: SoNode

The coordinates are specified in SoVertexProperty or the current inherited state.

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Coord Index

name: coordIndex, type: IntegerList, default: 0

Indices in the Coord Index field to specify the polygonal faces. An index of SO_END_FACE_INDEX (-1) indicates that the current face has ended and the next one begins. For improved performance, arrange all the faces with only 3 vertices at beginning of the list, then all faces with 4 vertices, and finally all other faces.

Material Index

name: materialIndex, type: IntegerList, default: -1

Treatment of the current material binding is as follows: The PER_PART and PER_FACE bindings specify a material for each face. PER_VERTEX specifies a material for each vertex. The corresponding _INDEXED bindings are the same, but use the materialIndex indices (see SoIndexedShape). The default material binding is OVERALL. The default material binding is PER_VERTEX_INDEXED.

Normal Index

name: normalIndex, type: IntegerList, default: -1

Treatment of the current normal binding is as follows: The PER_PART and PER_FACE bindings specify a normal for each face. PER_VERTEX specifies a normal for each vertex. The corresponding _INDEXED bindings are the same, but use the materialIndex indices (see SoIndexedShape). The default normal binding is OVERALL. The default normal binding is PER_VERTEX_INDEXED.

Texture Coord Index

name: textureCoordIndex, type: IntegerList, default: -1

Textures are applied as described for IndexedShapes.