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

Re: [pygame] Hardware acceleration



Someone converted the NeHe tutorials 1-10 to python, here:
http://www.pygame.org/gamelets/games/nehe1-10.zip

I got started by working off of the base code SDL has:
http://www.libsdl.org/opengl/OpenGL-intro-1.1.1.zip ( Which is c(++)
code of the NeHe tutorials, which uses SDL + OpenGL ) And converted
the code to Python. ( Pygame is a wrapper to SDL, so its similar )

Somewhere in the PyOpenGL documentation directories it installs a
bunch of python examples.

Also check:

PyOpenGL/documentation :
http://pyopengl.sourceforge.net/documentation/index.html
NeHe tuts: http://nehe.gamedev.net/

The NeHe tutorials are a good place to get started with OpenGL. After
going through the python tutorials, you'll probably be able to convert
the SDL version of NeHe's tutorials on your own.

On Tue, Feb 26, 2008 at 2:04 PM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
>
>
> On Tue, Feb 26, 2008 at 10:49 AM, Jake b <ninmonkeys@xxxxxxxxx> wrote:
> > There's also PyOpenGL which lets you use OpenGL from pygame. ( Cards
> > these days do 2D graphics at a higher FPS if you render them using 3D
> > rather than a regular 2D blit )
>
> I know about PyOpenGL...  But in PyGame?!  How?  I want to know...



-- 
Jake