Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Following mask paths

From: After Effects Apprentice 05: Creating Transparency

Video: Following mask paths

In addition to having some effects that can draw inside of a mask path, some effects can also draw along with the mask path itself. In the case of Scribble, which we just showed off in a previous movie, you can go ahead and have it do it along the so- called Edge, which is your mask path. But there are also other effects that can stroke that edge or even draw audio waveforms along that edge. Let's play with a couple of those. I'll go back to my project and open up the Comp 07-RotoBezier*starter. Here I have just an interesting flowing background. Again if you don't have access to the exercise files, just bring in any abstract background and you can go ahead and draw a path along it as well.

Following mask paths

In addition to having some effects that can draw inside of a mask path, some effects can also draw along with the mask path itself. In the case of Scribble, which we just showed off in a previous movie, you can go ahead and have it do it along the so- called Edge, which is your mask path. But there are also other effects that can stroke that edge or even draw audio waveforms along that edge. Let's play with a couple of those. I'll go back to my project and open up the Comp 07-RotoBezier*starter. Here I have just an interesting flowing background. Again if you don't have access to the exercise files, just bring in any abstract background and you can go ahead and draw a path along it as well.

Now the first thing I want to do is draw a path that I want my effect to follow. To do that I am going to select the Pen tool and I am going to go ahead and use the RotoBezier option. This way I just need to click a few points and After Effects will automatically fill in the curves between those points. RotoBezier also happens to animate very smoothly. And start clicking and drawing few points just generally following this flowing shape here, coming off the screen there. I am going to use effects to draw along this line so I don't need to come back around and close my mask path.

I'll just return to the Selection tool and now I have what's referred to as an open mask shape. The outline is yellow, which is kind of hard to see against this white so I am going to click on the swatch for Mask 1 and change its color to something like red, something that's very visible. Now this background image happens to animate and I want my line to more or less animate along with that background. So I am going to go ahead and press M to reveal the mask path, enable the keyframe stopwatch for Mask Path. Now let's just drag along and see when this flow kind of hits another major pose.

Let's say right around there. That's kind of interesting. And then I want to start animating my mask path to follow this shape. By default all of the points are selected. I'll just go ahead and marquee the one I want to move and start bending it roughly in shape. I am not going to worry about precise masking here. I am just going for a fun graphical treatment. There, there, down there, and down there. Maybe I'll pull this a little deeper in like that. There we go. Now let's just go ahead and drag along until we see another major pose maybe something like that.

Pull up some points along there, there, there, back up again like around there and just go to some other flow pose like this last one here. Again not being too precise. Just having fun. Move that point up, down. Watching someone else mask I know is very boring. But I want to give you an idea about the process we go through when we actually do this work.

There, and down around there. I'll drag that point out. Okay, let's drag the Current Time Indicator. So it kind of bounces around. It doesn't exactly follow it. I could add more keyframes if I wanted to. But this is fine for what I want to demonstrate in this movie. I have my layer still selected and I'll go search for Stroke to draw a stroke along my mask path. Drag that onto my layer. The color white aren't very visible against the white background so I'll change it to something like purple to go ahead and echo this line. Make it a little bit bigger so you can see what's going on, and turn off my mask path visibility.

And there's my stroked line. It's kind of bouncing around with it. I might pick a slightly contrasting color, something a little more light such as that and the fun thing with Stoke by the way is that it's actually a series of dots. When the spacing is very close it looks like a line. But if you increase the spacing you actually get a series of individual dots that are now visible instead of a solid line. That creates a little bit more fun of an animation going along with this layer. Beyond Stroke, there are some effects that can actually draw graphics that are driven by any sound in your composition.

Here in this comp I have an audio track called CoolGroove and I'm going to press the period key on the extended keypad to preview this audio. (Music Playing) Okay, I've got background layer selected. It still has my mask shape on it. And look for audio effects. I'll start typing in audio. I've got 2 choices, Audio Spectrum and Audio Waveform. I will try Spectrum just for fun. Drag that onto my shape and the default is it's just drawing a pretty boring dotted line.

You need to tell it what to draw along and what to follow. So I am going to say draw along Mask 1 and I am going to say follow with the CoolGroove music layer to give it something to respond to. Now when I preview... (Music Playing) You can see the spectrum bouncing along in response to the music. And you can tweak this out little bit. I usually find I need to bring down the End Frequency to get the spectrum along more of my line. Maybe do a little bit of Hue Interpolation so it changes color over the course of that line.

That's a bit more fun. Finally, I need to change the composite. I want to see that original layer underneath. So I just click Composite On Original and there's my line bopping along and bending along as I animated the stroke path. (Music Playing) So this is an entirely different use for mask paths. We're not creating transparency. Instead we're using them to draw lines, swishes, swoops, and other graphical elements and having effects like Vegas, Stroke, Audio Spectrum, Audio Waveform, draw along those mask paths to create interesting graphics.

Show transcript

This video is part of

Image for After Effects Apprentice 05: Creating Transparency
After Effects Apprentice 05: Creating Transparency

38 video lessons · 12811 viewers

Chris Meyer and Trish Meyer
Author

 
Expand all | Collapse all
  1. 3m 17s
    1. Overview
      1m 17s
    2. Using the exercise files
      2m 0s
  2. 28m 53s
    1. Creating basic mask shapes
      5m 7s
    2. Using advanced parametric shapes
      3m 35s
    3. Basic mask shape editing
      4m 35s
    4. Masking in the Layer panel
      1m 55s
    5. Working with mask parameters
      4m 0s
    6. Animating masks
      5m 52s
    7. Creating vignettes
      3m 49s
  3. 25m 56s
    1. Masking with the Pen tool
      6m 44s
    2. Editing a mask path
      6m 19s
    3. Using RotoBezier masks
      4m 32s
    4. Targeting masks for animation
      3m 13s
    5. Setting the first vertex point
      5m 8s
  4. 19m 7s
    1. The basics of variable-mask feathering
      7m 33s
    2. Exploring variable-mask feathering options
      5m 56s
    3. Exploring visual effects applications
      5m 38s
  5. 7m 55s
    1. Exploring mask modes
      3m 58s
    2. Fading mask opacity
      3m 57s
  6. 11m 48s
    1. Using targeted treatments
      2m 35s
    2. Filling mask shapes
      3m 8s
    3. Following mask paths
      6m 5s
  7. 13m 31s
    1. Using alpha mattes
      3m 48s
    2. Grouping track matte pairs
      3m 40s
    3. Working with luma mattes
      3m 52s
    4. Animating mattes
      2m 11s
  8. 10m 0s
    1. Using Stencil Luma
      3m 5s
    2. Using Stencil Alpha
      2m 5s
    3. Using effects with stencils
      2m 20s
    4. Stacking stencils
      2m 30s
  9. 8m 23s
    1. Quizzler challenges
      1m 18s
    2. Quizzler solution one: One word at a time
      3m 53s
    3. Quizzler solution two: Stroke drawing direction
      3m 12s
  10. 11m 18s
    1. Idea corner one: More masks and effects
      2m 50s
    2. Idea corner two: Transition effects
      3m 44s
    3. Idea corner three: Sequenced layers as mattes
      4m 44s
  11. 16m 29s
    1. Understanding track matte rendering order
      5m 48s
    2. Exploring mask interpolation
      10m 41s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed After Effects Apprentice 05: Creating Transparency.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.