从真实世界坐标转换为投影空间坐标 [英] Converting from real world coordinates to projected space coordinates

查看:260
本文介绍了从真实世界坐标转换为投影空间坐标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用特定关节的Vector3信息,但我很难找到一种方法来将我的x,y,z坐标(通常在-5到5的范围内)转换为坐标为在XNA的3D世界中使用。

I have been taking the Vector3 information of a specific joint, but I am struggling to find a way to convert my x,y,z coordinates (typically in the range of -5 to 5) to coordinates to be used in the 3D world in XNA.

是否有一些代码可以转换任何人都知道的坐标?任何帮助将不胜感激:)

Is there some code to transform the coordinates that anyone knows of? any help would be greatly appreciated :)

大卫。

推荐答案

这应该是一个相对简单的转型。  您知道3D XNA坐标系是右撇子,对吗?
This should be a relatively straight-forward transformation.  You are aware that the 3D XNA coordinate system is right-handed, correct?


这篇关于从真实世界坐标转换为投影空间坐标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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