Click or drag to resize
SoVolumeShapecomposition Property

Note: This API is now obsolete.

Specifies color composition mode.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.2.1.0 (10.16.1.0)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Obsolete since Open Inventor 9.1.0.0. See SoVolumeRender::renderMode field.")]
public SoSFEnum<SoVolumeShapeCompositions> composition { get; }

Property Value

Type: SoSFEnumSoVolumeShapeCompositions
Remarks

. Default is ALPHA_BLENDING.

ALPHA_BLENDING blends the R, G, and B components for each pixel based on the their alpha values.

SUM_INTENSITY draws the sum of the R, G, and B components for each pixel.

MAX_INTENSITY draws the maximum R, G, and B components for each pixel.

MIN_INTENSITY draws the minimum R, G, and B components for each pixel.

Note: In all modes, blending is done against the background color of the scene (or the object behind the volume). This means that, using MIN_INTENSITY for example, if the background color is black then 0,0,0 is already the minimum RGB value and the volume will not be visible. Generally when using MIN_INTENSITY the background color should be set to white (1,1,1) and when using MAX_INTENSITY or SUM_INTENSITY the background color should be set to black (0,0,0). To set the background color see the setBackgroundColor method of the appropriate RenderArea class, for example OIV.Inventor.Win.SoWinRenderArea on Windows.

Field available since Open Inventor 5.0.3

Caution note Caution

Obsolete since Open Inventor 9100. See OIV.VolumeViz.Nodes.SoVolumeRender.renderMode field.

See Also