Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: diamondgeezer on January 15, 2005, 05:28:10 pm
-
Yo. Blimey, bin a while since I came in here. Anyway, I got me a nice JPG of Nepture but for some reason the pure green background won't work. When I save it as a JPG the 0,255,0 green becomes 0,255,1 which obviously doesn't work. I've tried saving it with both PSP and IrfanView, to no avail. Advise me, if you please
__________________
Diamond Geezer uses MSPaint by preference
-
save it as a TGA.
-
Speaking of true green, that´s what is used for transparent cockpits, right? But what about when we want to give the glass a coloured tint to it? Like dark green, or a smoked glass appearence? How is that done?
-
That can only be done with a 32-bit TGA or DDS, which support an alpha channel. You'd make the section the color you wanted the tint to be and then lower the opacity of that area to ~10% or so.
-
If you're using 256 colour pcxs, there's a workaround for this.
Open the pallette file up in notepad.
Find any instances of 0 255 1 and change them to 0 255 0.
Reapply the pallette in PSP - that shoud sort you out.
-
Originally posted by diamondgeezer
IrfanView
Image|Pallete|Edit Pallete
Works unless you use more than 256 colors.
Edit: Or save it as a TGA. JPGs suck. You can try and convert it to a DDS too without getting crappy artifacts from saving in JPG. (although DDS can be a bit messy too)
Why support for it was added to fs2_open instead of PNG, I'll never know...
-
I asked for help with this over a month ago
I changed the .pcx to a .tga and used that irfran view pallete edit thing to 0, 255, 0 still green border...
-
with TGA you have to use the alpha chanel
-
Originally posted by Swamp_Thing
Speaking of true green, that´s what is used for transparent cockpits, right?
wrong
-
I need a day before I can learn about alpha channels from that tut disk at work. How about Jpegs then, do they need an alpha channel? Quiery why did the alpha channel on the original get lost when all I did was paste the uber earth over the old working background pic (pcx)?
-
you cannot do anything transparent at all with jpegs, and what do you need to 'learn' about alpha chanels, they are a grey scale mask that denotes opacy, there, that's the whole of it, make a mask, editit it to your preference, save to alpha chanle, done.
-
Originally posted by WMCoolmon
... JPGs suck. ...
blasphemer!!!
-
Originally posted by Grimloq
blasphemer!!!
dumbass