Hi Robert,
Here is what I tried in the code:
osg::AlphaFunc *TurnOnAlphaFuncbyDefault = new osg::AlphaFunc();
osg::StateSet *NewStateSet = SceneGraphRoot->getOrCreateStateSet();
NewStateSet->setAttribute(TurnOnAlphaFuncbyDefault,
osg::StateAttribute::ON);
I still see the artifacts. Does the code above make any sense or did
I've done it the wrong way?
I would second Tugkan's suggestion to revert back to the old code
behavior by default if the performance gain is marginal.
Thanks for the help Robert and others.
Marc
--
=====================================
Marc Bernatchez
Candidat au Ph.D.
Ecole Polytechnique de Montreal
Montreal, QC, CANADA
=====================================
Virtual Reality web site, VResources:
http://vresources.org
=====================================
_______________________________________________
osg-users mailing list
[EMAIL PROTECTED]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/