Original Post
I'm working on a collada loader/converter and have muddled my way through loading the mesh data and now need to figure out animation data. But i'm pretty much completely lost. My first problem pops up when saving a .dae with animation from Max. I get a warning that i'm not sure what to make of: -Warning: link Bone01's mode is not supported. It will be treated as mode eTOTAL1. -Warning: link Bone02's mode is not supported. It will be treated as mode eTOTAL1. I'm not sure what Bone01's mode is or whether or not i should care if it's treated as eTOTAL1. Anyone know what this means, whether i need to fix it, and if so how? My second problem is actually looking at the document. The animation data is, to say the least, confusing. The data i need for an animated model should be: a list of bones a list of vertices each bones affects and how much it affects them which should total 1.0 for all bones a list of transformations for each bone and how long it takes correct? Is there anything else i need to take into account? I have no idea how to get that information though. Looking through to file i just cant wrap my head around how it's organized. Any hints? One of the first things i need to parse is is about. seems to be bone/weight/bone/weight etc. And the weights to which it refers are easily found & parsed. But they're just the % to which a vertex is affected by the bone and i cant find which vertex its referring to. But that's just one problem. I'm really not sure where to go from here and any advice at all would be very appreciated. Edit: I forgot to mention, i'm using Collada Dom to load & navigate the files
<vertex_weights count="16">
<input semantic="JOINT" offset="0" source="#Box01Controller-Joints"/>
<input semantic="WEIGHT" offset="1" source="#Box01Controller-Weights"/>
<vcount>1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2</vcount>
<v>
0 1 0 2 0 3 0 4 1 5 1 6 1 7 1 8 0 9 0 10 0 11 0 12 0 13 1 14 0 15 1 16 0 17 1 18 0 19 1 20
</v>
</vertex_weights>
I've not a clue what