JointOrientation这些值意味着什么? [英] JointOrientation What do the values mean?
问题描述
大家好,
我目前正在开发Kinect v2。我在使用骨架和访问jointOrientations时遇到了问题。
每个关节都有4个值(x,y,z,w),但我不知道这些值是什么意思。我想将它们应用于Ogre3D中的网格物体。因此我需要一个四元数。在Ogre3D中,我可以决定轮换是在本地空间,父空间还是世界空间中进行。
有人可以帮助我吗?
谢谢
值是y方向遵循其父级方向的四元数。这是在CameraSpaceCoordinates中,因此您可能需要进行一些数学计算,以便在您的世界空间中将其定位到您的模型。请参阅其他讨论此问题的主题:
Hi guys,
I am currently developing with Kinect v2. I come to a problem when using the skeleton and accessing the jointOrientations.
Each joint has 4 values (x,y,z,w) but I don't know what those valuese mean. I want to apply them to a mesh in Ogre3D. Therefore I need a quaternion. In Ogre3D I can decide if the rotation will be perfomed in local space, parent space, or world space.
Can someone please help me?
Thanks
The values are quaternions where the y orientation follows the direction to its parent. This is in CameraSpaceCoordinates so you may need to do some math to get this orientated to your model in your world space. see other threads that discuss this further:
这篇关于JointOrientation这些值意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!