Click or drag to resize
SoVolumeRenderlighting Property

Note: This API is now obsolete.

Indicates if lighting is required.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
[ObsoleteAttribute("See documentation for more details")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public SoSFBool lighting { get; }

Property Value

Type: SoSFBool
Remarks

Default is false. NOTE: Better performance for lighting can be obtained using the SoVolumeRenderingQuality node. Using SoVolumeRenderingQuality, lighting is determined by the first light in the scene graph (similar to other geometry) and the lighting computation is done on the GPU (therefore SoVolumeRenderingQuality requires programmable shaders).

Using the lighting field, lighting is determined by the lightDirection field and the lighting computation is done on the CPU. This requires RGBA textures to be loaded on the GPU which uses more texture memory and requires more time to modify the transfer function (color map) because textures must be reloaded. Note that activating or deactivating lighting will also normally force the textures to be recreated, which may be slow.

NOTE: Only set the lighting field to true in SoVolumeRenderingQuality or SoVolumeRender. Do not set both lighting fields to true.Obsoletesince Open Inventor 8500 Use SoVolumeRenderingQuality.lighting field instead.

See Also