[SDL] 2D with openGL & SDL
Alan Wolfe
Atrix2 at cox.net
Wed Jul 18 09:11:25 PDT 2007
I did a 2d side scroller in GL
Extremely fast rendering, with "free" rotation, scaling, skewing, tinting,
alpha, etc.
It was a good experience :P
-----Original Message-----
From: sdl-bounces at lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org] On
Behalf Of Mike Powell
Sent: Wednesday, July 18, 2007 12:33 AM
To: A list for developers using the SDL library. (includes SDL-announce)
Subject: Re: [SDL] 2D with openGL & SDL
benang at cs.its.ac.id wrote:
> Thanks for the reply. The graphics card is a VIA Unichrome. And as
> Matthias Weigand said, probably it's not as good as I want it to be. Also
> the VGA has no driver for Linux. So I use the standard one in the machine.
> I think I should reconsider this some more. But I think I will still
> redesign my rendering engine (or recreate it again from scratch) with
> openGL, but not for the current game. Thanks again.
Okay, so come back to this concept when you can get a better graphics card,
then? :-)
Personally, I'm curious how it would work out. While I've considered doing
something purely 2D in OpenGL, I've never actually tried it, and don't know
how the speed compares.
I've also considered using OpenGL with GLSL (which I guess you don't have
access to) to do a purely sprite-based isometric engine, where every sprite
has a normal map and depth map, allowing for full, fast per-pixel lighting.
Which is really neat in concept.
But then I have to think how much work that would be, compared to just doing
it in 3D to begin with, which will generally produce better results anyway.
_______________________________________________
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
More information about the SDL
mailing list