JointOrientation这些值意味着什么? [英] JointOrientation What do the values mean?

查看:143
本文介绍了JointOrientation这些值意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我目前正在开发Kinect v2。我在使用骨架和访问jointOrientations时遇到了问题。


每个关节都有4个值(x,y,z,w),但我不知道这些值是什么意思。我想将它们应用于Ogre3D中的网格物体。因此我需要一个四元数。在Ogre3D中,我可以决定轮换是在本地空间,父空间还是世界空间中进行。



有人可以帮助我吗?



谢谢

解决方案

值是y方向遵循其父级方向的四元数。这是在CameraSpaceCoordinates中,因此您可能需要进行一些数学计算,以便在您的世界空间中将其定位到您的模型。请参阅其他讨论此问题的主题:


https://social.msdn.microsoft.com/Forums/en-US/245a3a09-a2e4-4e0e-8c12-b8625102376a/kinect -v2-SDK关节取向?论坛= kinectv2sdk


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:

https://social.msdn.microsoft.com/Forums/en-US/245a3a09-a2e4-4e0e-8c12-b8625102376a/kinect-v2-sdk-joint-orientation?forum=kinectv2sdk


这篇关于JointOrientation这些值意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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