Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
TransferFunction node and Shaders

VolumeViz 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/multiTransferFunctions/multiTransferFunctions.cxx
    • VolumeViz/multiTransferFunctions/interface.iv
    • VolumeViz/multiTransferFunctions/scene.iv
    • VolumeViz/multiTransferFunctions/fragmentShader.glsl

SEE ALSO

SoTransferFunction SoShaderProgram

SCREENSHOT: