From: "Robert Kjettrup" Received: from mail-lf1-f49.google.com ([209.85.167.49] verified) by media-motion.tv (CommuniGate Pro SMTP 6.1.0) with ESMTPS id 7490176 for AE-List@media-motion.tv; Fri, 10 Jan 2020 01:06:10 +0100 Received: by mail-lf1-f49.google.com with SMTP id y19so98974lfl.9 for ; Thu, 09 Jan 2020 16:06:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=yCk02RCCkZ6FIuVZ042KFwt5jMZGL7roMhqevI40Xe8=; b=RRaAkGNNTD75NNV3L7bgD65vBQdunqPKvB9eNUyG36/myW8E+ydk4wWr7AuYAklbO3 jLFQ0vRzObozHA6Y7hJbn2k+FilKp4kDh+ku2+gMdqOiMLtqLrB1yqnVcw4IZH9lWQ2U Sx4uahNHh3W/jXstYJNDOMs2CEaktMWuRJCfKkdiIW/Zla1jwjUMHARV+9uJHyNIVApJ gS+A50HZza9ZX7Ft6LxDPRDUZ0hcAr1nMVkzwePcNJ0M6PUKG1GJ1eLmQ44PVdV/RUnd IzdrBn94hVLj4JS8WSCBJkQ5m011o4iBMgQ6+DxlG+OsoL2xRjpg9r9MDW9kOHA42r+t xIBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=yCk02RCCkZ6FIuVZ042KFwt5jMZGL7roMhqevI40Xe8=; b=WVOCFk/LnVBS3jIc6I6moyWDB//uT+y7cujv/FVXIVrfeUG1pa+Imqsmi8m74KbqYY XrSv2pVOy6r5i6k3svSbqvfu0pPFwLjk+qQLQoPV8r0D8MwGDpspy5iNl/EnzfbILDY4 V1975NAOyoNvVLApDgJR42gatvQ6Te70oWbmpbzTIDiuTSNrrNMeE01O1g52U52kbR9H bFEAyrwK38jYPeMVPL7Onfq7TTRUUJ1dfJ0ZqMf+rHlBGxOTjsORfb30FUCwiGcVjBtg tMiopOk2pvJbuC8lmyrnWaaCANwYDwfL5q4G58IjmznWysusSR15UB2aOt+0YYnQe66F cfYg== X-Gm-Message-State: APjAAAWd6u1pM02lbOsSl+akjHB5Er9gqHZ+bfFijcRrXJZ6XHZAczP4 ty17Ij+dunMpuOvuE39dZpUsmgErCN19yyivl+o5EQ== X-Google-Smtp-Source: APXvYqz1R5ipoVpZYEJetFA7MuIOlZ/hLRunhZ2fPEFJZY/ZmaoRFv5Oc3lyFxcg8rYQdCakAuspk6OhYwUGxgVOAaU= X-Received: by 2002:ac2:5337:: with SMTP id f23mr236018lfh.192.1578614770044; Thu, 09 Jan 2020 16:06:10 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 10 Jan 2020 01:05:59 +0100 Message-ID: Subject: Re: [AE] Keying with multiple masks and zero overlapping To: After Effects Mail List Content-Type: multipart/alternative; boundary="0000000000009b13c9059bbde41e" --0000000000009b13c9059bbde41e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable oh... yes. An idea to get an Max combined matte as Brian mention, is to fill all your layers RGB with white and the transparent with black (Solid Composite set to black), use the Lighten blend mode (works like an Max operator) on all these layers to get your new combined B/W matte. Add an adjustment layer over all these layers with an Unmult effect (get the Mekajiki version), then lastly add your original layer on top over all these set to Preserve Underlying Transparency. Den fre. 10. jan. 2020 kl. 00.11 skrev Ross Shain = : > If you happen to have Primatte Studio (in Continuum) - this is a great > keyer that can handle transparencies and includes the Mocha > masking internally - so you could mix and masks layers with > varying opacity in the one layer. > > When I read this thread, I was reminded of my earlier days in node-based > compositing, where it is very useful to pipe your mattes into math comps = to > combine and keep separate from your fill, then bring it all back together= . > Node-based systems like NUKE or Fusion really are great for this type of > compositing. I am sure you could emulate this with AE and channel your > masks/mattes separately in their own pre-comps and than combine it all > together. > > On Thu, 9 Jan 2020 at 15:41, Robert Kjettrup > wrote: > >> If the mask work is not too complicated to quickly do again in mocha, >> then you could do all the masks with linked masks there, and via the Moc= ha >> plugin get the animated mask paths to copy to the masks on the original >> layers? >> >> but 2 antialiased edges right next to eachother will still not get you a >> 100% tight edge, 50% alpha + 50% alpha does not equal 100% alpha. But th= en >> you maybe could use the Add Alpha blendmodes to get better merge of the >> masks. >> This is a case where it actually would be useful to have the option to >> render masks an un-anti-aliased (guess that is called aliased :-P) to ge= t >> 100% pixel perfect merge of mask alphas. >> >> I dont know if it can be used for your case, but maybe a bit of >> rethinking of the setup and you could do the keying on 1 layer but using >> the masks as Effect Masks instead? >> >> Robert >> >> >> Den tor. 9. jan. 2020 kl. 10.28 skrev Roei Tzoref < >> AE-List@media-motion.tv>: >> >>> Thx Mike, Having a stencil from them for my RGB doesn=E2=80=99t solve m= y Alpha >>> channel problem. >>> >>> *Let me explain it in another way:* >>> >>> I am creating different mattes with semi transparent areas in the >>> overlapping and that causes a problem because the create multiplication= of >>> the alpha information >>> >>> The ideal way to fix this is if the mask could be perfectly adjacent to >>> one another the same way a mask on =E2=80=9Cadd=E2=80=9D and its duplic= ate on =E2=80=9Csubtract=E2=80=9D >>> work. Only that I have more than 2 masks. >>> >>> On Thu, 9 Jan 2020 at 9:41 Mike Abbott wrote: >>> >>>> Could you add a further copy of the original footage on top of all you= r >>>> keyed layers and enable ' preserve underlying transparency' ? >>>> >>> > > -- > > *Ross Shain* > Chief Product Officer / Business Development > Boris FX | borisfx.com > mobile: +1.646.298.6458 > > > > > > > > > --0000000000009b13c9059bbde41e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
oh... yes. An idea to get an Max combined matte as Brian m= ention, is to fill all your layers RGB with white and the transparent with = black (Solid Composite set to black), use the Lighten blend mode (works lik= e an Max operator) on all these layers to get your new combined B/W matte. = Add an adjustment layer over all these layers with an Unmult effect (get th= e Mekajiki version), then lastly add your original layer on top over all th= ese set to Preserve Underlying Transparency.


