Click or drag to resize
SoVolumeRenderrenderMode Property

Specifies the composition mode.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 10.3.0.0 (10.3.0.0)
Syntax
public SoSFEnum<SoVolumeRenderRenderModes> renderMode { get; }

Property Value

Type: SoSFEnumSoVolumeRenderRenderModes
Remarks

Composition controls how the voxels along each sampling ray are combined to form the final image. . Default is VOLUME_RENDERING (alpha blending).

VOLUME_RENDERING blends the R, G, and B components for each data value along the sampling ray based on the alpha value (alpha blending).

MIN_INTENSITY_PROJECTION draws only the color associated with the minimum data intensity along the sampling ray.

MAX_INTENSITY_PROJECTION draws only the color associated with the maximum data intensity along the sampling ray.

SUM_INTENSITY_PROJECTION draws only the color associated with the sum of all data values along the sampling ray. The values seen in shader functions, e.g. VVizComputeFragmentColor are still in the range 0..1, but the range of values that represents is quite different from the voxel data range.

AVERAGE_INTENSITY_PROJECTION draws only the color associated with the average of all data values along the sampling ray. If there are many low, e.g. 0, valued voxels, the average may be very small. You may be able to use OIV.LDM.Nodes.SoROI (Region of Interest) to remove some of these voxels.

Note: When using a renderMode other than VOLUME_RENDERING (alpha blending):

  • Only raycasting mode is supported

  • No depth information is retained.

  • OIV.VolumeViz.Nodes.SoVolumeRenderingQuality.m_preIntegrated cannot be enabled

    NOTE: field available since Open Inventor 9.1

See Also