Animations in COLLADA

hi

Sorry. I didn’t know a better section to post this.

I am trying to finish a COLLADA loader for COLLADA 1.4er files. The base mesh is successfully read as well as the skeleton and skin data with all bones and weights.

The influences for a vertex are defined by a pair of bone-index and weight. But I don’t have any idea, how to map the bone-index to the bone itself. The bones are defined in the skeleton hierarchy. Therefore I don’t have a plain list to access a bone by an index. Well, I could generate a list through a depth-first-search or something like this. But this is all about trial and error.

Unfortunately the COLLADA specification doesn’t seem to tell anything about this. I found something about a combiner-element, that should do the trick. But my COLLADA file doesn’t have a combiner element.

Any help is appreciated. Thanks in advance.

Marvin

Forget it. I found it myself.

There’re the two nodes, that do the linkage to the actual joints.

Marvin