<div><br>Hello Goodwin &amp; NG,</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp; thank you very much for your help. Unfortunately, it seems that the use of these 2 methods does not make any difference :-( . Anyway, you are right, there are quite a lot of duplicated cells... the problem is that the grid comes in a binary format from another gridding software (which I can not control). Mhm... is there a way in VTK to &quot;hide&quot; or filter out&nbsp;the cells that are duplicated (share the same points)? I think this is the last alternative I have...
</div>
<div>&nbsp;</div>
<div>Thank you very much for your help and suggestions.</div>
<div>&nbsp;</div>
<div>Andrea.<br>&nbsp;</div>
<div><span class="gmail_quote">On 4/4/06, <b class="gmail_sendername">Goodwin Lawlor</b> &lt;<a href="mailto:goodwin.lawlor@ucd.ie">goodwin.lawlor@ucd.ie</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Andrea Gavana wrote:<br>&gt;<br>&gt; Hello John &amp; NG,<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; I made a relatively small example (with a VTK data file) that shows
<br>&gt; the problem. Basically, once loaded the VTK file, just zoom since the<br>&gt; grid occupies all the available screen space of the VTK window (more or<br>&gt; less). Then, if you rotate the scene you will see that the grid is
<br>&gt; corrupted in some zones (you will see some artifacts). This may be<br>&gt; reproduced using:<br>&gt;<br>&gt; 1) The script I am attaching (sorry it's Python);<br>&gt; 2) Mayavi<br>&gt; 3) Paraview<br>&gt;<br>&gt; At this point I don't know what to do or to think... does anyone have a
<br>&gt; suggestion? Could please someone try and see if he/she gets the same<br>&gt; results? The VTK Data file is here:<br>&gt;<br>&gt; <a href="http://xoomer.virgilio.it/infinity77/KPO3.zip">http://xoomer.virgilio.it/infinity77/KPO3.zip
</a><br>&gt;<br>&gt; It's 600 Kb zipped and about 5 MB unzipped... sorry for that, but it is<br>&gt; the only grid I have to show that problem...<br>&gt;<br>&gt; Thank you very much for every suggestion/hint.<br>&gt;<br>&gt; Andrea.
<br>&lt;SNIP&gt;<br><br>Hi Andrea,<br><br>Looks like coincident cells... try:<br><br>surfaceMapper.SetResolveCoincidentTopologyToPolygonOffset()<br><br>or<br><br>surfaceMapper.SetResolveCoincidentTopologyToShiftZBuffer()<br>
<br>hth<br><br>Goodwin<br><br><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">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">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br><br clear="all"><br>-- <br>&quot;Imagination Is The Only Weapon In The War Against Reality.&quot;
<br><br><a href="http://xoomer.virgilio.it/infinity77/">http://xoomer.virgilio.it/infinity77/</a><br>