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

Re: [pygame] Clone/game request: Chain of Command



On Fri, 16 Apr 2004, Jan Ekholm wrote:
> It is a bit of a shame that OpenGL seems a bit hard to use with Pygame and
> Python in general. I tried PyOpenGL a few years ago and it worked but was
> a pain to get up and running and it wasn't possible to use normal Pygame
> 2D graphics. Once you enter the world of OpenGL you are forced to
> everything the OpenGL way, including stuff like fonts, status displays
> etc. And that is a PITA, my friends.

What do you mean by "pain to get up and running"? The amount of code 
required to initialize all the OGL stuff or installing dependencies etc.?

And about the rest, it isn't actually all that bad. You can use
pygame.draw and fonts et al to draw to an in-memory pygame surface and
then convert it to an ogl texture on the fly to display it.

--
Sami Hangaslammi