If you definitely always want to draw the points on top of the lines, and the lines are always drawn over filled surfaces,that are already set up with polygonoffset, you could try switching off z-write for your lines:
osg::Depth* depth = new osg::Depth; depth->setWriteMask( false ); lineNode->getOrCreateStateSet()->setAttributeAndModes( depth, osg::StateAttribute::ON ); -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Bob Slobodan Sent: 19 July 2012 15:32 To: [email protected] Subject: Re: [osg-users] Z-Fighting issue No one has a clue ? I've been trying to solve this problem for a while now and I can't figure out a way to display my vertices properly. Thanks anyway ! Cheers, Bob ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48932#48932 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

