[SDL] OpenGL tile based game question
Alan Wolfe
atrix2 at cox.net
Tue Feb 22 10:24:35 PST 2005
Heya Tobias,
I think the easiest would be #2 - changing the texture coordinates to rotate
the texture
PS this may be considered off topic for the SDL list since people dont
usualy talk about general game programming techniques here, more like they
talk about the SDL libs, problems they have with them, enhancements they
want made to them etc.
For discussions on OpenGL and game programming techniques you may want to
check out www.gameprogrammer.com and subscribe to that mailing list. Many
people from this list are also on that list as well (me included) so head on
over! (:
----- Original Message -----
From: "Tobias Langner" <iso8859-1 at gmx.de>
To: <sdl at libsdl.org>
Sent: Tuesday, February 22, 2005 10:08 AM
Subject: [SDL] OpenGL tile based game question
> Hi
>
> I want to write a tile based game using SDL/OpenGL. I want to realize
> each field/unit by a texturized quad.
>
> My question is this - which is the easiest to draw the field:
>
> - create a OpenGL texture for each of the 4 rotated views of each texture
> - rotate the texture during drawing (can I do that by changing the
> texture coordinates?)
> - rotate the quad?
>
> Thanks for your help.
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
More information about the SDL
mailing list