Hi Björn,
simple things first, did you try with
SET OSG_OPTIMIZER=OFF

Regards, Laurens.

On 8/15/2013 10:14 AM, Björn Blissing wrote:
To clarify the problem further. Loading and playing single FBX files seems to 
work fine. My problems begins when I try to copy animations from several FBX 
files into one model.

I am merging animations from several diffrent files (mainly because Autodesk 3D 
Studio cannot export FBX files with multiple animations).

I start by loading the first model, locating the AnimationManager, then opening 
the rest of the models. For each model I am locating their AnimationManager and 
getting the animation stored inside it, then coping and registering the 
animation into the first file's AnimationManager.

A similar example can be found in this thread:
http://forum.openscenegraph.org/viewtopic.php?t=12022

This strategy worked well with OSG 3.0.1, but for some reason (I haven't 
figured out why yet) it refuses to work with the new version. The connection 
between the bones and the animations seems to get a complete mismatch, which 
results in warped and twisted geometry. The bone responsible for the characters 
arm gets connected to the geometry of a foot and some of my animated characters 
literally ends up with their head up their own arse.

"The hip bones connected to the neck bone,
The back bones connected to the  foot bone" ;)

Björn

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=55852#55852





_______________________________________________
osg-users mailing list
[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

Reply via email to