Demonstrates how to compose multichannel dataset with VolumeViz, and adding support for the image enhancment features of the
SoVolumeRenderingQuality node.
DESCRIPTION
Continuing our implementation of multichannel rendering in VolumeViz, this example (see MultiChannel_ex1) adds support for the image enhancement features of the SoVolumeRenderingQuality node. (With the exception of lighting and pre-integrated rendering.) This includes support for jittering, high quality gradient computation, boundary opacity, edge coloring and 2D edge detection. This version has a tiny bit of user interface, allowing a few of the main features to be enabled and disabled by pressing the appropriate keys (with the viewer in selection mode).
FILES:
-
VolumeViz/multiChannel/Multichannel_ex2.cxx
SEE ALSO
SoVolumeData, SoMultiDataSeparator, SoVolumeRender, SoVolumeShader, SoDataRange, SoTransferFunction, SoVolumeRenderingQuality
SCREENSHOT:
A 3 channels data set derived from the classic SYN_64.vol. The channels are colored red, green and blue. Other colors result where the channels overlap. Jittering
| Boundary Opacity
|
Edge Coloring
| 2D Edge detection
|