[osg-users] extracting camera path from model

2008-09-25 Thread Richard Baron Penman
hello, I have a model and camera animation path exported from 3ds max to osg format. In OpenSceneGraph I want to jump to any point along this animation, so I'm trying to extract the AnimationPath ControlPoints. Here is the relevant part of the osg file: PositionAttitudeTransform {

Re: [osg-users] extracting camera path from model

2008-09-25 Thread Robert Osfield
Hi Richard, You find the node with animation path callback on and then you use dynamic_cast: osg::AnimationPathCallback* apc = dynamic_castosg::AnimationPathCallback*(node-getUpdateCallback()); Robert. On Thu, Sep 25, 2008 at 8:38 AM, Richard Baron Penman [EMAIL PROTECTED] wrote: hello, I

Re: [osg-users] extracting camera path from model

2008-09-25 Thread Richard Baron Penman
oh now I see it - thanks very much! Hi Richard, You find the node with animation path callback on and then you use dynamic_cast: osg::AnimationPathCallback* apc = dynamic_castosg::AnimationPathCallback*(node-getUpdateCallback()); Robert. ___