Git Product home page Git Product logo

colladatools's People

Contributors

salini avatar sbarthelemy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

salini

colladatools's Issues

Add support for multiple animations per file

Currently all the animation curves are stored directly under the animation_library element.

<animation_library>
    <animation id="Arm-matrix">...</animation>
    <animation id="Forearm-matrix">...</animation>
</animation_library>

We could use a hierarchy of animations:

<animation_library>
    <animation id="simu0">
        <animation id="simu0-Arm-matrix">...</animation>
        <animation id="simu0-Forearm-matrix">...</animation>
    </animation>
    <animation id="simu1">
        <animation id="simu1-Arm-matrix">...</animation>
        <animation id="simu1-Forearm-matrix">...</animation>
    </animation>
</animation_library>

We should then add a cli option to get the animation name/id (here simu0, simu1).

What's the point?

  • [+] support several animations per file
  • [-] We'll need to use complex id such as #anim0-Arm-matrix-interpolation.
    Maybe a better solution is continue with an animation per file, but keep the scene in a
    distinct file. The animation file name would then serve as a name space,
    (as in anim0.dae#Arm-matrix-interpolation)

This is an example of a collada file with a hierarchy of (two) animations :
http://gist.github.com/610049#file_animation_hierarchy.dae

It passes coherencytest. However osganimationviewer only sees one animation (the first). In order to get multiple animation per file support in OSG, we should use animation_clips.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.