Please search the email archives this question has been answered several times and recently, you will find fuller answers already waiting for you
1) One way would be to change the osg::State/Sets on the nodes you want the texture changes on 2) Another way would be to use Multitexture and use slots 0,1,2,3 and turn them on and off as required again on the osg::State/Sets ____________________________________________________________________________ __ Gordon Tomlinson [email protected] IM: [email protected] www.vis-sim.com <http://www.vis-sim.com/> www.gordontomlinson.com <http://www.gordontomlinson.com/> ____________________________________________________________________________ __ From: [email protected] [mailto:[email protected]] On Behalf Of yang zhiyuan Sent: Monday, February 23, 2009 8:30 AM To: [email protected] Subject: [osg-users] how to change texture dynamically Hi: If I have a node with four texure in it, what should I do if I want to change one texture of these 4 dynamically?(the new texure's size my be different) zhi yuan
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

