[SDL] 2D API evolution (SDL 1.3/2.0)
Bob Pendleton
bob at pendleton.com
Wed Aug 16 17:12:08 PDT 2006
On Wed, 2006-08-16 at 12:13 +0200, Torsten Giebl wrote:
> Hello !
>
>
> > But you forget that 2D games can have rotations and scaling etc when
> > done directly using the 3D API's, but SDL 1.3 renderers don't provide such
> > things. Those simple transformations could be done in SW too in real time
> > with a litle bit of limited quality as a fall back. And I have to say that
> > I would think that as a necessity in SDL 1.3. After
> > all SDL 1.3 is a big leap forward from SDL 1.2 so why restrict the drawing
> > system to the old?
>
>
> For me it is okay to add these functions to SDL 1.3 + X/Y-Flipping.
Code that can do general rotations can usually do X, Y flipping too. All
you have to do is flip the texture coordinates. And, while you might not
think that I really mean "texture" I do. 2D texture operations are a
simpler (and sometimes faster) version of 3D texture operations. A good
2D texture handler can scale, rotate, and flip all at once.
Bob Pendleton
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>
--
+--------------------------------------+
+ Bob Pendleton: writer and programmer +
+ email: Bob at Pendleton.com +
+ web: www.GameProgrammer.com +
+ www.Wise2Food.com +
+ nutrient info on 7,000+ common foods +
+--------------------------------------+
More information about the SDL
mailing list