Hi,

I'm using a sequence node that selects each time different objects.

Each object has its own callback.

I'd like to implement an application where the objects callbacks are only 
called when they are selected by the sequence node.

I initially used the setUpdateCallback method to add the callbacks to object.

But...what i see is that on each osg traverse, all the callbacks are called.

So i tryed to use setEventCallback...and it seems to work properly.

>From the doxygen documentation i don't see any differences between the two 
>methods.

So ...my question is...Are the eventCallbacks called before or after the 
viewer.Update()?How many times they are called for each traverse?..

Thank you so much!

Matteo
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to