Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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: https://github.com/fabianhjr/Warfare/blob/master/Engine/object.py#L74.

I just can't figure out how to properly set and keep the camera in a 3rd person perspective. gluLookAt() takes place here: https://github.com/fabianhjr/Warfare/blob/master/Engine/main.py#L133

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: http://pygame.org/news.html, http://pyopengl.sourceforge.net/ 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 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

Browse other questions tagged or ask your own question.