<div><br>Hello Goodwin & NG,</div>
<div> </div>
<div> 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 "hide" or filter out the cells that are duplicated (share the same points)? I think this is the last alternative I have...
</div>
<div> </div>
<div>Thank you very much for your help and suggestions.</div>
<div> </div>
<div>Andrea.<br> </div>
<div><span class="gmail_quote">On 4/4/06, <b class="gmail_sendername">Goodwin Lawlor</b> <<a href="mailto:goodwin.lawlor@ucd.ie">goodwin.lawlor@ucd.ie</a>> 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>><br>> Hello John & NG,<br>><br>> I made a relatively small example (with a VTK data file) that shows
<br>> the problem. Basically, once loaded the VTK file, just zoom since the<br>> grid occupies all the available screen space of the VTK window (more or<br>> less). Then, if you rotate the scene you will see that the grid is
<br>> corrupted in some zones (you will see some artifacts). This may be<br>> reproduced using:<br>><br>> 1) The script I am attaching (sorry it's Python);<br>> 2) Mayavi<br>> 3) Paraview<br>><br>> At this point I don't know what to do or to think... does anyone have a
<br>> suggestion? Could please someone try and see if he/she gets the same<br>> results? The VTK Data file is here:<br>><br>> <a href="http://xoomer.virgilio.it/infinity77/KPO3.zip">http://xoomer.virgilio.it/infinity77/KPO3.zip
</a><br>><br>> It's 600 Kb zipped and about 5 MB unzipped... sorry for that, but it is<br>> the only grid I have to show that problem...<br>><br>> Thank you very much for every suggestion/hint.<br>><br>> Andrea.
<br><SNIP><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>"Imagination Is The Only Weapon In The War Against Reality."
<br><br><a href="http://xoomer.virgilio.it/infinity77/">http://xoomer.virgilio.it/infinity77/</a><br>