----- Original Message ----- 
From: "Kerry Thompson" <[EMAIL PROTECTED]>


> Any ideas on why the alpha isn't getting copied quite right?
>
Hi Kerry,

Getting the right degree of transparency is a tricky business. I took a
brief look at James code and it creates a new alpha channel.
I would try making a new alphaMaskImage by  duplicating the mask image and
then copying black/white onto it using the original alpha image as a mask in
the copypixel parameters. That way you can over/under expose the mask area
to achieve a better result. You may want to add a blend level too.  I once
experimented with this approach but it uses a complicated manner of
overexposing the alpha only in the transparent areas.

http://www.dia3.de/director/source/composer.htm

Is it possible that the shadow area being masked (ie. having transparency)
is not solid black?

Another idea that might work: I noticed once when using Warner Sharp's
Export bitmap for a screen shot tool of the stage, the image of the stage
had an alpha from the last sprite draw it did in the exported bmp. I had to
kill the alpha to get normal screen shots. If need be, I can look at that
code again and find out if that alpha information could be used.

Frank

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to