PDA

View Full Version : can i move the camera in opengl?



wrelgamal
04-30-2001, 12:16 AM
can i move the camera in opengl,if yes how can i move it to make navigation inside a 3_D object as a tube.
By way that is very important for me please answer it in detaile,and if you have sample or code for it please send it to me.

TorbenKeil
04-30-2001, 06:33 AM
Yes, ofcourse.

Use gluLookAt(eyex, eyey, eyez, centerx, centery, centerz, upx, upy, upz) to move
and look around.