Click or drag to resize
SoVolumeRendernumSlicesControl Property

Controls how the number of samples along each ray is determined.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public SoSFEnum<SoVolumeRenderNumSlicesControls> numSlicesControl { get; }

Property Value

Type: SoSFEnumSoVolumeRenderNumSlicesControls
Remarks

. Default is AUTOMATIC. Generally increasing the number of samples will increase the image quality, but decrease the performance (frames per second).

We recommend to set the OIV.VolumeViz.Nodes.SoVolumeRender.numSlicesControl field to AUTOMATIC and the OIV.VolumeViz.Nodes.SoVolumeRender.numSlices field to 0. The number of samples will be computed based on the dimensions of the volume (number of voxels on each axis), the OIV.Inventor.Nodes.SoComplexity.value setting and the viewing direction. If the viewing direction changes, the number of samples will be automatically adjusted.

See Also