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">&lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt;</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&#39;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 &lt;<a href="mailto:T.R.Klein@student.rug.nl">T.R.Klein@student.rug.nl</a>&gt; wrote:<br>
&gt; I am using a vtkGPUVolumeRayCastMapper to render a structured grid, with the<br>
&gt; use of AddClippingPlane member (of vtkGPUVolumeRayCastMapper). Now, I&#39;m<br>
&gt; getting some weird rendering behavior that depends on the interactor that is<br>
&gt; used:<br>
&gt; vtkInteractorStyleTrackballActor:  Rendering sometimes looks good, but most<br>
&gt; of the time weird rendering artifacts show when doing this. This is how it<br>
&gt; 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>
&gt; 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>
&gt; 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>
&gt; the rotation that is applied with the interactor.<br>
&gt; vtkInteractorStyleTrackballCamera:  When I start with this interactor, the<br>
&gt; clipping is not applied at all. I just see the normal volume (without<br>
&gt; rendering artifacts). If I start with the Actor Interactor (and try to get a<br>
&gt; view without artifacts), and then switch to the Camera Interactor: then<br>
&gt; everything seems to be working fine. The view stays clipped, and no<br>
&gt; artifacts occur. But I can not get it to work with just the Camera<br>
&gt; Interactor. However, I would prefer to use the Actor Interactor for my<br>
&gt; interactions, so switching to Camera mode is not really wanted.<br>
&gt; Are this known issues? What am I doing wrong that the clipping is not<br>
&gt; happening in Camera mode? And is there a way to prevent the artifacts?<br>
&gt;<br>
&gt; Tijmen<br>
</div></div></blockquote></div><br>