右翻转四元数以左手coordianates [英] Flipping a quaternion from right to left handed coordianates

查看:147
本文介绍了右翻转四元数以左手coordianates的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从右侧翻转四元数:
X =左到右
Y =前后
Z =从上到下

I need to flip a quaternion from right:
x = left to right
y = front to back
z = top to bottom

要左手坐标,其中:
X =左到右
Y =从上到下
Z =前后

to left handed coordinates where:
x = left to right
y = top to bottom
z = front to back

我怎么会去这样做?

推荐答案

好了,仅仅是明确的,四元数实际上并没有霸道。他们是handless(见四元维基百科的文章)。但是,在转换到从一个四元数的矩阵确实有与它相关螺旋性。请参见 http://osdir.com/ml/games.devel。算法/ 2002-11 / msg00318.html 如果你的code执行此转换,您可能必须有两个单独的函数转换为左手矩阵或右撇子矩阵。

Ok, just to be clear, quaternions don't actually have handedness. They are handless(see wikipedia article on quaternions). HOWEVER, the conversion to a matrix from a quaternion does have handedness associated with it. See http://osdir.com/ml/games.devel.algorithms/2002-11/msg00318.html If your code performs this conversion, you may have to have two separate functions to convert to a left handed matrix or a right handed matrix.

希望有所帮助。

这篇关于右翻转四元数以左手coordianates的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