Hi there, Not sure if there is similar function already in OSG, but I had the need of being able to capture specific Camera position keyframes so I can use them to create a video. Before this capturer, they way I accomplished this was I enabled the Animation path Recorder, positioned my camera to particular point, waited bout 20 seconds, and then continued to my next keyframe. When I was done, I then went to animation.path file and picked out the keyframes that had repeated several times (because i waited for about 20 seconds), I then modified the timings of these keyframes to get the desired flyover speed.
I later smoothed the flyover by importing the points into Matlab and used cubic splines to create a keyframe for every single frame. This process took awhile, and was quite annoying having to sift through unwanted keyframes generated by the animation path recorder. So I created my own Handler called "KeyframeCapturerHandler" that acts almost exactly as "RecordCameraPathHandler", infact most of the code was copied from it. Instead of capturing a keyframe at a timed interval, I only capture a keyframe when I'm ready and press a key. So far, it has done exactly what I needed it to do and has saved me time and frustration. I still have to do my interpolation step, but capturing the inital keyframes is much easier. Does this sound like a useful feature that any of you would want to use? Is there already a way to do this without my handler? Thanks, Nick ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27117#27117 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org