Advertisement

OGL Camera

Started by November 27, 2002 08:45 PM
0 comments, last by adam17 22 years, 3 months ago
Im trying to write a simple OGL engine but im having problems with the camera. Im using trig functions and the gluLookAt function to make the camera move around. i have worked on this for about a week and a half and have yet to get it to work properly. it wobbles or doesnt move the full range. i need the camera to have 4DOF(up, down, left, right). i can get the target to move left and right fully but the y direction is what i am having problems with. is there an easier way to do this or could somebody give me some tips? i would prefer not to work with matrices. if i need to expand please tell me. [edited by - adam17 on November 27, 2002 9:47:53 PM]
go to www.gametutorials.com
and read the OGL camera tutorials!

You''ll end up with a fully functional camera which you can move, strafe, rotate, and target with the mouse.

------------
MSN: nmaster42@hotmail.com, AIM: LockePick42, ICQ: 74128155
"It''s all part of the conspiracy of conspirators conspiring to conspire their own conspiracies..."
_______________________________________Pixelante Game Studios - Fowl Language

This topic is closed to new replies.

Advertisement