4

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

user229044
  • 232,980
  • 40
  • 330
  • 338
andandandand
  • 21,946
  • 60
  • 170
  • 271

2 Answers2

6

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

Andrew White
  • 52,720
  • 19
  • 113
  • 137
5

How to rotate and then move on that direction?

OpenGL: creating my own camera

Community
  • 1
  • 1
Ned Bingham
  • 2,749
  • 18
  • 23