255 blue doesn't seem to work
255 blue doesn't seem to work
I have been tring to make a building disappear really. What I have done is make it all Blue 255. But it shows up all blue in the game. I have tried this in Photo Shop and paint. Any ideas?
any special pallet editing being done to the pic?
i have found that color indexing via paintshop to take a pic down to 256 colors makes blue 255 no longer 255.
but if you use 24-bit in mspaint it works fine.
to counter act the large size, could just make the texture 1 pixle by 1 pixle. since the building is ghoing to be all one color anyway, the texture wont need to be big.
i have found that color indexing via paintshop to take a pic down to 256 colors makes blue 255 no longer 255.
but if you use 24-bit in mspaint it works fine.
to counter act the large size, could just make the texture 1 pixle by 1 pixle. since the building is ghoing to be all one color anyway, the texture wont need to be big.
Prolly an obvious addition, but... don't use jpeg. The compression messes up the colour indexing (or some such arty term). Bitmap or RLE bitmap is best. AFAIK you can use 256 colours but you need to be somewhat adept at manipulating the palette to preserve the pure blue. Praps hedge can explain it better :)
f
f
a] fooli's dead on. jpeg doesn't support colour indexing, and the compression artifacts will kill the blue.
b] zar's partly right. indexing it will include additional shades of blue if the entire thing isn't entirely blue. if you select the "custom" pallette, you'll often find a number of blues in there. i usually go in and manually set them to 0000ff, which is the hex value for the 0,0,255 rgb blue.
if you're painting an image where part of it is visible, use pencil instead of airbrush -- usually it's the antialiasing that creates the additional blue shades. it'll look a bit crappy, but it's the same effect that happens when you have the colour indexing proper. if it truely is all blue, just use paint bucket tool to make sure you get everything, and set your colour pallette to 1 when indexing. return to the "custom" section and double check it's the correct value for the blue. additionally if it's all blue, can always make the image dimensions nice and small (25px or so) to reduce the impact of saving it as a bmp. i'd suggest 1px but i dunno how video cards might handle that.
saving it as a bmp, if it's indexed you'll only have the option for 8bit. you can check RLE compression to further reduce the size.
ms paint will always save it in whatever bit depth because its colour pallette is only 8bit. the only time paint will give you 24 bit colour is if you paste an image in that has a higher bit depth. photoshop is 32bit colour by default unless your monitor is set to a lower colour depth.
lastly a neat way to get the image all one colour i think, is to select the background layer, then do ctrl+a (select all) and hit backspace. on normal layers, it will clear the selection, but on background or locked layers, it'll fill the selection with the background colour. set your background colour obviously to the blue
b] zar's partly right. indexing it will include additional shades of blue if the entire thing isn't entirely blue. if you select the "custom" pallette, you'll often find a number of blues in there. i usually go in and manually set them to 0000ff, which is the hex value for the 0,0,255 rgb blue.
if you're painting an image where part of it is visible, use pencil instead of airbrush -- usually it's the antialiasing that creates the additional blue shades. it'll look a bit crappy, but it's the same effect that happens when you have the colour indexing proper. if it truely is all blue, just use paint bucket tool to make sure you get everything, and set your colour pallette to 1 when indexing. return to the "custom" section and double check it's the correct value for the blue. additionally if it's all blue, can always make the image dimensions nice and small (25px or so) to reduce the impact of saving it as a bmp. i'd suggest 1px but i dunno how video cards might handle that.
saving it as a bmp, if it's indexed you'll only have the option for 8bit. you can check RLE compression to further reduce the size.
ms paint will always save it in whatever bit depth because its colour pallette is only 8bit. the only time paint will give you 24 bit colour is if you paste an image in that has a higher bit depth. photoshop is 32bit colour by default unless your monitor is set to a lower colour depth.
lastly a neat way to get the image all one colour i think, is to select the background layer, then do ctrl+a (select all) and hit backspace. on normal layers, it will clear the selection, but on background or locked layers, it'll fill the selection with the background colour. set your background colour obviously to the blue
