[vtkusers] ZBuffer fighting pb

Hummel, Jerome Jerome.Hummel at fr.michelin.com
Thu Oct 26 06:26:38 EDT 2006


Hello all,

I have a rendering problem with coincident geometry due to zbuffer fighting. I
tried using the setResolveCoincidentTopologyToShiftZBuffer function with
different shift value but it does not help (default shift is .01 and changing it
from .01 to .99 does not change anything, setting it to 1 result in a wrong
zbuffer content). I then tried the other approach using a polygon offset
(setResolveCoincidentTopologyToPolygonOffset) without success. My test is very
simple, I modified the 2 cones examples so that the base of one overlapps with
the base of the second one. As soon as there is an interaction I can see the pb.
I am using VTK 5.0.1. Can anyone help ?
Thanks in advance.

-Jerome



More information about the vtkusers mailing list