Click or drag to resize
SoVolumeRenderingPhysicalQualityenableDepthOfField Property

Enables a 'Depth of Field' effect on the volume.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public SoSFBool enableDepthOfField { get; }

Property Value

Type: SoSFBool
Remarks

This effect blurs everything outside of the depth of field area, but keeps everything inside sharp. This effect is particularly useful to highlight a specific zone of a volume.

The focal point is controlled by the field OIV.Inventor.Nodes.SoCamera.focalDistance of the current camera. Only VolumeRender nodes are affected by the blurring. The amount of blurring applied is controlled by the OIV.VolumeViz.Nodes.SoVolumeRenderingPhysicalQuality.blurFactor field. Default is true.

See Also