Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by Martin_HH. 11/17/26 17:02
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (AndrewAMD, Martin_HH, Quad, 1 invisible), 27,743 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rht, MaliceTheMaker, Haitao_Ren, JimSimons, julienp
19249 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Alpha Mask Question/Problem .... #5300
07/06/01 06:42
07/06/01 06:42

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Hi, I was wondering if it is possible to do an alpha mask? Here is an example:


The black and white one would act as the alpha mask; everything that is dark would show through; everything that is light would be invisible; and greys would be in-between. Is there a way to do this with maybe code or something? I noticed in the template there are 2 files for the bullet hole image, one is the actual picture and the other one is the alpha inverse of it but i couldn't find anywhere in the code where it used them. Thanks for the help.
-matt

Re: Alpha Mask Question/Problem .... #5301
07/06/01 08:48
07/06/01 08:48
Joined: Jul 2000
Posts: 478
hamburg, germany
J
jotha Offline
Senior Member
jotha  Offline
Senior Member
J

Joined: Jul 2000
Posts: 478
hamburg, germany
why don´t you just copy the b&w pic as a alpha channel into the coloured one? save as a 32bit tga. no need for code.

Re: Alpha Mask Question/Problem .... #5302
07/06/01 10:02
07/06/01 10:02

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



I have an a4 commercial edition and I don't think it supports the tga format; even if it did support it, how do you make a file like that ( in detail ) with Photoshop 6 or CorelDraw?

Re: Alpha Mask Question/Problem .... #5303
07/06/01 22:01
07/06/01 22:01
Joined: Jul 2000
Posts: 478
hamburg, germany
J
jotha Offline
Senior Member
jotha  Offline
Senior Member
J

Joined: Jul 2000
Posts: 478
hamburg, germany
i´m not sure if A4 supports tga format. test it.
open up both pics in photoshop, select the b&w one with ctrl/a. copy it with ctrl/c to the clipboard. select the coloured pic, open the layers menu, change to channels and add a new alpha channel. now select this channel and press ctrl/v to insert the b&w one into the channel. save this pic as 32bit tga. here we go.

Re: Alpha Mask Question/Problem .... #5304
07/07/01 11:15
07/07/01 11:15

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



If I was going to do it with code how would i do it?
-thanks
-matt

Re: Alpha Mask Question/Problem .... #5305
07/08/01 09:26
07/08/01 09:26

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



I just figured out that A4 doesn't support .tga files. Is there another way to do this? Any help is good since i have been posting about this for several weeks. Thanks
-matt


Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1