VTK/vtkRenderingVolumeOpenGLNew module

From KitwarePublic
< VTK
Revision as of 18:53, 9 October 2014 by Sankhesh.jhaveri (talk | contribs) (Created page with "The class vtkOpenGLGPURayCastMapper has been re-written to provide a faster, more portable and more easily extensible volume mapper for regular rectilinear grids. This is still a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The class vtkOpenGLGPURayCastMapper has been re-written to provide a faster, more portable and more easily extensible volume mapper for regular rectilinear grids. This is still a work in progress and is part of the effort to obsolete OpenGL 1.1 backend pipeline calls from VTK. To make the new mapper available in conjunction with other un-ported volume mappers, it has been added to a new module called vtkRenderingVolumeOpenGLNew. The new module is designed to override the vtkGPURayCastMapper from vtkRenderingVolume module.

Dependencies

The new vtkOpenGLGPURayCastMapper uses vtkglew to determine which OpenGL extensions are supported by the target platform.

Using new vtkOpenGLGPURayCastMapper

The user can try out the new volume mapper by switching the Module_vtkRenderingVolumeOpenGLNew flag to ON while configuring VTK. The mapper can be instantiated using the vtkGPURayCastMapper class or by instantiating the vtkSmartVolumeMapper.