[ Converted text/html to text/plain ] As I said, its a 24bit image with an 8bit alpha map making up 32bits.
Draw your image, then select the areas you want to be invisible, then from the menu select "Selection -> Save to Alpha Channel". Presto. >Wait a sec, I have paintshop pro and I have never been able to get a TGA to >work with half-life, I always have my friend do it for me. He uses >photoshop. My versin of PSP can not do 32bit TGS, it only goes up to 24. I >use PSP7, do I need a different version? > > > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Michael Shimmins >Sent: Tuesday, November 25, 2003 3:27 PM >To: [EMAIL PROTECTED] >Subject: RE: [hlcoders] Question about tga vgui images > >VGUI TGA images are no like HUD Sprites. They do not draw one colour >transparent by default. > >Translucency is controlled by an alpha map in the image. Black is >transparent (or white?) and white is opaque (or transparent?) and the in >between is a gradient difference of the two. > >You need to u! se a 32bit TGA file format, the first 24bits are the colour, >the next 8bits are the alpha map. > >Photoshop has some problems with alpha from memory, Paint Shop Pro works >like a charm. > >Hope this help. > >Michael Shimmins >Sesechial Software > >Phone: +613 9504 3665 >Fax: +613 9504 3488 >Mobile: 0407 643 414 >_______________________________________________________ >Important - This email and any attachments may be confidential. If received >in error, please contact us and delete all copies. Before opening or using >attachments, check them for viruses and defects. Regardless of any loss, >damage or consequence, whether caused by the negligence of the sender or >not, resulting directly or indirectly from the use of any attached files our >liability is limited to resupplying any affected attachments. Any >representations or opinions expressed are tho! se of the individual sender, >and not necessarily those of Sesechial Software. > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of tei >Sent: Tuesday, 25 November 2003 8:00 PM >To: [EMAIL PROTECTED] >Subject: Re: [hlcoders] Question about tga vgui images > > >0,0,1 is also black for human eyes > >Kyle wrote: >> This is a multi-part message in MIME format. >> -- >> [ Picked text/plain from multipart/alternative ] >> In regards to these functions relating to the vgui: >> >> >> >> LoadTGAForRes( >> >> setImage( >> >> >> >> Is there any way to load a TGA file and draw it without a transparent blit >> of the RGB (0,0,0) >> >> In other words I want to draw b! lack. >> >> -- >> >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> > > > >_______________________________________________ >To unsubscribe, edit your list preferences, or view the list archives, >please visit: >http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > >_______________________________________________ >To unsubscribe, edit your list preferences, or view the list archives, >please visit: >http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > >_______________________________________________ >To unsubscribe, edit your list preferences, or view the list archives, please visit: >http://l! ist.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

