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: 2024.2.0.0 (2024.2.0)
Syntax
public SoSFEnum<SoVolumeRenderSamplingAlignments> samplingAlignment { get; }

Property Value

Type: SoSFEnumSoVolumeRenderSamplingAlignments
Remarks

. 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 Note

Field available since Open Inventor 9.1

See Also