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

Re: [pygame] Extending OpenGL support in Pygame



> YES! Very much! In my personal opinion, the lack of simple drop-in
> OpenGL support that works the same way as the existing Surface class is
> the biggest weakness of pygame.
 
 I don't have knowledge about OpenGL but if I remember correctly, textures (because with opengl your sprites need to be "faces" with textures, simulating the sprite itself) must be power of 2 in size (16x16, 32x32, 64x64, 128x128...).

 This introduces a "handicap" in the sprite sizes that maybe can't allow "simple drop-in" Surface-class replacement...

 But, yes, I also agree that the advantages are very important, specially that GPU rendering would allow really hi-res (hdready and fullhd games, even with multiple scrolls!) even in limited hardware (CPU power systems) such as tablets, and so on.

--
Santiago Romero
Ubuntu GNU/Linux
http://www.sromero.org