vtkGPUVolumeRayCastMapper->SetImageSampleDistance, parameter set 0.5, result image is not right

Hi, all:

In my project, I use vtkGPUVolumeRayCastMapper to do Volume Rendering in VTK version 9.0.

when I use vtkGPUVolumeRayCastMapper->SetImageSampleDistance, and set parameter is 0.5. then i rotate the volume. It is strange that only 1/4 of the window update result image.

is it a bug of VTK 9.0? does anybody know how to fix it?

I also see this behavior, but using Python and the vtk 8.2.0 branch.

For me, I’m trying to understand how to correctly set the sample distance when using vtkGPUVolumeRayCastMapper to avoid these contour artifacts when rendering a small volumetric dataset. These ringing artifacts should not be displayed as shown below. I only get the artifacts when using vtkGPUVolumeRayCastMapper, when using vtkFixedPointVolumeRayCastMapper the artifacts are no longer present.


Tks your reply. It is useful.