[vtkusers] z-fighting resolution

Jeff Lee jeff at cdnorthamerica.com
Thu Jan 16 07:06:25 EST 2003


Sagi Schein wrote:

> Hi
>
> I am banging my head on the following problem, I am sketching a line 
> on a surface represented as a vtkPolyData object. Due to the fact that 
> my line is laying on the surface I get all sort of z-fighting 
> artifacts. Where it my renderer I would have done a glTranslate 
> towards the viewer and solve this problem, I could have done it also 
> here if I had a pair of callbacks before and after the draw command 
> inside vtkOpenGlPolyDataMapper but there is none. So I need an idea
>
try mapper->SetResolveCoincidentTopologyToPolygonOffset() on your surface.
-Jeff

> Thanks.
>
>  
>




More information about the vtkusers mailing list