在Kinect中变形模型角色? [英] Deform model character in Kinect?

查看:53
本文介绍了在Kinect中变形模型角色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Kinect SDK的新手。我设法理解了20个骨头到1个角色。但是当我使用任何一个3D模型时,我注意到模型会随着身体的抽搐和变形而移动。

I am new to Kinect SDK. I managed to understand the 20 bones to 1 character. But when i use any of the 3d model, i notice the model will move with jerking and deforming of the body.

我错过了什么让一个合适的模型随着骨骼移动而没有变形?

What do i miss out to get a proper model moving with the skeleton without deformation?

提前致谢。

 

推荐答案

ironboy,

ironboy,

您可以使用SkeletonEngine.TransformSmooth属性为骨架关节指定平滑参数(在此论坛中搜索TransformSmooth和TransformSmoothParameters以查看其他人的示例(例如$) b $ b
http://social.msdn.microsoft.com/Forums/en-IE/kinectsdknuiapi/thread/aad94512-37cf-46b6-a38a-58eb7f354ec2
)需要和你一样的东西。

You can use SkeletonEngine.TransformSmooth property to specify smoothing parameters for your skeleton joints (search for TransformSmooth and TransformSmoothParameters in this forum to see examples of others (such as http://social.msdn.microsoft.com/Forums/en-IE/kinectsdknuiapi/thread/aad94512-37cf-46b6-a38a-58eb7f354ec2) that needed the same thing as you.

请注意,这种方法有一个权衡,因为你平滑运动越多,你在移动身体和时间之间会看到的滞后越多骨架关节得到更新。

Note that there is a tradeoff with this method since the more you smooth out the motion, the more lag you will see between time you move body and time skeleton joints get updated.

希望这会有所帮助,

Eddy

Hope this helps,
Eddy


这篇关于在Kinect中变形模型角色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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