Hello,

I'm generating collada 1.4 animations from a simulator. In order avoid
redundant information and generate smaller files, I tried to share
data between the animation channels. For instance, the timeline is
common to all the animation channels and could be stored once.

Are are two examples of such "optimized" files:

    http://gist.github.com/610049#file_factor_timeline.dae
    http://gist.github.com/610049#file_factor_output.dae

osganimationviewer crashes when opening them.

Here is another example, without any animation, where vertices are
factorized between two meshes.

    http://gist.github.com/610049#file_factor_vertices.dae

osgviewer fails to open it:

    $ osgviewerd factor_vertices.dae
    No float array found
    terminate called after throwing an instance of 'std::out_of_range'
      what():  vector::_M_range_check
    Abort trap

I believe these example files are valid : they pass coherencytest, and
I asked on the collada forum [1] for a confirmation. The dae plugins
seems to make invalid assumptions about the structure of the XML.

[1] https://collada.org/public_forum/viewtopic.php?f=12&t=1776
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to