[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] help with opaque images



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 right of the screen.  In one of my (currently unreleased) games, there is a 3D radar in the top right of the screen done this way.  I've never used ortho, though...