[vtkusers] Glitch in rendering when using vtkGPUVolumeRayCastMapper in 7.0.0

Andras Lasso lasso at queensu.ca
Thu May 26 09:03:53 EDT 2016


Maybe you’ve forgot to set the camera clipping range.

Andras

From: Elvis Stansvik<mailto:elvis.stansvik at orexplore.com>
Sent: May 26, 2016 08:29
To: VTK Users<mailto:vtkusers at vtk.org>
Subject: Re: [vtkusers] Glitch in rendering when using vtkGPUVolumeRayCastMapper in 7.0.0

2016-05-26 14:01 GMT+02:00 Elvis Stansvik <elvis.stansvik at orexplore.com<mailto:elvis.stansvik at orexplore.com>>:
2016-05-26 13:46 GMT+02:00 Elvis Stansvik <elvis.stansvik at orexplore.com<mailto:elvis.stansvik at orexplore.com>>:
Hi all,

When I view my volume from certain angles, there are glitches in the rendering when using vtkGPUVolumeRayCastMapper , see attached screenshots when the glitch is occurring and when it is not.

Has anyone seen this behavior and know what the problem might be? This is on Intel HD 4400 graphics.

If it's not quite clear, the glitch is at the bottom of the first screenshot, where an are of the volume is not visible.

An observation: I had the following to enable parallell projection in my code:

    self.camera.ParallelProjectionOn()

If I remove this line, so that perspective projection is used instead, the glitches disappear.

This is not a solution, since I need to use parallell projection, but maybe it's a clue to the problem?

Elvis


>From certain angles the volume disappears almost completely.

Elvis


I would love to be able to use the GPU volume mapper since it's so much faster than the software one.

Thanks,
Elvis


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160526/8fd62082/attachment.html>


More information about the vtkusers mailing list