Author Topic: Background images and true green-related annoyances  (Read 1526 times)

0 Members and 1 Guest are viewing this topic.

Offline diamondgeezer

Background images and true green-related annoyances
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

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Background images and true green-related annoyances
save it as a TGA.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

  
Background images and true green-related annoyances
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?
No Freespace 3 ?!? Oh, bugger...

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Background images and true green-related annoyances
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.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Background images and true green-related annoyances
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.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Background images and true green-related annoyances
Quote
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...
« Last Edit: January 16, 2005, 12:54:08 pm by 374 »
-C

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
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...
"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Background images and true green-related annoyances
with TGA you have to use the alpha chanel
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Background images and true green-related annoyances
Quote
Originally posted by Swamp_Thing
Speaking of true green, that´s  what is used for transparent cockpits, right?  


wrong
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
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)?
"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Background images and true green-related annoyances
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.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Grimloq

  • 29
  • Backslash enthusiast
Re: Re: Background images and true green-related annoyances
Quote
Originally posted by WMCoolmon
... JPGs suck. ...


blasphemer!!!
A alphabetically be in organised sentences should words.

 

Offline Drew

  • 29
    • http://www.galactic-quest.com
Re: Re: Re: Background images and true green-related annoyances
Quote
Originally posted by Grimloq


blasphemer!!!


dumbass
[(WWF - steroids + ties - spandex) / Atomic Piledrivers] - viewing audience = C-SPAN

My god.. He emptied the gasoline tank from the van onto your cat, lit him on fire, threw him in the house and dove for cover.  :wtf: Family indeed.  ~ KT

Happiness is belt fed.