SoVolumeRendernumSlicesControl Property |
Controls how the number of samples along each ray is determined.
Namespace: OIV.VolumeViz.Nodes
. 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.