Click or drag to resize
SoDirectVizManagernumEnvLights Property

Enables/disables environment lighting by specifying the number of lights.

Namespace: OIV.DirectViz
Assembly: OIV.DirectViz (in OIV.DirectViz.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
public SoSFEnum<SoDirectVizManagerEnvLights> numEnvLights { get; }

Property Value

Type: SoSFEnumSoDirectVizManagerEnvLights
Remarks

When an Environment shader is specified, DirectViz allows extracting fake lights from the environment texture. Thus, the lighting is performed with additional lights coming directly from the environment. When combined with accumulation, the fake lights are taken at different environment texture positions at each accumulation step. Thus, lights from the entire environment can be used for illumination, giving a fast and accurate approximation of ambient occlusion. Default is 0.

The initial value can be set using the environment variable DIRECTVIZ_NUM_ENV_LIGHTS. See SoPreferences. Since Open Inventor 8.0

See Also