General Category > General Anim8or Forum

.an8 Format, jointangles, how are they stored?

<< < (2/5) > >>

SubDrag:

--- Quote from: Claude on April 20, 2014, 05:11:03 pm ---This is bone 14 in figure mode and front view.

Y blue  to the right same direction as the bone

X green to the bottom of the screen

Z pink toward the user

right handed

Is this what you are using?

--- End quote ---

Hmm, wait, so the euler rotations are relative to the bone orientation?  It seems almost perpendicular?  Which faces the bone?

Claude:
Each bone has its own axis system.
The global system is transformed by all the parents.
You should read this chapter of the manual:
http://www.anim8or.com/learn/manual/6_sequence_editor.html
especially this section:
http://www.anim8or.com/learn/manual/6_sequence_editor.html#making_a_key_pose

Reduce the size of your bone 14 and zoom in to see the axis.

If I remember well you have to select the bone and click on the show the axis button.

SubDrag:
Does it use the same orientation as the bone's orientation (ie. relative to its parent?)?  So it's like, taking the normal XYZ axis, rotating to bone orientation, then rotating euler from that?  For my part 14, what did that equate to, for the XYZ directions?

To go from absolute euler, I suppose you need to, rotate the rotations by the rotation from axis to bone orientation...I think

Claude:
Don't understand your question,but let me explain how I
see it and lets hope it helps.

With Euler if you do a X rotation of the bone,the YZ axis also
are rotated.When you do the Y rotation,it's relative to the new
location of the Y axis and the XZ axis also
are rotated.When you do the Z rotation,it's relative to the new
location of the Z axis and the XY axis also
are rotated.The final axis location is transfered to the child bone.
Rotate a bone in Anim8or with the axis shown,you'll see what
I mean.

I've never done a converter,but I would say:
-both side should be Euler with order of rotation XYZ
-system axis both right handed
-first bone(root bone in Anim8or) aligned with Y axis before any rotation is applied(could  that
be your problem?)
If something is different you need to correct the data.

Hope I didn't forget anything.

SubDrag:
I get the concept, but unfortunately I'm very stuck on the math :(  Does anyone have any help?  basically, my angles are in euler XYZ, assuming normal axes, but anim8or's rotations are euler, but about the bone's orientation.  I can't figure out how to convert.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version