如果世界矩阵和相机矩阵都是单位矩阵,可以省略吗?
这是一个关于当世界矩阵和相机空间矩阵都是单位矩阵时是否需要它们的基本问题。计算二维投影时可以省略它们吗?我很确定它们可以,尽管当我尝试投影一些 3D 点同时忽略它们时,我似乎得到了奇怪的结果,我问,因为这可能直接链接到另一个问题:
This is a basic question about the need for world and camera space matrices when each are identity matrices. Can they be omitted when calculating a 2D projection? I'm pretty sure that they can, although I seem to be getting strange results when I try to project some 3D points whilst omitting them, I ask since this might be directly linked to another question:
Projecting a 3D point to 2D screen space using a perspective camera matrix
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将 3D 点乘以单位矩阵将得到相同的点(根据定义,嗯),因此如果您确定它们是单位矩阵,我认为无需应用它们。
Multiplying a 3D point by an identity matrix will result in the same point (hum, by definition), so I see no need to apply them if you are sure they are identity.