Skip to main content
GameDev.net gamedev.net
🔒 Locked

24bit vs 16bit

Started by Ratman Mar 25, 2000 at 11:01 PM 8 replies 750+ views
Original Post
Ratman
Ratman
Im considering moving my 2D directx engine to 24bit color. I think the game would look a little better, and (unless Im mistaken) some cards may have weird 16bit configurations (like 4-8-4 or something, not likely, but its possible right?). What is everyone''s opinions? Is it worth it, or is 16bit much faster and worth any trouble it is to use? Thanks Dave Ratti
SiCrane
SiCrane
On the downside: A lot of cards don''t support 24 bit, only 32 bit. Even with 24 bit color, you''re still talking 50% more memory bandwidth than 16 color and 50% more memory to store your images. Many cards are still optimized for 16 bit over 24 or 32 bit.

On the upside: It''s a little more straight-forward to code, and looks a little better.

With that list, I''m inclined to choose 16 bit over 24 bit. The 50% memory bandwidth is a lot.
NuFAN
NuFAN
Hi,
using 24-bits is useless, because it isn''t as fast as using 32-bits, the only point is that it needs less memory, but is more time consuming, since you have to send 2 byte + 1 byte for a pixel which will be slower than 2 * 16 byte or 1 * 32 byte. 16-bit is ok for 2d-graphics, i guess the format''s you''ll have to worry about are 5-5-5, 5-6-5 and 4-4-4-4, other ones are not used anymore (I hope ).

Graphix Coding @
Skullpture Entertainment
http://www.skullpture.de
Graphix Coding @Skullpture Entertainmenthttp://www.skullpture.de
Zipster
Zipster
If it makes you feel better, 8-bit is simply a mini-version of 24-bit
SiCrane
SiCrane
quote:
Original post by Zipster
If it makes you feel better, 8-bit is simply a mini-version of 24-bit

No, it''s not. 8-bit is a palettized color mode. 24-bit encodes color information directly in the data bits. No simple general-case color smoothing functions in 8-bit. No palette animations in 24-bit.
_dot_
_dot_
I haven''t heard of any 4-8-4 combinations on 16bit color. The only ones I heard of are 5-5-5, 5-6-5, and maybe 5-5-5-1 i think(or was it 1-5-5-5)
Zipster
Zipster
quote:
No, it''s not

Uh, SiCrane, let me a little more specific, because you misunderstood me. 8-bit uses a palette, but isn''t it true that each index in the palette has an 8-bit red, green, and blue field? Yes. Similar to 24-bit. That''s where the work "mini-version" came into play. The only reason it''s not as good as 24-bit (not including that 24-bit is not supported on most cards), is that only 256 of those 16.8 million colors can be visible at once.
SiCrane
SiCrane
Actually, depending on the card, 8 bit modes can only have 6 bits of color information per color. And also you said "simply a mini-version." Palettization is a very fundamental change. You can''t label that with a "simply".
iwasbiggs
iwasbiggs
you guys need to let things like that slide. geez =)

just some input, go for 16bit. it''s disgustingly faster on most machines (you want the biggest audience i hope, ex i get 136 fps in 16bit but 56fps in 24bit.).

24bit/32bit doesn''t even look *that* much better, and some cards don''t support one of them. Just about EVERY video card supports 16 bit.

You only have to deal with the weird-oh bit configurations of 16 bits if you want to do d3d or will be locking the surfaces. I hope you stay with 16bit.
___________________________Freeware development:ruinedsoft.com

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.