Click or drag to resize
SoLightModelModels Enumeration

Lighting model.

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

Use only the base (diffuse) object color.

Effectively lighting is turned off and light nodes are not considered.

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 Vertex-based Phong lighting model.

A lighting computation is done 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 Pixel-based Phong lighting model (default).

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

Remarks