OpenGL, Java and rotating the camera

I am fairly new to OpenGl, and am trying to code it so that the direction keys control the camera. ie left turns left, right turns right, up moves forward, and down moves back… I am using glFrustum and gluLookAt for my camera.

Any help would be great.

Many Thanks

You should check / search the “OpenGL coding:beginners” forum on this very site.

Use the search function of the board (keywords: camera tutorial) you will find lots of stuff.

Hope that helps.