No one have any idea on how to do it ? I just need to get alpha value on a material on a picked node.
Thanks, Regards, Vincent. 2008/5/20 Vincent Bourdier <[EMAIL PROTECTED]>: > Hi all, > > trying to get alpha value on a material, on a node, I use > mat->getAmbient(osg::Material::FRONT).a() > > but mat depends on a picked node, and If I pick somewhere different, > sometimes it crashes... > > I suppose I is a osg::material::face problem. > > Is there any way to get alpha value (setAlpha() exist but not getAlpha()) > without needs to do that ? > thanks. > > Regards, > Vincent. >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org