Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am currently developing a game set in a planet(A sphere), in which my camera mostly works though some issues arise from this method:

I just can't figure out how to properly set and keep the camera in a 3rd person perspective. gluLookAt() takes place here:

I also have a sun lamp to light the scene. I have been banging my head to the wall, google and GameDev.SE chatrom; Any hint would be appreciated.

To run you need to have the latest Python 2.7.x with the latest PyGame and PyOpenGL modules. You can get them here:, then simply do

python Engine/

Everything is in the public domain except for the media used in resources/models

share|improve this question

closed as off-topic by Josh Petrie Dec 16 '14 at 2:56

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about debugging a problem in your project must present a concise selection of code and context so as to allow a reader to diagnose the issue without needing to read all of your code or to engage in extensive back-and-forth dialog. For more information, see this meta thread." – Josh Petrie
If this question can be reworded to fit the rules in the help center, please edit the question.

You could improve this question by describing what the problem you are having is, perhaps with a screenshot of the wrong result and a diagram of the result you actually want. – Kevin Reid Apr 30 '12 at 21:18