Click or drag to resize
SoVolumeRendersamplingAlignment Property

Specifies which technique to use to align rayCast samples.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public SoSFEnum<SoVolumeRenderSamplingAlignments> samplingAlignment { get; }

Property Value

Type: SoSFEnumSoVolumeRenderSamplingAlignments
Remarks

. Default is VIEW_ALIGNED.

VIEW_ALIGNED: Samples are located on planes perpendicular to the view direction. This generates the same result as the sliced view aligned (non-raycasting) rendering mode.

DATA_ALIGNED: Samples are located on planes perpendicular to one axis of the volume. This generates the same result as the sliced data aligned (non-raycasting) rendering mode.

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 > opacityThreshold. This technique greatly decreases "slicing" artifacts even with a relatively small number of slices. Only available in raycasting mode. It is strongly recommended to enable this mode when using SoVolumeRenderingQuality.ambientOcclusion.

SMOOTH_BOUNDARY_ALIGNED: Similar to BOUNDARY_ALIGNED but uses a cubic interpolation to compute the boundary, giving smoother results when using SoVolumeRenderingQuality.deferredLighting.

NOTE: If an SoVolumeGroup or SoProjection node applies to this node, the field is ignored and VIEW_ALIGNED is used.

NOTE: field available since Open Inventor 9.1

See Also