Done: <a href="http://www.vtk.org/Bug/view.php?id=12377">http://www.vtk.org/Bug/view.php?id=12377</a><br><br><div class="gmail_quote">On Mon, Jul 18, 2011 at 7:28 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Tijmen,<br>
<br>
You should submit a bug report for this, otherwise it will just get<br>
lost on the mailing list:<br>
<a href="http://www.vtk.org/Bug/view_all_bug_page.php" target="_blank">http://www.vtk.org/Bug/view_all_bug_page.php</a><br>
<br>
I've seen similar problems with the vtkGPUVolumeRayCastMapper<br>
but never took the time to analyze them. For me, the issue was that<br>
the rendering was incorrect if the clipping planes were used together<br>
with a cropping region. Your issue, where the rendering is different<br>
depending on whether an actor transform is used versus whether a<br>
camera transform is used, produces the same sort of rendering<br>
artifacts that I was seeing i.e. huge chunks of the volume are<br>
missing.<br>
<font color="#888888"><br>
- David<br>
</font><div><div></div><div class="h5"><br>
<br>
On Mon, Jul 18, 2011 at 6:03 AM, Tijmen Klein <<a href="mailto:T.R.Klein@student.rug.nl">T.R.Klein@student.rug.nl</a>> wrote:<br>
> I am using a vtkGPUVolumeRayCastMapper to render a structured grid, with the<br>
> use of AddClippingPlane member (of vtkGPUVolumeRayCastMapper). Now, I'm<br>
> getting some weird rendering behavior that depends on the interactor that is<br>
> used:<br>
> vtkInteractorStyleTrackballActor: Rendering sometimes looks good, but most<br>
> of the time weird rendering artifacts show when doing this. This is how it<br>
> should look: <a href="http://dl.dropbox.com/u/27566470/good.png" target="_blank">http://dl.dropbox.com/u/27566470/good.png</a>, but most of the time<br>
> it looks like something like this: <a href="http://dl.dropbox.com/u/27566470/bad.png" target="_blank">http://dl.dropbox.com/u/27566470/bad.png</a><br>
> or <a href="http://dl.dropbox.com/u/27566470/bad2.png" target="_blank">http://dl.dropbox.com/u/27566470/bad2.png</a> These artifacts change based on<br>
> the rotation that is applied with the interactor.<br>
> vtkInteractorStyleTrackballCamera: When I start with this interactor, the<br>
> clipping is not applied at all. I just see the normal volume (without<br>
> rendering artifacts). If I start with the Actor Interactor (and try to get a<br>
> view without artifacts), and then switch to the Camera Interactor: then<br>
> everything seems to be working fine. The view stays clipped, and no<br>
> artifacts occur. But I can not get it to work with just the Camera<br>
> Interactor. However, I would prefer to use the Actor Interactor for my<br>
> interactions, so switching to Camera mode is not really wanted.<br>
> Are this known issues? What am I doing wrong that the clipping is not<br>
> happening in Camera mode? And is there a way to prevent the artifacts?<br>
><br>
> Tijmen<br>
</div></div></blockquote></div><br>