[Paraview] polygon offset again

Dominik Szczerba domi at vision.ee.ethz.ch
Sat Jul 29 15:47:40 EDT 2006


I submitted it once as a minor bug but havent seen it resolved for quite 
some tome now. I can actually do it myself for my own needs, but dont 
know how to do it right: where to put the following line in the source 
code to get e.g. edges displayed right in a tet mesh?

#ifdef GL_VERSION_1_1
   glEnable(GL_POLYGON_OFFSET_FILL);
   glPolygonOffset (1., 1.);
#endif

of the VTK's way:

SetResolveCoincidentTopologyToPolygonOffset()

It is apparently missing in my cvs version. Could someone quickly tell 
me where to add this to the source code?

thanks
Dominik

-- 
Dominik Szczerba, Ph.D.
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi


More information about the ParaView mailing list