Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Swamp_Thing on June 15, 2005, 10:37:29 am

Title: Help!! Transparency on a texture.
Post by: Swamp_Thing on June 15, 2005, 10:37:29 am
I need help figuring something out. I want to make a see-through texture, using a previouslly made texture.
Here´s an example:
Using this texture,
(http://images5.theimagehosting.com/mapd2.jpg) (http://www.theimagehosting.com)

i want to transform the black portions of this texture into a transparent, slightly tinted, see-through texture. Is there a way i can select all the black areas, and then swap the color for a transparent one? Or select all the black areas and change their  opacity?
This is supposed to be used on a console, where the guy manning it can look at the computer screen and see the data on it, and yet still be able to see past it.
I have Photoshop, so every tip should be made with photoshop in mind.
The texture is supposed to be used here:
(http://images5.theimagehosting.com/PilotBriefingConsole1.jpg) (http://www.theimagehosting.com)


Notice how the screens are transparent, but the texture is not. What i want is that texture to highly visible, yet transparent. The red and orange parts will be bright and almost completelly opac, while the black areas would be totally transparent.

So, how can i do this to this texture in particular? If i was making a texture from scratch, i would know how to do it, but i want to use this particular texture.
Anyone can help me?
:(
Title: Help!! Transparency on a texture.
Post by: aldo_14 on June 15, 2005, 11:07:29 am
I'd suggest just copying the image, grayscaling it, and using it as an alpha channel.  Twiddle with the contrast and brightness a bit (to get the right balance of light versus dark in terms of opacity), and roberts your fathers brother.
Title: Help!! Transparency on a texture.
Post by: Swamp_Thing on June 15, 2005, 11:28:08 am
Quote
Originally posted by aldo_14
and roberts your fathers brother.


Say what?
:nervous:
Title: Help!! Transparency on a texture.
Post by: Goober5000 on June 15, 2005, 02:28:04 pm
Bob's your uncle.
Title: Help!! Transparency on a texture.
Post by: kasperl on June 15, 2005, 02:42:47 pm
Anyone care to explain the etymology here?
Title: Help!! Transparency on a texture.
Post by: StratComm on June 15, 2005, 02:47:36 pm
Not particularly, no :p
Title: Help!! Transparency on a texture.
Post by: aldo_14 on June 15, 2005, 02:49:01 pm
http://tafkac.org/language/etymology/bobs_your_uncle.html
Title: Help!! Transparency on a texture.
Post by: Grug on June 15, 2005, 05:25:30 pm
Hehe should update that saying to "Bush is your father". :p
Title: Help!! Transparency on a texture.
Post by: Taristin on June 15, 2005, 05:41:37 pm
ST; since you're using TrueSpace, this is how you do transparency;

Edit: Step one is to right click that...:nervous:
Title: Help!! Transparency on a texture.
Post by: Grug on June 15, 2005, 05:49:45 pm
:lol:

"Raa's 30 second tips."
Hehehe, nice. ;)
Title: Help!! Transparency on a texture.
Post by: Taristin on June 15, 2005, 05:50:58 pm
Well, I *could* have explained it, but I find this way to be alot clearer.
Title: Help!! Transparency on a texture.
Post by: Unknown Target on June 15, 2005, 07:34:14 pm
Oops...I was supposed to make that :nervous:
Title: Help!! Transparency on a texture.
Post by: Grug on June 15, 2005, 07:40:29 pm
:yes: Aye Raa, I find visual aids are often 100x better than words. :)

BTW, the subject matter. I wonder, is that supposed to be the Options section of the FS2 Main Hall? ;7
Title: Help!! Transparency on a texture.
Post by: Goober5000 on June 15, 2005, 08:31:25 pm
Quote
Originally posted by Grug
:yes: Aye Raa, I find visual aids are often 100x better than words. :)
You're one order of magnitude off.  They're 1000x better. :p
Title: Help!! Transparency on a texture.
Post by: Swamp_Thing on June 16, 2005, 07:03:24 am
Yeah, but too bad that´s not what i want. I already know how to make it in TS, i want a texture i can export to Unreal.
Besides, using that technique would make the whole texture transparent, and i just want the black parts done, not the red parts.
EDIT: After trying it, it doesn´t even get transparent, so that doesn´t work with this texture.

PS: I spy with my little eye, my shuttle in the background!! :D
Title: Help!! Transparency on a texture.
Post by: aldo_14 on June 16, 2005, 07:06:26 am
Alpha channel in Photoshop, then save as TGA.
Title: Help!! Transparency on a texture.
Post by: Taristin on June 16, 2005, 07:42:49 am
Quote
Originally posted by Swamp_Thing
Yeah, but too bad that´s not what i want. I already know how to make it in TS, i want a texture i can export to Unreal.
Besides, using that technique would make the whole texture transparent, and i just want the black parts done, not the red parts.
EDIT: After trying it, it doesn´t even get transparent, so that doesn´t work with this texture.

PS: I spy with my little eye, my shuttle in the background!! :D


So, then use the filter that looks like the sobek tiles, and use the map as the guide for what is transparent. (That'd work for TS.) For Unreal, I can't help you.

And yes, that is your shuttle; TS loaded it by itself. It must have been the last thing I looked at in TS all those months ago.