[vtkusers] Re: Strange VTK Behavior...

Andrea Gavana andrea.gavana at gmail.com
Tue Apr 4 09:51:17 EDT 2006


Hello Goodwin & NG,

    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...

Thank you very much for your help and suggestions.

Andrea.

On 4/4/06, Goodwin Lawlor <goodwin.lawlor at ucd.ie> wrote:
>
> Andrea Gavana wrote:
> >
> > Hello John & NG,
> >
> >     I made a relatively small example (with a VTK data file) that shows
> > the problem. Basically, once loaded the VTK file, just zoom since the
> > grid occupies all the available screen space of the VTK window (more or
> > less). Then, if you rotate the scene you will see that the grid is
> > corrupted in some zones (you will see some artifacts). This may be
> > reproduced using:
> >
> > 1) The script I am attaching (sorry it's Python);
> > 2) Mayavi
> > 3) Paraview
> >
> > At this point I don't know what to do or to think... does anyone have a
> > suggestion? Could please someone try and see if he/she gets the same
> > results? The VTK Data file is here:
> >
> > http://xoomer.virgilio.it/infinity77/KPO3.zip
> >
> > It's 600 Kb zipped and about 5 MB unzipped... sorry for that, but it is
> > the only grid I have to show that problem...
> >
> > Thank you very much for every suggestion/hint.
> >
> > Andrea.
> <SNIP>
>
> Hi Andrea,
>
> Looks like coincident cells... try:
>
> surfaceMapper.SetResolveCoincidentTopologyToPolygonOffset()
>
> or
>
> surfaceMapper.SetResolveCoincidentTopologyToShiftZBuffer()
>
> hth
>
> Goodwin
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



--
"Imagination Is The Only Weapon In The War Against Reality."

http://xoomer.virgilio.it/infinity77/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060404/54eb1818/attachment.htm>


More information about the vtkusers mailing list