Click or drag to resize
SoLightModelModels Enumeration

Lighting model.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public enum Models
Members
  Member nameValueDescription
BASE_COLOR0

Use only the base color of an object.

Effectively lighting is turned off and light nodes are not considered. This mode is adapted to render annotation, for data visualization, for 2D scenes, and other special cases.

PHONG1 Obsolete.

Use Phong lighting model.

Caution note Caution

Obsolete since Open Inventor 10000. PHONG is replaced by PER_VERTEX_PHONG to avoid ambiguities with PER_PIXEL_PHONG

PER_VERTEX_PHONG2

Use the Vertex-based Phong lighting model (default).

Lighting is computed at each vertex of the shape and the color of each pixel (fragment) is determined by interpolating between these values. This model produces less realistic results than pixel-based lighting, especially for Point and Spot lights.

PER_PIXEL_PHONG3

Use the Pixel-based Phong lighting model.

A lighting computation is done for each pixel (fragment) affected by the shape.

PHYSICALLY_BASED4

Use the physically based lighting model.

Remarks