Take the 2-minute tour ×
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

As a quick demonstration, here's an illustration;

Intersecting masks

So I have two shapes (2 and 3), which intersect (4). I want to animate the position (possibly also scale) of these two shapes, while having footage masked inside each numbered area. The shapes should move independently of the footage.

I've gotten as far as masking the footage for 2 and 3, but the intersection is what makes me scratch my head. Is there a way to do this in After Effects CC without any hand-tooling for a mask for the intersecting area?

share|improve this question
    
My first thought: what happens at the intersection? Is it just overlapping footage, like in the middle of a "dissolve"? My second thought: once you figure that out, I'd be tempted to create the #2 masked shot first, then use that as the "background" for the #3 masked shot. But that's after you figure out what happens when they overlap. (The overlapping area COULD be a third masked shot that you layer on top of the other two masked shots.) –  BrettFromLA Apr 22 at 18:49
    
What exactly is your issue? What do you expect to happen when the masks intersect? Are you masking one footage file with both masks at diffrent areas or does mask 2 and 3 have different footage that they are masking? –  Professor Sparkles Apr 22 at 22:40
1  
@ProfessorFartSparkle - it sounds like he wants a different video entirely to play in area 4, so each number has its own video driving it. –  AJ Henderson Apr 22 at 23:32
    
Aaah I see, makes sense now. Then I know an answer for that. –  Professor Sparkles Apr 22 at 23:41

1 Answer 1

up vote 4 down vote accepted

Simply copy the two animated masks to the 4th footage file and set them to "Intersect" instead of "Add". Then they will only reveal the footage that they are applied to when they intersect with another mask. Then put this footage files layer ontop of the others.

Here a screenshot as a reference. enter image description here

share|improve this answer
    
This was the best way I could think of too. –  AJ Henderson Apr 23 at 2:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.