SoSlicealphaUse Property |
Specifies how to use the alpha component of each voxel's RGBA value.
Namespace: OIV.VolumeViz.Nodes
. Default is ALPHA_BINARY. The alpha component will typically come from the transfer function, but (since Open Inventor 8.5) could come from direct rendering of an RGBA volume. The alpha values used for rendering the slice will vary depending on the value of this field.
The following table shows how the alpha value is computed according to this field and the incoming voxel alpha values:
<TABLE border=1 cellspacing=0 cellpadding=5> <TR><TD valign=_top> When alphaUse field is: <TD valign=_top> ALPHA_BINARY <TD valign=_top> ALPHA_OPAQUE <TD valign=_top> ALPHA_AS_IS <TR><TD valign=_top> <B> Incoming Alpha value</B> <TD valign=_top> <B> Alpha Value Actually Used</B> <TR><TD valign=_top> = 0 <TD valign=_top> 0 (Invisible) <TD valign=_top> 1 (Opaque) <TD valign=_top> 0 (Invisible) <TR><TD valign=_top> > 0 <TD valign=_top> 1 (Opaque) <TD valign=_top> 1 (Opaque) <TD valign=_top> same as incoming </TABLE>
Note that this field only affects alpha values coming from the transfer function or RGBA volume. Global transparency assigned by an SoMaterial node is not affected.