Skip to content

rendering: Fix gpu ray cast volume mapper

Fix a problem with the mapper that breaks volume rendering when the active vtkCamera has a non-identity ModelTransformMatrix.

This change fixes this ParaView issue, making it possible to interact with volumes in CAVE environments.

The images below show the results of applying a 60 degree rotation about the Y axis via the ModelTransformMatrix.

Before this change:

TestGPURayCastModelTransformMatrix_broken

After this change:

TestGPURayCastModelTransformMatrix

Edited by Scott Wittenburg

Merge request reports