OpenGL的:移动摄像头和QUOT; FPS风格"摄像头、风格、OpenGL、FPS

2023-09-08 10:28:44 作者:“因为想念

我想移动摄像机内部的3D场景这样在第一人称射击游戏的风格,我该怎么办呢?

I want to move the camera inside a 3D scene like this in a first person shooter style, how can I do that?

推荐答案

您的问题相当普遍,所以我要指出,你在伟大讷河教程可以解释比我这个远好于允许的空间SO答案...

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".

 
精彩推荐
图片推荐