Re: [osg-users] Switch inactive children callback

2012-08-28 Thread Sergey Polischuk
Hi, Sebastian There are nodevisitor traversal modes, and one of those is TRAVERSE_ACTIVE_CHILDREN, try to set this on your update visitor, and you'll be in good shape. Cheers, Sergey. 27.08.2012, 22:45, Sebastian Messerschmidt sebastian.messerschm...@gmx.de: Hello, My current challenge

Re: [osg-users] Switch inactive children callback

2012-08-28 Thread Sebastian Messerschmidt
Hi Sergey, But this way I will not recognize if the switch is set to a mask where my cloned lightsource wouldn't be on. So what I need more than not receiving update visiting is the state transition. My idea here would be to add a dummy node to the position where my lightsource originally

[osg-users] Switch inactive children callback

2012-08-27 Thread Sebastian Messerschmidt
Hello, My current challenge seems to be a hard one ;-) In my pipeline I effectively removed all lightsources from the original scenegraph and copied to a separate graph. Instead of the original lightsources I install an update callback to transform the lightsources like in the original graph,