EQInterface Forums

EQInterface Forums (http://www.eqinterface.com/forums/index.php)
-   Graphics modification help. (http://www.eqinterface.com/forums/forumdisplay.php?f=31)
-   -   TGA Alpha Channel Help (http://www.eqinterface.com/forums/showthread.php?t=15411)

stryc9 09-30-2004 11:30 AM

TGA Alpha Channel Help
 
1 Attachment(s)
Hey all,

I have read through as many posts as I could and also looked at the default .tga files to try and match my own custom images but I cannot get my .tga to show up. Nothing at all displays (which I am assuming is an alpha channel problem)

I am using Adobe Photoshop 7.0 and I even tried using Gimp 2.0.

Funny thing though, when I view the default .tga in photoshop, there is no alpha channel listed...just RGB, R, G, & B (four total)

I have also tried saving both with/without the a-channel and 24/32 bit. I just can't seem to figure out what I am doing wrong.

Attached are 2 tga files and my .xml.

Would someone take a look at them and tell me what I am doing wrong exactly? I'm seriously stumped.

Thanks in advance and be gentle...i'm still learning =)

...
stryc9

Tekyn 09-30-2004 12:01 PM

Defining the texture first.
 
You need to add this to your xml file in the begining:

<TextureInfo item = "name_of_file.tga">
<Size>
<CX>256</CX>
<CY>256</CY>
</Size>
</TextureInfo>

Also use hotbuttonicons.tga instead of hotbuttonicons2.tga. Unless u patched photoshop7.0 to 7.0.1 or whatever they called it, the alpha layer is built into the TGA file. you just have to set it to transparent. Hope this solves your issue

stryc9 09-30-2004 01:14 PM

Thank You!
 
Thank you! That worked!

I knew it had to be something simple like that.

It makes sense to me now. I never declared the whole texture. The default HotButtonWnd.xml didn't have it in there because it's in the default EQUI_Animations.xml which list all default textures.

Thank you again.

...
stryc9


All times are GMT -5. The time now is 03:20 PM.

vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.