获取Kinect中关节的位置,并在XNA的角色动画中使用它们 [英] get the positions of joints in Kinect and use them in character animation of XNA
问题描述
我可以在Kinect(Kinect传感器和Kinect SDK)中找到关节的位置。但我在XNA中有一个角色动画。我可以将它们集成到一个项目中。
现在我有一个问题,如何使用kinect的联合位置来更新角色动画?
kinect的联合信息只有位置,但角色动画(骨骼)需要方向和位置?
有人知道如何从kinect的关节位置抓住骨骼的世界矩阵吗?
akira32编程之家雅虎http://tw.myblog.yahoo.com/akira32-akira32
希望这会有所帮助!
Eddy
I can get the position of joint in Kinect(Kinect Sensor and Kinect SDK). But I have a character animation in XNA. I can integrate them in one project.
Now I have a problem how to update the character animation by using the joint positions from kinect?
The joint information of kinect only has the position, but the character animation(bone) need the orientation and position?
Does someont know how to clculate the world matrix of bone from the joint position of kinect?
akira32 編程之家 Yahoo http://tw.myblog.yahoo.com/akira32-akira32
Akira, Kinect SDK Beta does not provide joint rotation data such as you want, but this other thread has a similar request about how to go about calculating this information yourself: http://social.msdn.microsoft.com/Forums/en-US/kinectsdknuiapi/thread/e68a9585-9c9a-4eee-9d9a-52186e5f6fde
Hope this helps!
Eddy
这篇关于获取Kinect中关节的位置,并在XNA的角色动画中使用它们的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!