Hi,<br><br>From my paraview point of view, I use backface culling sometimes when I don't have intersected rendered objects, just as you said Xabi. Joel, maybe it could be the solution. However, I don't think that it would resolved the shading problem. IMHO, setting the rendering to Wireframe will deactivate the shading process. But it has to be checked.<br>
<br>BTW, did you try to play with ResolveCoincidentTopology stuffs in the mapper ?<br><br>Jerome<br><br><div class="gmail_quote">2010/4/26 xabi riobe <span dir="ltr"><<a href="mailto:xabivtk@gmail.com">xabivtk@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">try vtkProperty::BackfaceCullingOn()<br>The wireframe is still transparent, so if an object is behind you will see it, but if you are working with a single mesh and your aim is to see only the edges in front of the camera it will do what you are looking for.<br>
<br><div class="gmail_quote"><div class="im">2010/4/26 Joel Schaerer <span dir="ltr"><<a href="mailto:joel.schaerer@gmail.com" target="_blank">joel.schaerer@gmail.com</a>></span><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><div><div></div><div class="h5">
Hi Jérôme,<br>
<br>
thanks for your answer! I've tried implementing the forked pipeline exactly<br>
as you said, but unfortunately my graphics card doesn't seem to like<br>
rendering two objects that are so close. As a result, some edges are hidden<br>
randomly, which results in a very ugly flicker effect when the meshes are<br>
animated. Here is a static screen capture to illustrate the effect:<br>
<br>
<a href="http://www.creatis.insa-lyon.fr/%7Eschaerer/capture_36_0000_Pod1_deformed_to_0000_Pod1.png" target="_blank">http://www.creatis.insa-lyon.fr/~schaerer/capture_36_0000_Pod1_deformed_to_0000_Pod1.png</a><br>
<br>
I've tried adding a vtkShrinkFilter. This improves thing a bit, but there<br>
still are problems.<br>
<br>
Does anyone have a better solution to offer? I believe that at one point the<br>
wireframe representation used to be opaque by default. At what point and why<br>
did that change?<br>
<br>
Thanks again,<br>
<br>
joel<br>
<div><br>
<br>
Jérôme-2 wrote:<br>
><br>
> Hi Joel,<br>
><br>
> I don't know of this is a good way, but you can try a forked visualisation<br>
> pipeline:<br>
><br>
> 1) Original polydata -> Surface representation<br>
> 2) Original polydata -> PolyDataNormals -> ExtractEdges -> Surface<br>
> representation<br>
><br>
> You will have to play with normals flipping, consistency and surface<br>
> color.<br>
> I will send (PM) a screenshot of a ParaView rendering that follows this<br>
> idea.<br>
><br>
> HTH<br>
><br>
> Jerome<br>
><br>
><br>
><br>
<br>
</div><font color="#888888">--<br>
View this message in context: <a href="http://old.nabble.com/Non-transparent-wireframe-representation--tp28362835p28364190.html" target="_blank">http://old.nabble.com/Non-transparent-wireframe-representation--tp28362835p28364190.html</a><br>
</font><div><div></div><div>Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<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>
</div></div></div></div></blockquote></div><br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<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>