OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Humvee on 16 Feb 2004, 22:07:28

Title: Alpha Values of resource pic
Post by: Humvee on 16 Feb 2004, 22:07:28
I know ho to add pics and all that
but I wanne add a pic with a part where u can still see all the action true....
How should i edit that part ? what colour should it have...
u know what i mean?
greets
Humvee
Title: Re:Alpha Values of resource pic
Post by: myke13021 on 17 Feb 2004, 17:59:27
uhm...isn't the alpha channel embedded into the pic itself? afaik, at .gif pics i do choose the color which should be used for transparency into the "save as..." dialogue (Corel Photo paint).
Title: Re:Alpha Values of resource pic
Post by: Humvee on 17 Feb 2004, 18:15:09
in .gif images it is mostely the perfect black that is transparent..
But I wanne keep mine in .jpeg format cuz .gif reduces the quality seriously
Title: Re:Alpha Values of resource pic
Post by: Blanco on 17 Feb 2004, 20:31:58
if you have a prog that can handle tga, like photoshop, save your jpg as tga and open it in texview and save it as .paa

Tga can handle transparency very easy.



Title: Re:Alpha Values of resource pic
Post by: Humvee on 18 Feb 2004, 23:13:52
the only thing I wanne know is what i have to do to edit a part of a jpeg to make it look transparant in an cutscenen as a resource picture
greets
Humvee
Title: Re:Alpha Values of resource pic
Post by: deaddog on 19 Feb 2004, 00:16:11
You can't do that with a jpg file.  You have to save as a 32 bit .tga file with an alpha channel.  The black part of the alpha channel is the area which will be transparent.  You then have to convert it to a .paa using texview.