SoVolumeRendernumSlicesControl Property |
Controls how the number of samples along each ray is determined.
Namespace: OIV.VolumeViz.Nodes
. Default is ALL. Generally increasing the number of samples will increase the image quality, but decrease the performance (frames per second).
Since Open Inventor 9.2, we recommend to set the numSlicesControl field to AUTOMATIC and the 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 SoComplexity.value setting and the viewing direction. If the viewing direction changes, the number of samples will be automatically adjusted.
Note if raycasting is not used, then this field is the number of "slices", meaning the number of texture mapped polygons that will be drawn to render the volume. Generally the implications of smaller or larger values on image quality and performance are the same.