-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meaning of rotation value for a bone pointing up? #19
Comments
Quake convention is that quaternions are always represented with -w. On Wed, Jan 20, 2016 at 5:44 PM, @roxlu [email protected] wrote:
|
Thanks lsalzman, do you maybe know if a -w has a special meaning regarding rotations? (sorry I guess I'm lacking some quaternion-know-how)? And so... the Thanks! |
For posterity, the reason behind this is that Blender bones are oriented along the Y Axis, not the Z axis. A bone pointing straight up must thus be rotated about the X axis to be oriented straight up and down. Turning on the axis display under Negating all components of the quaternion has no effect on the rotation as there are two quaternions that redundantly describe each unique orientation. Just a side effect of the mathemagical SU(2) double covering of SO(3). |
I'm not sure if this is an issue; it probably isn't but I'm trying to find out a certain value that I get from a very simple model. When I create a cube and one bone which points up into the (blender) Z-axis the rotation value I read from the .iqm file is
-0.71, -0.00, -0.00, -0.71
. This looks like a rotation about the X axis but a +90º rotation should be:0.707107, 0.000000, 0.000000, 0.707107
and a -90º rotation should be-0.707107, -0.000000, -0.000000, 0.707107
. Maybe I'm lacking some quaternion know-how, or maybe it's a different rotation. Could you maybe clarify this?This is the model I'm using:
The text was updated successfully, but these errors were encountered: