Hi Alessandro and Michael, I have similar timing-related playback errors on a multi-take FBX exported from MotionBuilder.
Playback in: OSG 2.9.8 OSG FBX plugin built with: FBX Sdk 2011.2: fbxsdk_md2005.lib / fbxsdk_md2005d.lib FBX exported from: MotionBuilder 2011 QuickTime can move between all twenty(ish) animation takes and play them with proper timing. The only oddity is that after each animation plays, there is a variable length dead space on the playback timeline in which the model does not move. For example, the first 40% of playback is animated normally, then it stays in a static pose for the remaining 60% of the timeline. Playback is different using the osgViewer modified for FBX playbacks and changing takes/animations when a key is pressed. Calling playAnimation() moves the character to the correct initial pose but he does not move. In the debugger, the animation durations appear correct (e.g., 12 seconds) but for most takes the model is motionless the whole time. For a few takes, after a long pause the model eventually runs part of the animation at very high-speed, in the way that Alessandro's 3-bouncing-balls model played at high speed. Then even these return to a static pose for the remainder of their play time. My best guess is the timing is thrown off and this is somehow compounded across takes. The plugin has FPS hard-coded to 25 fps so we tried exporting at both 25 fps and 30 fps with only slightly varying results. I can email a sample file to demonstrate this (~15 MB). Thanks, Brian From: [email protected] [mailto:[email protected]] On Behalf Of Alessandro Terenzi Sent: Friday, July 09, 2010 6:56 AM To: OpenSceneGraph Users Subject: EXTERNAL: Re: [osg-users] FBX Plugin: animation speed not as expected... I've downloaded the latest source code of the FBX plugin and osgAnimation from svn but, I'm still experiencing different playback speed with respect to QuickTime moreover I have also problems with the animations themselves. As I said I'm using the latest code for FBX plugin and osgAnimation, on the other hand I'm using OSG 2.9.6 for all other plugins and libraries, so my question is: beyond the FBX plugin itself and osgAnimation what else could cause the problems with animations I'm experiencing? (ie not only speed, but also wrong/bad animation playback in general) By the way, I tried with both QuickTime and the ViewScene example that comes with the FBX SDK, they both play every model correctly. Talking about test models, I tryed: humanoid.fbx: model messed up during animation the 3-bouncing-balls model (sent to Michael some days ago): animation played at exagerated speed and now I have two more humanoid models one of which has the same problems of humanoid.fbx and the other seems to be missing some starting and ending frames. I'm going to send them to Michael. Regards. Alessandro On Thu, Jul 8, 2010 at 9:35 AM, Alessandro Terenzi <[email protected]<mailto:[email protected]>> wrote: Ok, thanks Michael, I will double check that I'm really using the latest source code for both the FBX plugin and osgAnimation. Regards. Alessandro On Wed, Jul 7, 2010 at 6:54 PM, Michael Platings <[email protected]<mailto:[email protected]>> wrote: Hi Alessandro, I can't reproduce the problem so I don't know why you're seeing that, sorry. _______________________________________________ osg-users mailing list [email protected]<mailto:[email protected]> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

