This example renders a
SoVolumeRender node in a pure OpenGL scene.
The Win32 API is used to create an OpenGL window and to handle inputs events. A floor is drawn thanks to OpenGL calls and an Inventor scene is drawn on top of it. The SoLdmValuationAction is applied before the SoGLRenderAction in order to LDM to load the required data.
FILES:
-
Medical/Rendering/Integration/medicalGL_VolumeRender/gl_volumeRender.cxx
-
Medical/Rendering/Integration/medicalGL_VolumeRender/OGLWindow.h
-
Medical/Rendering/Integration/medicalGL_VolumeRender/OGLWindow_mac.mm
-
Medical/Rendering/Integration/medicalGL_VolumeRender/OGLWindow_win.cxx
-
Medical/Rendering/Integration/medicalGL_VolumeRender/OGLWindow_x11.cxx
SEE ALSO
SoVolumeRender, SoVolumeRenderingQuality
SCREENSHOT: