SoVolumeRendersamplingAlignment Property |
Specifies which technique to use to align rayCast samples.
Namespace: OIV.VolumeViz.Nodes
. Default is BOUNDARY_ALIGNED.
VIEW_ALIGNED: Samples are located on planes perpendicular to the view direction.
DATA_ALIGNED: Samples are located on planes perpendicular to one axis of the volume.
BOUNDARY_ALIGNED: Samples are located on shells aligned with the volume's internal "boundary". Each ray begins sampling at the first intersected voxel that has an alpha value > OIV.VolumeViz.Nodes.SoVolumeRender.opacityThreshold. This technique greatly decreases "slicing" artifacts even with a relatively small number of slices. It is strongly recommended to enable this mode when using OIV.VolumeViz.Nodes.SoVolumeRenderingQuality.ambientOcclusion.
SMOOTH_BOUNDARY_ALIGNED: Similar to BOUNDARY_ALIGNED but uses a cubic interpolation to compute the boundary, giving smoother results when using OIV.VolumeViz.Nodes.SoVolumeRenderingQuality.deferredLighting.
NOTE: If an OIV.VolumeViz.Nodes.SoVolumeGroup or OIV.Inventor.Nodes.SoProjection node applies to this node, the field is ignored and VIEW_ALIGNED is used.
Note |
---|
Field available since Open Inventor 9.1 |