Take the 2-minute tour ×  I don't want to get into complex
trigonometry to calculate rotations and things like that for my
3D world so gluLookAt seems like a nice alternative. According
to the documentation all I need to do is place 3 coordinates for
the cameras position, three for what I should be looking at and
an "up" position. The last made no sense until I assumed it had
to be at right angles with the line of sight in the direction
the top of the screen should be.  It doesn't work like that at
all. I have some python code. This is the code which initialises
some data and some mode code for when I enter this part of the
game:  def init(self):     self.game_over = False     self.z =
-30     self.x = 0 def transfer(self):     #Make OpenGL use 3D
"game.engage_3d(45,0.1,100)" basically sets up the projection
matrix to have a 45 degree angle of view and near and far
coordinates of 0.1 and 100.  The first gluLookAt puts the camera
in the correct position, nicely.  I have a cube drawn with the
centre of (0,0,0)