Hi,
I have a game Im making using pygame and pyopengl using Ian's
SphereCollide ( http://www.pygame.org/project/620/ ) as an example and
Im trying to get a 'radar' on the bottom right corner; similar like the
one here http://www.pygame.org/projects/20/178/ in the screenshot,
except that page
In PyOpenGL, you'll either want to do a call to ortho, or set up another
viewport. The viewport is specified from the bottom left corner of the
screen (as opposed to the top), so if your screen is 800x600, then
glViewport(700,500,100,100) sets up a 100x100 window for you to draw in in
the bottom
Here's an example:
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=42
you can download the Python source at the bottom.
Thanks, Im not sure how more than one viewports work (I couldnt find any
examples), so I think Im just going to draw it manually. Like
http://vamsikrishna.v.googlepages.com/powerdefender
Thanks again.
Cheers
Astan
Ian Mallett wrote:
In PyOpenGL, you'll either want to do a call to ortho, or set