Post

 Resources 

Console


RE: DX color assignments in 16bpp David Goodlad (2 replies, 0 views) (2000-Jun-20)
-
Actually, that usually doesn't work well either; it seems only to work *properly* in 24 and 32 bit modes. You see, on some video cards, 16 bit mode is represented by: RRRRRGGGGGGBBBBB 5 red bits, 6 green bits, 5 blue bits. This is the most common one. But, sometimes, it's: RRRRRGGGGGBBBBB 5r,5g,5b Also, weird things like: BBBBBGGGGGRRRRR 5b,5g,5r happen. The order has been inverted. It's quite strange. There's no real 'standard'. So, you basically have to be able to pick upp the red/green/blue color masks and use them to create your pixels (which can be a real cpu hog sometimes) David


-
Up One Level | Back to Forum

RE: DX color assignments in 16bpp SLotman (1 reply) (2000-Jun-21)
RE: DX color assignments in 16bpp The Gilb (0 replies) (2000-Jun-21)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 91 visitors within the last 20 minutes
RSS News Feed