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

Re: [pygame] blitting from-to surface with per-pixel alpha doesn't work...



Once you've managed setting up a working PyOpenGL environment (never done it myself, so no tips or anything) I'd highly recommend looking into NeHe's OpenGL tutorials at http://nehe.gamedev.net

They're written in C, but for the most part all of the drawing stuff is the same.  I believe they've even ported a fair number of the tutorials over to Python.



On 11/28/05, Randy Kaelber <randy@xxxxxxxxxxxx> wrote:
On Mon, Nov 28, 2005 at 01:53:25PM -0500, Matt Bailey wrote:

> I would probably still use software rendering for anything like a card game,
> strategy game (maybe), or any of the myriad of classical desktop puzzle
> games. For most realtime stuff, I'd go with OpenGL.

What resources would you recommend for learning how to work with OpenGL?
Everything I've seen so far I've really had a hard time wrapping my brain
around, and I'd like to think I'm a fair to middlin' programmer and I'm
certainly not a math-o-phobe (though my linear algebra is a mite bit
rusty).  I've tried to teach myself OpenGL and each time I only feel like
I half get it.  I just haven't had any "aha!" moments with it yet.


--
Randy Kaelber                                        randy@xxxxxxxxxxxx
Scientific Software Engineer
Mars Space Flight Facility, Department of Geological Sciences
Arizona State University, Tempe, Arizona, USA