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

Re: [pygame] how to blit a Surface to screen with OPENGLBLIT arg?



On 8/28/05, Kris Schnee <kschnee@xxxxxxxxxx> wrote:
> Welcome to OpenGHell! As far as I know, you can't just draw 2D objects
> to the screen in OpenGL, even if you're also using Pygame. You have to
> switch to a 2D OpenGL drawing mode, then create a quadrilateral painted
> with a texture rather than _just blitting the image_. This is one way to
> do it:

It doesnt have to be OpenGHell. I try to make things easy, using my
SiGL abstraction. Look for some of the OpenGL projects on pygame.org.
rdypg and pygext and LGT are all designed to make 2D OpenGL  a little
easier.

Sw.