[osg-users] Updating multiple times references to AnimatioPaths

Alberto Jaspe peer at ya.com
Fri Jul 11 08:11:44 PDT 2008

Hello people,

I've a little problem Im not sure how to solve it. I have a scenegraph 
that contains a node with an AnimationPathCallback, and, also, multiple 
references to this in other places in the scenegraph.
Im having bad performance because this callback is computing the 
interpolated keys multiple times (one per reference), instead just one 
time per frame (just the one of the unique object).

Is there any "elegant" way to solve that, more than overloading the 
callback with own code?

Alberto Jaspe.

More information about the osg-users mailing list