Demonstrate how to use multiple transferFunctions on single data.
ComboBox allow to choose transferFunction to use. In pick mode, draw lasso around a subVolume. The current transferFunction will be apply to this subVolume. Sliders allow to change minValue and maxValue of the current transferFunction.
FILES:
-
VolumeViz/examples/multiTransferFunctions/multiTransferFunctions.cxx
-
VolumeViz/examples/multiTransferFunctions/interface.iv
-
VolumeViz/examples/multiTransferFunctions/scene.iv
-
VolumeViz/examples/multiTransferFunctions/fragmentShader.glsl
SEE ALSO
SoTransferFunction, SoShaderProgram
SCREENSHOT: