[SDL] Question about texture size

Atrix Wolfe Atrix2 at cox.net
Thu Jul 4 12:09:01 PDT 2002

why not just have several 256x256 textures and keep track of which has what?
Unless theres some reason why you can only use a single texture it seems
like that would be a pretty ok way to go, the code would just be a little
bit more complicated (a very weee bit).

----- Original Message -----
From: "Martijn Melenhorst (Prive)" <rheenen at home.nl>
To: <sdl at libsdl.org>
Sent: Thursday, July 04, 2002 10:45 AM
Subject: [SDL] Question about texture size

> Hi people,
> I am writing this 2D-platform game using OpenGL and stuff, and I want to
> store all 'tiles' to be 'blitted' onto the screen into one big texture.
> This way I can use only one texture while drawing the game's background
> which should be really fast. So far, the theory. Now, the question:
> I am thinking about using a 2048x64 or something as this texture, and I
> know that the later graphic cards (like TNT 2, GeForce etc.) will
> support this texture size, but Voodoo 1, 2 and 3 will not. So I would
> render these cards useless. Does someone have a though regarding a good
> average texture size to use to keep maximum compatibility? (256x256,
> which is the max of Voodoo as far as I know, will not work for me, I
> *do* need a bigger texture for this.
> Thanks for any help!
>   With kind regards,
>   Martijn Melenhorst
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl

More information about the SDL mailing list