Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
Volume Shader

VolumeViz Demonstrate how to create and use a simple volume shader (extends the simpleVolume example program)

DESCRIPTION:

    The fragment shader program supplied with this example is not exactly the same as the default VolumeViz shader, but it is funtionally equivalent. Note that, by default, the shader source lines are supplied as string data compiled into the application program. By defining the macro USE_SHADER_FILE you can force the program to load the shader from a source file on disk.

FILES:

    • VolumeViz/simpleShader/simpleShader.cxx

SEE ALSO

SoFragmentShader SoVolumeShader SoVolumeData SoVolumeRender

SCREENSHOT: