Please take a look at the osgcallback example, it will be much more
informative if you look there, maybe copy some code to start from, rather
than post questions to the email list. The fastest route to success for you
would be to look at the example and try some things out, then post here if
you have questions.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ignazio
Sent: Tuesday, April 21, 2009 10:41 AM
To: [email protected]
Subject: Re: [osg-users] Dynamic Modification..

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
[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

Reply via email to