[SDL] Ugly images under 16bit X11

James Haley haleyjd at hotmail.com
Mon Nov 13 08:50:11 PST 2006


>On Sun, Nov 12, 2006 at 08:42:07AM +0000, sirk wrote:
> > Simon Roby <simon.roby <at> gmail.com> writes:
> >
> > > Pardon me asking, but I'm curious as to why you can't use 24/32 bit?
> > > Are you running on some special embedded hardware? Or is it one of
> > > those old 3dfx cards that could only do 16bit?
> >
> > Yep, special embedded hardware.
> >
> > Thanks to everyone for your answers, this won't be the last you see of 
>me.
>
>Wow, I wouldn't image you'd see THAT much banding at 16bpp.  You sure
>it's not something wacky like 12bpp (4096 color)? :)
>
>--
>-bill!
>bill at newbreedsoftware.com
>http://www.newbreedsoftware.com/

Actually you will. I wrote a menu subsystem for a game I was working on
that did the Final Fantasy VII-style fade from one side of the menu rect to
the other using a precalculated color ramp. In 32-bit it was perfectly 
smooth,
but in 16-bit it looked like stripes. I added some code for such video modes
that randomized the edges and it looked a bit better (I didn't know how to
implement true dithering :P ).

James Haley

_________________________________________________________________
Add a Yahoo! contact to Windows Live Messenger for a chance to win a free 
trip! 
http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us&hmtagline





More information about the SDL mailing list