Weird results using Kinect for Windsows SDK, XNA and Seated Mode

醉酒当歌 提交于 2019-12-11 04:16:33

问题


I have a weird problem when using Seated Mode in the Xna Example of the Kinect for Windows Developer Toolkit 1.5.1.

The only thing I add to the code is flowing line.

 this.Sensor.SkeletonStream.TrackingMode = SkeletonTrackingMode.Seated;

Did anybody tried using XNA and Seated Mode without having this Problem?


回答1:


This looks like the XNA sample tries to draw all joints. Since only a limited set of joints is available in seated mode, the remaining joints are drawn at a default position.




回答2:


I have tested this, with the line you added and I am pretty sure that this was just a glitch. My kinect (xbox) only had problems when I got within a foot of it, which is normal, so that was just a glitch. Hope this helps!



来源:https://stackoverflow.com/questions/11343002/weird-results-using-kinect-for-windsows-sdk-xna-and-seated-mode

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!