SoLightModel

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

Purpose

The node SoLightModel 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 applied, light sources are required in a scene for objects to be clearly 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

Defines the 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.