Colormap mode?

BlitzMax Forums/BlitzMax Beginners Area/Colormap mode?

dario(Posted 2005) [#1]
Is there a way to set the graphics mode to use a colormap and map each index in the colormap to a specific (r,g,b) values?

Or does the software always assume RGB mode?

--
Dario


LeisureSuitLurie(Posted 2005) [#2]
I guess if you set the depth to 8 that's what you'd have. As to how to set the pallete, I have no idea.


dario(Posted 2005) [#3]
But when you list all the graphics modes with GetGraphicsMode() there is nothing with 8-bit depth.
--
Dario


ImaginaryHuman(Posted 2005) [#4]
On my iBook I can set the desktop to 256 colors and then run a max app in window mode. The OpenGL just dithers to the best fitting colors. You can turn dithering off, but I don't know if there are really any features to define and play with color palette.

Plus, these days you shouldn't need color palettes. Just work in 16/32 bit.