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
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.