HL? Transparent Textures

HL? Transparent Textures

Re: HL? Transparent Textures Posted by RaPtoR on Sat Jan 1st 2005 at 2:38pm
RaPtoR
212 posts
Posted 2005-01-01 2:38pm
RaPtoR
member
212 posts 61 snarkmarks Registered: Jan 1st 2005 Location: Sweden
Hi everyone!

I have a little problem, i just don't know how to make transparent
textures in HL? . I've got theese .tga files (fences rails etc) that
i've converted with vtex.exe, but i just don't know how to make the
blue sections transparent. Some of them actualy worked first but the
more i try, the more textures stop working.

So, how do i make transparent textures?
Re: HL? Transparent Textures Posted by Foxpup on Sun Jan 2nd 2005 at 2:37am
Foxpup
380 posts
Posted 2005-01-02 2:37am
Foxpup
member
380 posts 38 snarkmarks Registered: Nov 26th 2004 Occupation: Student Location: the Land of Oz
I think the blue has to be the last colour in the palette or something.
Re: HL? Transparent Textures Posted by Forceflow on Sun Jan 2nd 2005 at 8:43am
Forceflow
2420 posts
Posted 2005-01-02 8:43am
2420 posts 451 snarkmarks Registered: Nov 6th 2003 Occupation: Engineering Student (CS) Location: Belgium
This belongs in the editing section.
Re: HL? Transparent Textures Posted by Myrk- on Sun Jan 2nd 2005 at 11:22am
Myrk-
2299 posts
Posted 2005-01-02 11:22am
Myrk-
member
2299 posts 604 snarkmarks Registered: Feb 12th 2002 Occupation: CAD & Graphics Technician Location: Plymouth, UK
<DIV class=quote>
<DIV class=quotetitle>? quoting Foxpup</DIV>
<DIV class=quotetext>I think the blue has to be the last colour in the palette or something. </DIV></DIV>
Please you muppet! Thats HL1! All you have to do is create an alpha channel and then he presto! (The alpha channel is that ev0l layer made of just greyscale, and I think white means seethrough, black solid, but you might wanna un vtf a texture to see).
Re: HL? Transparent Textures Posted by RaPtoR on Mon Jan 3rd 2005 at 5:04pm
RaPtoR
212 posts
Posted 2005-01-03 5:04pm
RaPtoR
member
212 posts 61 snarkmarks Registered: Jan 1st 2005 Location: Sweden
Thanks for the hint Myrk but i didn't get it to work :sad:

I'll provide some screenshots so you'll see the problem,

This is my texture in addobe photoshop: (in swedish, sry)

User posted image

And this is how it looks in WC after compile:

User posted image

What did i do wrong?
Re: HL? Transparent Textures Posted by habboi on Mon Jan 3rd 2005 at 10:01pm
habboi
782 posts
Posted 2005-01-03 10:01pm
habboi
The Spammer of Snarkpit
member
782 posts 178 snarkmarks Registered: Dec 11th 2004 Location: United Kingdom
it is red in the first pic but grey in the other?
Re: HL? Transparent Textures Posted by RaPtoR on Mon Jan 3rd 2005 at 10:37pm
RaPtoR
212 posts
Posted 2005-01-03 10:37pm
RaPtoR
member
212 posts 61 snarkmarks Registered: Jan 1st 2005 Location: Sweden
Yes, it shows where it is black in the alpha channel (since im viewing all the channels at the same time)
Re: HL? Transparent Textures Posted by Myrk- on Tue Jan 4th 2005 at 1:44pm
Myrk-
2299 posts
Posted 2005-01-04 1:44pm
Myrk-
member
2299 posts 604 snarkmarks Registered: Feb 12th 2002 Occupation: CAD & Graphics Technician Location: Plymouth, UK
Well your images don't work anymore so I can't specifically see. I do know however that HL2 uses alpha channels for transparencies, not blue texture 255. In your alpha channel is your black texture 0 0 0 or the black version of red? It has to be greyscale, not colours else it messes up.
Re: HL? Transparent Textures Posted by RaPtoR on Tue Jan 4th 2005 at 9:19pm
RaPtoR
212 posts
Posted 2005-01-04 9:19pm
RaPtoR
member
212 posts 61 snarkmarks Registered: Jan 1st 2005 Location: Sweden
(the pictures above is currently unavalible due to server errors)

Hmm.. ive noticed that Adobbe photoshop is unable to actualy save the
alpha channel in Targa format. The "Save Alpha Channel" checkbox in the
"Save As" window is greyed when i select "Targa (.tga)". And if i open
it again, the alpha channel has disappered. Can tga really support
Alpha channels? If yes, then Addobe Photoshop sux.
Re: HL? Transparent Textures Posted by Foxpup on Wed Jan 5th 2005 at 2:17am
Foxpup
380 posts
Posted 2005-01-05 2:17am
Foxpup
member
380 posts 38 snarkmarks Registered: Nov 26th 2004 Occupation: Student Location: the Land of Oz
Targa does support alpha channels. They save no problem in Corel PhotoPaint. Looks like Adobe Photoshop really does suck.
Re: HL? Transparent Textures Posted by RaPtoR on Wed Jan 5th 2005 at 9:26am
RaPtoR
212 posts
Posted 2005-01-05 9:26am
RaPtoR
member
212 posts 61 snarkmarks Registered: Jan 1st 2005 Location: Sweden
So the only thing i need is some software that supports targa width alpha channel, ok this thread is closed.
Re: HL? Transparent Textures Posted by Myrk- on Thu Jan 13th 2005 at 4:17pm
Myrk-
2299 posts
Posted 2005-01-13 4:17pm
Myrk-
member
2299 posts 604 snarkmarks Registered: Feb 12th 2002 Occupation: CAD & Graphics Technician Location: Plymouth, UK
No, Photoshop supports TGA alpha saving fine... it always has done since like v5 or something, maybe earlier... I advise you stop using your poorly ripped h4x edition and get a good version :razz:
Re: HL? Transparent Textures Posted by Leperous on Thu Jan 13th 2005 at 4:48pm
Leperous
3382 posts
Posted 2005-01-13 4:48pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Try this Photoshop plugin, should give you access to alpha channels: http://home.scarlet.be/~ruben121/Tutorial/targa_plugin.zip
Re: HL? Transparent Textures Posted by SmeTskE on Sun Jan 16th 2005 at 12:24am
SmeTskE
11 posts
Posted 2005-01-16 12:24am
SmeTskE
member
11 posts 11 snarkmarks Registered: Jan 2nd 2005 Occupation: Mapper Location: Belgium
Photoshop supports TGA files, but not alpha channels, the plugin Leperous gave you will fix the problem.

If you still have questions about it, read
my
tutorial
on Transparent Spraypaints, it's the same principe.

GrTz

SmeTskE