Hi Markus,<br><br>I don't have a VTK-based solution for you based on your problem description, but I am curious why you want to eliminate triangles of the vtkPolyData representing the skin. What is the ultimate goal you are trying to accomplish? Are you worried about performance? If so, you probably shouldn't. Modern GPUs can render triangles very quickly, especially with features like early z culling. Are you trying to eliminate them from the scene? If they are occluded from your view point, you won't see them.<br>
<br>Just curious,<br>Cory<br><br><div class="gmail_quote">On Tue, Dec 2, 2008 at 7:37 AM, Engel Markus <span dir="ltr"><<a href="mailto:m.engel@dkfz-heidelberg.de">m.engel@dkfz-heidelberg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="DE">
<div>
<p><span lang="EN-US">Hi!</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">I'm currently looking for a
possibility to check whether a certain triangle of my vtkPolyData is visible or
occluded by another PolyData.</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">I'm writing a program that eliminates
triangles of the PolyData, representing the patients skin, that are not visible
from the barycenter of a tumor, </span></p>
<p><span lang="EN-US">because they are occluded by other organs.
All organs, the tumor and the skin are vtkPolyDatas.</span></p>
<p><span lang="EN-US">So I basically need to check if there is an
Object, in this case a PolyData, between a point and a tringle.</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">As the program is going to be based on VTK,
I'm searching for a native VTK solution. </span></p>
<p><span lang="EN-US">I already stumbled upon the OpenGL occlusion_query,
however I afraid it won't be easy to integrate this into the existing
rendering-pipeline. That's another reason for looking for some VTK-stuff.</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">Thanks a lot!</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">Markus</span></p>
<p><span lang="EN-US"> </span></p>
<p><span style="font-size: 12pt; font-family: "Times New Roman","serif"; color: black;" lang="EN-US"> </span></p>
<p> </p>
</div>
</div>
<br>_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Cory Quammen<br>Center for Computer Integrated Systems for Microscopy and Manipulation (CISMM)<br>Department of Computer Science<br>University of North Carolina at Chapel Hill<br>
<a href="http://www.cs.unc.edu/~cquammen">http://www.cs.unc.edu/~cquammen</a><br>