Yes it's the palette array !
Now I'm trying to figure out how to interpret a matrix palette.
I have a simple animation :
<track bone="Head">
<keyframes>
<keyframe time="0">
<translate x="0" y="0" z="0" />
<rotate angle="0.0">
<axis x="0" y="1" z="0" />
</rotate>
<scale x="1" y="1" z="1" />
</keyframe>
<keyframe time="10">
<translate x="0" y="0" z="0" />
<rotate angle="-30.0">
<axis x="1" y="0" z="0" />
</rotate>
<scale x="1" y="1" z="1" />
</keyframe>
<keyframe time="20">
<translate x="0" y="0" z="0" />
<rotate angle="30.0">
<axis x="1" y="0" z="0" />
</rotate>
<scale x="1" y="1" z="1" />
</keyframe>
</keyframes>
</track>
When I debuging my project, the palette matrix of the bone "Head" at "n" time is
translation : 7.8505083E-16, -0.77856064, -6.410426
rotation X axis : 1.0, -2.2415054E-17, 2.068825E-18
rotation Y axis : 2.2415054E-17, 0.9831068, -0.1830328
rotation Z axis : 2.068825E-18, 0.1830328, 0.9831068
I find the translation is wrong or this values are not about the translation ?
The result of the animation is that the head does translation animation over the z axis and y axis; i think the rotation is interpreted as a translation
I think my problem comes the interpretation of the matrix.
Could you please to help me to understand the values of the matrix in order to convert them for my vertex shader.
Thanks