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

Re: [pygame] Re: GSoC



Ian Mallett wrote:

To do a 2D view:

glMatrixMode(GL_PROJECTION)
glLoadIdentity()
glOrtho(...) or gluOrtho2D(...)
glMatrixMode(GL_MODELVIEW)
glLoadIdentity()

You'll also probably want to turn off depth testing, lighting, etc.
if you previously had them enabled for the 3D view.

--
Greg