Click or drag to resize
SoVolumeRenderingQualityambientOcclusion Property

If true, apply an ambient occlusion effect (default is false).

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public SoSFBool ambientOcclusion { get; }

Property Value

Type: SoSFBool
Remarks

Ambient occlusion is an shading effect that approximates attenuation of light due to neighboring voxels. It works best when the volume data contains surfaces (region boundaries with relatively sharp gradients), or in voxelized rendering mode, and those voxels are opaque.

If you use ambientOcclusion, you should set the OIV.VolumeViz.Nodes.SoVolumeRender.samplingAlignment field to BOUNDARY_ALIGNED to reduce "slicing" artifacts.

Notes:

See Also