Dear OpenSceneGraph community, I see in http://www.openscenegraph.org/projects/osg/report that bugs should be reported on this list. So here it goes.
Here attached are two small collada files. They both represent the same scene (a rectangle moving in one axis), and were exported respectivelly from Blender 2.65 and 2.66. They are both valid Collada file. The only difference amongst them is the <visual_scene> node where the subnodes either use <translate>, <rotate> and <scale> to position themselves (blender 2.65) or use a <matrix> node (blender 2.66). Note that the visual_scene defines what goes where, but not the animations. Animations are stored in <library_animations>. The bug symptom is as follows: 1) Open each file, render the animated scene. 2) The version with <translate>, <rotate> and <scale> shows the rectangle with the incorrect rotation (with respect to the original blender file), but shows the animation properly (as expected). 3) The version with <matrix> shows the rectangle properly (with respect to the original blender file), but the animation is gone ! I can imagine that blender 2.65 may have a bug with respect to rotations, but I cannot see how "changing the rotation of the object" would affect the animation reading. Both files are _identical_ for everything relating animations. We are using our own code for testing this. It is strongly based on https://github.com/sbarthelemy/daenim with is an extended version of osgviewer to handle animations. On daenim, the version 2.65 runs fine, while version 2.66 creates a segfault. >From what I can see "loosing the animation" in the version 2.66 is a bug in OpenSceneGraph. This is a blocking point for our project. Thanks a lot for your comments, ideas and help ! Best regards, rodrigob.
collada_animation_matrix.2.66.dae
Description: Binary data
collada_animation_rotation_translation.2.65.dae
Description: Binary data
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

