[osg-users] AnimationPath ( RecordCameraPathHandler ) problem?

Robert Osfield robert.osfield at gmail.com
Wed Apr 16 02:01:09 PDT 2008


H Umit,

The RecordCameraPathHandler and the -p animation.path support only
record/control the camera position, nothing else is recorded/replayed.
 Could it be that you are expecting other items to be recorded?  Or
could it simply be that your app doesn't have -p support built into
it?   Have a look at applications/osgviewer/osgviewer.cpp.

Robert.

On Tue, Apr 15, 2008 at 11:57 PM, ümit uzun <cush_umit at hotmail.com> wrote:
>
>  Hi all;
>
>  I try to save my aircraft simulation screen when I was flying with using ;
>
>             // add the record camera path  handler
>             viewer.addEventHandler(new osgViewer::RecordCameraPathHandler);
>
>  I can save the animation with using "z and shift + z" buttons and result of I can get a "saved_animation.path" file. But when I run my simulation by typing ; " ./run -p saved_animation.path ", I can't see any action. Aircraft is still stopping on the screen. But on the konsole screen;
>
>  AnimatonPath completed in 7.08779 seconds, completing 1316 frames,
>              average frame rate = 185.672
>  AnimatonPath completed in 7.08929 seconds, completing 3009 frames,
>              average frame rate = 424.443
>  AnimatonPath completed in 7.08941 seconds, completing 3004 frames,
>              average frame rate = 423.731
>
>  messages are showing one to one. I think animationPath is working but screen effects not. How can I do for fixing this problem ?
>
>  Thanks so much..!
>
>  ÜMİT UZUN
>
>
>  _________________________________________________________________
>  Windows Live Hotmail size ücretsiz 5GB'lık ÜCRETSİZ depolama olanağını sunuyor! Ücretsiz Windows Live Hotmail hesabınızı buradan edinin!
>  http://get.live.com/mail/overview
>  _______________________________________________
>  osg-users mailing list
>  osg-users at lists.openscenegraph.org
>  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


More information about the osg-users mailing list