Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
MultiData GPU data compose

VolumeViz Demonstrates how to combine multiple volumes using the GPU.

Volume 1 is a medical image (3D head), volume 2 is computed, containing just zeros and ones, to make a "mask" volume. The data values of the data volumes are multiplied together, causing some portions of volume 1 to become completely transparent. Defining LIGHTING_AND_PREINTEGRATION in file GPUDataCompose.cxx will apply lighting and pre-integration.

FILES:

    • VolumeViz/multiData/GPUDataCompose/GPUDataCompose.cxx
    • VolumeViz/multiData/GPUDataCompose/volume_frag.glsl
    • VolumeViz/multiData/GPUDataCompose/combine_frag.glsl

SEE ALSO

SoVolumeData SoVolumeRenderingQuality SoMultiDataSeparator SoVolumeShader

SCREENSHOT: