Hi Robert,

Previously I used the "getDecorator()" to set a osg::Program which render the 
statistics.

Now I use the "getCamera()" method to set the same osg::Program which render 
the statistics.

But to get it work properly, I have to had this :

pStatsHandler->getCamera()->getOrCreateStateSet()->setAttributeAndModes(new 
osg::BlendFunc(osg::BlendFunc::SRC_ALPHA, osg::BlendFunc::ONE_MINUS_SRC_ALPHA));

Maybe there is some changes in the default attribute values due to the revision 
13604 ?

Thank you!

Cheers,
Aurelien

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=55078#55078





_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to