GPU Volume Ray Casting of two Volumes within VTK

Krissian, Karl1*,Falcón-Torres, Carlos
1.University of Las Palmas of Gran Canaria
Abstract
GPU Volume Ray Casting of two Volumes within VTK

Abstract

We have modified the current VTK volume rendering on GPU to allow simultaneous rendering of two volumes, each of them with its own color and opacity transfer functions. These changes have led to the creation of two new C++ classes and several GLSL shaders. We explain the modifications made to the original classes and shaders and we discuss possible additional improvements. A C++ demo code shows how to use the new classes.

Keywords

Volume RenderingGPU
Manuscript
Source Code and Data

Source Code and Data

CMakeLists.txt3.2 KBDataExamplecube.mhd301 Bcube.raw3.8 MBcylinder.mhd305 Bcylinder.raw3.8 MBGLSLvtkGPUMultiVolumeRayCastMapper_CompositeFS.glsl3.4 KBvtkGPUMultiVolumeRayCastMapper_FourComponentsFS.glsl1 KBvtkGPUMultiVolumeRayCastMapper_NoShadeFS.glsl1.3 KBvtkGPUMultiVolumeRayCastMapper_OneComponentFS.glsl1.1 KBvtkGPUMultiVolumeRayCastMapper_ShadeFS.glsl8.4 KBREADME166 Brun_example1.sh167 Brun_example2.sh207 BvtkGPUMultiVolumeRayCastMapper.cxx27.6 KBvtkGPUMultiVolumeRayCastMapper.h12.6 KBvtkGPUMultiVolumeRenderDemo.cxx23.7 KBvtkOpenGLGPUMultiVolumeRayCastMapper.cxx244.3 KBvtkOpenGLGPUMultiVolumeRayCastMapper.h17 KB

Select a file to preview