Re: [osg-users] update callback with multiple node path

2011-11-19 Thread xbee
Le 18/11/2011 10:21, Vincent Bourdier a écrit : Hi, The update callback is done to be updated each frame in the traverse() method. Rewriting it is necessary to update it. So add a callback on the decorator and update it in traverse() method. Regards, Vincent Hi Vincent, I've already

[osg-users] update callback with multiple node path

2011-11-18 Thread xbee
Hi all, I'm trying to make blinking a part of my scene by adding a decorator node (a group node with a shader) like this: Original graph root | _ _ | | node1 node2 decorated graph root | _ _ _ | | | deco | node2 \

Re: [osg-users] update callback with multiple node path

2011-11-18 Thread Vincent Bourdier
Hi, The update callback is done to be updated each frame in the traverse() method. Rewriting it is necessary to update it. So add a callback on the decorator and update it in traverse() method. Regards, Vincent Le 18/11/2011 09:39, xbee a écrit : Hi all, I'm trying to make blinking a part