Collada export removes animations?

Help
2013-07-01
2013-07-02
  • - 2013-07-01

    Hello,
    I'm currently working on a project that require me to load a Collada file, change the existing animations or add brand new ones,

    I'm currently loading an example Collada file with animations and then exporting it again.

    My issue is that when I open the exported version the animations aren't there, I've noticed that the same issue happens when exporting from the AssimpViewer program.

    So my question is:

    Is it something that I'm doing wrong or a limitation of the library currently?
    If it's the library, are there any other libraries you would recommend, I was looking at Collada Dom.

    Here's the code:

    Assimp::Importer importer;
    const aiScene* scene = importer.ReadFile("Assets/Test.dae", 0);
    
    Assimp::Exporter exporter;
    aiReturn result = exporter.Export(scene, "collada", "Assets/ExportTest.dae", 0);
    

    Thanks in advance.

     
  • Thomas Ziegenhagen

    Yes, the current Collada exporter does not support animations. Nobody found the time to implement those correctly as of yet. If you have some time to spare, I'd greatly appreciate any contribution.

    Maybe Collada Dom also works. I never used it.

     

Log in to post a comment.