Den fre. 10. jan= . 2020 kl. 00.11 skrev Ross Shain <AE-List@media-motion.tv>:
If you happen to have Primatte= Studio (in Continuum) - this is a great keyer that can handle transparenci= es and includes the Mocha masking=C2=A0internally - so you could mix and ma= sks layers with varying=C2=A0opacity=C2=A0in the one layer.=C2=A0

When I read this thread, I was reminded of my earlier days = in node-based compositing, where it is very useful to pipe your mattes into= math comps to combine=C2=A0and keep separate=C2=A0from your fill, then bri= ng it all back together. Node-based systems like NUKE or Fusion really are= =C2=A0great for this type of compositing. I am sure you could emulate this = with AE and channel your masks/mattes separately in their own pre-comps and= than combine it all together.=C2=A0

On Thu, 9 Jan 2020 at 15:41, Robert Kje= ttrup <AE-L= ist@media-motion.tv> wrote:
If the mask work is not too complicated= to quickly do again in mocha, then you could do all the masks with linked = masks there, and via the Mocha plugin=C2=A0get the animated mask paths to c= opy to the masks on the original layers?

but 2 antialias= ed edges right next to eachother will still not get you a 100% tight edge, = 50% alpha=C2=A0+ 50% alpha does not equal 100% alpha. But then you maybe co= uld use the Add Alpha blendmodes to get better merge of the masks.
This is a case where it actually=C2=A0would be useful to have the option = to render masks an un-anti-aliased (guess that is called aliased :-P) to ge= t 100% pixel perfect=C2=A0merge of mask alphas.

I = dont know if it can be used for your case, but maybe a bit of rethinking of= the setup and you could do the keying on 1 layer but using the masks as Ef= fect Masks instead?=C2=A0

Robert


Den tor. 9. jan. 2020 kl. 10.28 skrev Roei Tzoref <AE-List@media-motion.tv>:=
Thx Mike, Having a stencil from them for my RGB doesn=E2=80=99t s= olve my Alpha channel problem.=C2=A0

Let me explain it in another way:

I am creating different mattes with semi transparent areas in the= overlapping and that causes a problem because the create multiplication of= the alpha information

The ideal way to f= ix this is if the mask could be perfectly adjacent to one another the same = way a mask on =E2=80=9Cadd=E2=80=9D and its duplicate on =E2=80=9Csubtract= =E2=80=9D work. Only that I have more than 2 masks.
=
On Thu, 9 Jan 2020 at 9:41 Mike Abbott <AE-List@media-motion.tv> wrote:

Could you add a further copy of= the original footage on top of all your keyed layers and enable ' pres= erve underlying transparency' ?



--

Ross Shain
Chief Product Officer / Bus= iness=C2=A0Development
Boris FX |=C2=A0borisfx.com
mobile: +1.646.298.6458








--0000000000009b13c9059bbde41e--