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.

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

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.

Texture Coord Index

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

Sets the texture coordinate indices.

The textures are applied as described for IndexedShapes.