Stilgar
Junior Member

Posts: 105
Registered: 07-06 |
Unofficial Doom Specs, describing the PLAYPAL lump:
There are 14 palettes here, each is 768 bytes = 256 rgb triples. That is, the first three bytes of a palette are the red, green, and blue portions of color 0. And so on. Note that the values use the full range (0..255), while standard VGA digital-analog converters use values 0-63.
I've read the same about the VGA color range elsewhere, too... so my question is, did the original engine use some video mode that supported a full 0-255 range for the RGB color components, or did it crush the values down to an 0-63 range before using them? If it crushed the values to the 0-63 range, what was the reason for storing them in an 0-255 range?
|