Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Combining keylight matte (static) with white solid mask (parented). How can you do this?

  • Combining keylight matte (static) with white solid mask (parented). How can you do this?

    Posted by Jeff Rouric on May 15, 2015 at 11:50 am

    I’m very tired so this will be short. I have a shot on the bus of a sign. I want to put text in the sign but a yellow pole is in the way. I could use the rotobrush but I want to practice alpha matting so I’m doing it that way.

    I doubled my footage, garbage matted the sign, and successful keyed out the yellow pole. Now I need to somehow combine the matte from the keylight layer with a solid that’s masked in the shape of the sign, and parented to move with it as the bus shakes. The challenge is that one layer needs to stay still and the other is parented. As soon as I precompose to try to treat the combination as an alpha matte for the text, the parented thing can’t be parented anymore. If add a mask directly to the keylight layer and parent it, the keyed out area will move too.

    any ideas?
    thanks

    Jeff Rouric replied 10 years, 11 months ago 2 Members · 6 Replies
  • 6 Replies
  • Walter Soyka

    May 15, 2015 at 12:38 pm

    [Jeff Rouric] ” The challenge is that one layer needs to stay still and the other is parented. As soon as I precompose to try to treat the combination as an alpha matte for the text, the parented thing can’t be parented anymore.”

    Duplicate the thing that moves so you can put a copy for parenting in the precomp, too.

    Walter Soyka
    Designer & Mad Scientist at Keen Live [link]
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    @keenlive   |   RenderBreak [blog]   |   Profile [LinkedIn]

  • Jeff Rouric

    May 15, 2015 at 9:07 pm

    Thanks! This worked. I definitely overlooked that. But is this the “correct” way to do this or is it more like a workaround?

    Also, now that I’ve precomped them together, I notice the black part doesn’t work as alpha. The inspector says 255 for alpha over the black part. How do I make that count? Would I have to use the set matte effect or is there something I’m missing?

  • Walter Soyka

    May 16, 2015 at 3:22 am

    [Jeff Rouric] “But is this the “correct” way to do this or is it more like a workaround?”

    Precomping is the only way to combine multiple elements to use as a track matte.

    [Jeff Rouric] “Also, now that I’ve precomped them together, I notice the black part doesn’t work as alpha. The inspector says 255 for alpha over the black part. How do I make that count? Would I have to use the set matte effect or is there something I’m missing?”

    Instead of an alpha track matte, you could use a luma track matte. Then the fill will be matted by the luma from the matte layer instead of its alpha. This makes it a lot easier to generate procedural mattes using traditional image manipulation tools.

    Walter Soyka
    Designer & Mad Scientist at Keen Live [link]
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    @keenlive   |   RenderBreak [blog]   |   Profile [LinkedIn]

  • Jeff Rouric

    May 16, 2015 at 3:55 am

    Thanks, much better now! But I meant is duplicating the parent object into the precomp the best way, or is there a way…like I don’t know, converting child attributes to keyframes embedded in the layer or something…

  • Walter Soyka

    May 16, 2015 at 4:12 am

    [Jeff Rouric] “I meant is duplicating the parent object into the precomp the best way, or is there a way…like I don’t know, converting child attributes to keyframes embedded in the layer or something…”

    You could set up some expressions on position, anchor, scale and rotation, pointing back at the original layer, such that any changes in the main comp would automatically extend into the precomp — but it can get quite complicated if you start parenting the original or sliding it in time.

    I don’t fully understand your layer stack from your original description, so it’s hard for me to say exactly how I’d approach it if I were starting from scratch.

    Walter Soyka
    Designer & Mad Scientist at Keen Live [link]
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    @keenlive   |   RenderBreak [blog]   |   Profile [LinkedIn]

  • Jeff Rouric

    May 16, 2015 at 4:45 am

    Wait, yeah, expressions, that’s it! Ok so I figured out that if you use an expression to parent instead of just the pickwhip…

    myParent = thisComp.layer(“Null 1”);
    myProp = myParent.transform.position;
    value + (myProp.value – myProp.valueAtTime(0))

    (got this from another thread here)

    You can then convert that expression into keyframes. But I think I’ll just stick with the way you suggested. Thanks!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy