[vtkusers] Parameters for SetResolveCoincidentTopologyPolygonOffsetParameters(double factor, double units)

Denis Barbier bouzim at gmail.com
Sun Nov 9 04:31:48 EST 2008


On 2008/11/9 PsyVis wrote
>  Thanks very much for that, cleared things up
>
> next thing is when I set these parameters it doesn't really sort the problem
> out, I get both surfaces flickering.

We had a similar problem for a project based on VTK, and proposed
to make those parameters non-static so that mappers can have
different values:
   http://www.vtk.org/Bug/view.php?id=7294
This patch may solve your problem.  OTOH I am not sure that this is the
right solution, glPolygonOffset was designed to differentiate between
polygons and other primitives (lines and points), but not to solve
between different polygons.  I would love to read a better solution,
if there is one.

Denis



More information about the vtkusers mailing list