Join Ashley Kennedy for an in-depth discussion in this video Masking out part of an image with the AniMatte effect, part of Editing with Composites and Effects in Avid Media Composer.
The AniMatte effect allows you to draw shapes and make mattes from those shapes. Now, this allows you to cut out various parts of different pieces of video and layer, or composite these layers, on top of one another to create a cohesive scene. Now this may sound a little confusing so let's take a look at exactly how this works. All right, so we have our actor in front of the background here and we know from our master sequence that he actually needs to have a window in front of him. So I have the window right here.
And we're going to need to move him to make sure that he fits right in this space. But for now I just want to cut this into the sequence. I'm going to go ahead and mark my track on V3, and overwrite this in by pressing B. And okay, so there's my window. We can't see through it yet, but if we go to the Effect palette, and in the Key category, we're just going to apply the AniMatte effect. Again, nothing happens automatically. We have to open up the Effect Editor. And this is where we start to draw our shapes.
Along the right-hand side are our shape drawing tools. We have the Rectangle tool, the Oval tool, the Polygon tool, the Curve tool, and the Brush tool. Now we're going to be working right now with the Polygon tool. And I'm just going to select it. And what we want to do is we want to cut out this shape right here, and we'll eventually cut this one out as well. But for this movie we're going to focus on cutting out this shape so that we can see our guy behind it. Now there are two ways that the Polygon tool works.
First of all, you can just click and release and then click and release and you'll get straight edges. Or you can click and drag, and click and drag and you get curved edges. And this results in getting Bezier handles. As you can see when I drag I get my Bezier handles, and this will allow me to later manipulate these curves, in any way that I wish. So I'm just following this around. If I don't get it perfect, that's okay because, we can come back later and manipulate it.
So we're almost around, and we just want to join the shape. And we don't have it quite yet. Right now what it's doing is it's showing the shape that I did not draw. What we want to do is see what's inside of the shape. So we come over to the Mode menu and you can see here that we have two options, Key In or Key Out. I want to Key Out in this case. And now we have exactly what we want, except he's not in the frame yet, but we'll fix that.
Usually when you draw an AniMatte shape, you're also going to want to introduce a certain amount of Feathering. Feathering is going to make these edges not so severe, so it's going to blend a little bit into the background. And you do that by just clicking on your horizontal and vertical-- and I'll just do something pretty drastic here so you can see what's happening. But it's basically making that very soft so I don't want to go too much. And if I have my Bias towards 100, it's going to go from the outside of the edges in.
If I have my Bias towards 0, it's going to do the opposite. So I want to kind of have something a little bit like this. Now if I'd like to manipulate this shape, I just double-click, and I get my handles. And if I did make a Bezier curve, like about right here, you can see that I have the ability to manipulate my curve so I want to come in and perfect it a little bit. It's not bad. It's going to work just fine. But just so you see, if you need to tweak it a little bit, you can come in, and then if you double-click again, you can move it.
So you can see what happens. There he is! But we want to make sure to move him over right in front of the window. So, just a little bit more manipulation, and I definitely challenge you to tweak it until it's exactly perfect, but I think it's good for now. We now need to move him in front of the window, which means we just have to come back down to our SpectraMatte effect and I'm going to promote this to 3D. And we'll go ahead and just add a keyframe at the beginning and end, because again, that's good housekeeping.
I'm going to press Command+A to select them both. And now I'm just going to drag him over. And it's not really to scale yet, so let's come into my Scaling parameters, Fixed Aspect so they both go at the same rate. And it's looking better. Okay, so I think that's looking pretty good and let's go ahead and just scrub through it.
All right, I like it very much. I think that what I'd like to do is actually put a tint on the spaceship. It's a little white. So you can do that to AniMatte effects very easily. I'm going to just select V3 again. When you want to apply a different effect to your AniMatte effect, like color, you want to step in. And you can do that by just double-clicking, and we can apply the color effect right here, which I'll do that right now. I'll just click on Image and then Color Effect and drag it on over.
And I'm going to open up the Effect Editor and make sure that's selected. I'm going to go ahead and just go find maybe a nice, bluish-purple. Okay, and just manipulating some of these parameters here to give it a hue that's not so starkly white, like so, maybe it's a little too saturated.
So you can see what we're doing here. We're just basically cutting out parts of the video and layering them. You can nest different effects inside of AniMatte effects. You can layer AniMatte effects on top of one another. So we're looking pretty good here. I challenge you to go ahead and cut out the other window, and finish making this look exactly like a cohesive scene. But we're well on our way to creating our Nova spaceship promo.
- Introducing compositing
- Pulling chroma keys with SpectraMatte
- Animating a chroma key
- Working with luma keys using the 3D Luma Keyer
- Masking out part of an image with the AniMatte effect
- Using AniMatte effects as transitions
- Using alpha channels in keys
- Creating a title sequence using a layered Photoshop file
- Changing the color or characteristics of an area inside the video frame using the Paint effect
- Writing words with the Brush tool
- Cloning and tracking objects
- Removing scratches and artifacts