SoLightModel

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

Purpose

his node defines the lighting model to be used when rendering subsequent shapes.

The lighting model is specified in the model field. When the default model (Phong lighting) is used, light sources are required in a scene for objects to be easily visible.

Windows

Default Panel

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

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Model

name: model, type: Enum, default: PHONG

Lighting model to use.

Values:

Title Name Description
Base Color BASE_COLOR Use only the base (diffuse) object color.
Phong PHONG Use Phong lighting model.