Click or drag to resize
SoVolumeRenderSamplingAlignments Enumeration

Sampling alignment.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public enum SamplingAlignments
Members
  Member nameValueDescription
VIEW_ALIGNED0

Samples are located on planes perpendicular to the view direction.

DATA_ALIGNED1

Samples are located on planes perpendicular to one axis of the volume.

BOUNDARY_ALIGNED2

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.

SMOOTH_BOUNDARY_ALIGNED3

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

When using linear interpolation and deferred lighting, BOUNDARY_ALIGNED can generate "flat shading" due to linear interpolation between voxels. SMOOTH_BOUNDARY_ALIGNED will generate a smooth shading using a cubic interpolation to find the volume's boundary and use a linear interpolation for the rest of volume. This is a good compromise between result and performances of a full tricubic interpolation. Please refer to OIV.VolumeViz.Nodes.SoVolumeRenderingQuality.deferredLighting and OIV.VolumeViz.Nodes.SoVolumeShape.interpolation for details. LIMITATIONS SMOOTH_BOUNDARY_ALIGNED is not supported in the following case:

Remarks

Used with the OIV.VolumeViz.Nodes.SoVolumeRender.samplingAlignment field.

Note Note

Enum available since Open Inventor 9.1

See Also