我想在第一人称射击游戏中像这样在 3D 场景中移动相机风格,我该怎么做?
I want to move the camera inside a 3D scene like this in a first person shooter style, how can I do that?
你的问题相当笼统,所以我将向你指出很棒的 NeHe 教程,它可以比我在 SO 答案所允许的空间中更好地解释这一点...
http://nehe.gamedev.net/data/articles/article.asp?article=08
这个主题可以获取非常深入,但上面的文章是理解矩阵变换及其如何与“相机”交互的良好开端。
Your questions is rather general so I'm going to point you over to the great NeHe tutorials which can explain this far better than I can in the space allowed for SO Answers...
This topic can get very in-depth but the above article is a good start at understanding matrix transforms and how it interacts with a "camera".
如何旋转然后沿该方向移动?
OpenGL:创建我自己的相机
How to rotate and then move on that direction?
OpenGL: creating my own camera
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(2)
你的问题相当笼统,所以我将向你指出很棒的 NeHe 教程,它可以比我在 SO 答案所允许的空间中更好地解释这一点...
http://nehe.gamedev.net/data/articles/article.asp?article=08
这个主题可以获取非常深入,但上面的文章是理解矩阵变换及其如何与“相机”交互的良好开端。
Your questions is rather general so I'm going to point you over to the great NeHe tutorials which can explain this far better than I can in the space allowed for SO Answers...
http://nehe.gamedev.net/data/articles/article.asp?article=08
This topic can get very in-depth but the above article is a good start at understanding matrix transforms and how it interacts with a "camera".
如何旋转然后沿该方向移动?
OpenGL:创建我自己的相机
How to rotate and then move on that direction?
OpenGL: creating my own camera