Join Ashley Kennedy for an in-depth discussion in this video Animating masks with AniMatte, part of Editing with Composites and Effects in Avid Media Composer.
Now that you know how to apply static AniMattes, let's take a look at how to give movements to these layers. In this movie, we'll take a look at how to animate layers using keyframes in the AniMatte effect. Okay, so I have a little animation here and this is basically the view out of the back window of the space craft as you've already left Earth, and now you're leaving the Moon. It's really not to scale, but that's okay. So, I've got another sequence here.
And here are the two images. You can see here now that I'm monitoring the Moon layer. And we've got like a black background behind it. And then if you look at the Earth layer, we have this green background behind it. But I've already applied the movement with 3D Warps, and now we're just going to AniMatte it so that we don't have these ugly backgrounds. Okay, so we're just going to Option+Drag, or Alt+Drag on a PC, our AniMatte effects on top of our 3D Warps, like so.
And I'm going to attack the bottom layer first, so I'm going to first do the Earth. And let's go ahead and open up Effect mode. And we've got two keyframes. And when I'm drawing the shape, I want to make sure that they're both selected. So I'm just going to go into my Oval tool, and we're going to draw an initial shape to key out that green background. And you know, ideally we would have some stars behind it on V1, and you can certainly search through some of the source material to find that, but I've just got a basic black background now.
So, get that exactly right, and then also with both keyframes selected you want to put in some feathering, just going to up the Feathering just a bit. And when you want to choke the matte, which means you want to make sure that you're not bleeding towards the outside, but it's basically going toward the inside. You want to bring your Bias closer to 0. So, we start out fine, but then that doesn't work at the end. So all you have to do to animate your AniMatte is to work with keyframes.
And this is a very simple movement. I'm just going to reshape my AniMatte shape on the second keyframe. But even with more complicated examples, when something is moving in several directions over the duration of the effect, you're just going to add keyframes throughout the effect and then resize as necessary. If you have a more complicated shape that's not a circle, for example, if you drew a polygon, you would just double-click on your shape and then you would receive the direction handles that you could then begin manipulating and changing the shape.
But all we've got is an oval here so we're fine. We are now animating as the Earth is disappearing into the background. That looks good. Now let's go ahead and do the same thing for V3, our Moon. Open up the Effect Editor, and I'm going to click on the first keyframe, but then press Command+A and select them both. Whenever you're drawing a shape you want to make sure they are both selected and then when you put feathering on you want to make sure they're both selected. So again we've got a very simple shape here, and again, we're going to choke the matte, so let's go ahead and introduce some Feathering.
And then move our Bias close to 0. And as I go through the effect, you can see that we're going to need to animate down. So I'm just going to click on the last keyframe, making sure the first keyframe is deselected. And just bring this down a bit. And we'll call that done. So, now we've got our back view out of our spaceship, passing the Moon up.
The Moon is diminishing in a faster rate than the Earth. Which makes sense, right? And they are layering. Everything looks good. And as you can see animating mattes is a fairly straight forward process. And it allows you to introduce a world of motion into your composite scenes.
- 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