如何用手将(x,y,z)坐标作为原点
我想检索手的x y z以构建一个3d模型。问题是原点是它自己的传感器所以当在程序中运行那些坐标来构建网格时我会得到不好的结果
I want to retrieve x y z of hand in order to build a 3d model. The problem is that the origin is the sensor it self so when a run those coordinates in a program to build mesh I'm getting bad result
任何人都可以帮助我plz
Can anyone help me plz
要使用hand作为原点获取坐标值,请从手x,y,z值中减去当前的x,y,z。
For getting the coordinate values with hand as a origin,Do subtract your current x,y,z from your hand x,y,z values.
ex:
将头部坐标值作为原点获取:
getting head coordinate values as hand as a origin:
head.x = head.x-hand.x;
head.x=head.x-hand.x;
head.y = head.y-hand.y;
head.y=head.y-hand.y;
head.z = head.z-hand.z;
head.z=head.z-hand.z;
希望这可以解决您的问题。
hope this solve your problem.
谢谢,
Gowri