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

Re: [pygame] Extending OpenGL support in Pygame



On Thu, 2012-04-05 at 18:00 +0200, Santiago Romero wrote:
>  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...

I believe that's just textures, as in images that are imported. Thus, it
would not affect the base Surface class or the draw module. It's
something that may need to be considered if pygame.image.load() is going
to be supported in OpenGL though.

Attachment: signature.asc
Description: This is a digitally signed message part