[PD] chaining pix_masks

IOhannes m zmölnig zmoelnig at iem.at
Sat Sep 14 21:09:49 CEST 2013

On 09/12/13 22:08, David Schaffer wrote:
> Hi, yet another question: is it possible to chain several pix_mask objects?

well, [pix_mask] will *set* the alpha-channel of an image.
if you chain multiple [pix_mask] objects, you can reset the alpha
channel of the image multiple times.
this means that the alpha-masks won't accumulate in any way: if a pixel
had alpha=1 after the first [pix_mask], it could have alpha=0.1 after
the second and alpha=1 after the third [pix_mask].

this is most likely not what you want.
instead, try accumulating the alpha-masks images before you send it to
[pix_mask]'s right inlet.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130914/a80586ea/attachment.pgp>

More information about the Pd-list mailing list