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

Re: [pygame] OpenGL 2D Game



On 5/3/05, Sami Hangaslammi <sami.hangaslammi@xxxxxxxxx> wrote:
> Definately break it up into smaller pieces. Using textures that large
> will outright not work on some older cards, and you should get a much
> better performance by tiling smaller rectangles (256x256 should be a
> good size).
> 
I knew it doesn't work on some cards.
What I was thinking was to detect the max texture size and break the
image acordinglly if needed.
I will try your suggestion too when i implement this.
anyhow i learned about opengl call lists and it everything runs much better now.