Thanks..Accoding you I must extend the UpdatCallBack,in this way

class lux : public osg::Drawable::UpdateCallback
{
        virtual void operator()( osg::ShapeDrawable* drawable)
        {
                drawable ->setColor(osg::Vec4(1,1,1,1));
        }
}; 

Is what I speak right?

Thank advance..

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to