如何在骨架上绘制一个3d点 [英] how to draw a 3d point on skeleton frame
问题描述
你好,
这次我的问题更准确。
如何在骨架上绘制3D点而不是骨架的联合!
感谢您的帮助,我将非常感激!
DKF
您可以获取关节坐标并对其进行必要的计算,并在返回的答案上绘制一个点。
如果您使用的是WPF,则DrawingContext应该具有使用Brush对象绘制点所需的全部内容。请记住,SkeletalFrame对象中的(x,y,z)坐标不是WPF窗口坐标的1:1映射,因此您需要将
转换后的坐标转换为WPF值。
hello,
my question is more accurate this time.
how to draw a 3D point on the skeleton frame and not a joint of the skeleton frame !
thank you for any help, i will really appreciate it !
DKF
You could get the joint coordinates and perform necessary calculations on those and draw a point on the returned answer.
If you are using WPF, DrawingContext should have all you need to draw a point using a Brush object. just remember that the (x,y,z) coordinates in the SkeletalFrame object are not a 1:1 mapping of the coordinates of a WPF Window so you will need to convert the returned coordinates to WPF values.
这篇关于如何在骨架上绘制一个3d点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!