moving the camera

Started by
2 comments, last by Tera_Dragon 20 years, 1 month ago
please will somebody help me. I''m kinda new to ogl, and have been following the tutorials on nehe, but when it comes to moving the camera around I just get lost. I have also tried to use the gametutorials tutorial (sounds strange ) and ultimategameprogramming, are there any other good sites/tutorials out there? or will I just have to struggle until i buy beginning ogl game programming? Thanks for any help Tera
____________________________________________________________Programmers Resource Central
Advertisement
can you ask a more specific question? what specifically is it that confuses you about how to move a camera?

the gluLookAt function takes as it's first 3 arguments the position coordinates of the camera. by changing those, you change the apparent position of the camera in your world.

-me

[edited by - Palidine on March 18, 2004 2:29:37 PM]
Viewing

It's from an old version of the book, but viewing doesnt change much. Hope it helps.

[edited by - Ahkron on March 18, 2004 2:33:54 PM]

Clicky
enum Bool { True, False, FileNotFound };

This topic is closed to new replies.

Advertisement