[vtkusers] Re: Strange VTK Behavior...

Goodwin Lawlor goodwin.lawlor at ucd.ie
Tue Apr 4 08:57:32 EDT 2006


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





More information about the vtkusers mailing list