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

Editing a mask path

From: After Effects Apprentice 05: Creating Transparency

Video: Editing a mask path

I went ahead and quickly finished drawing a quick mask shape around this flower. Now I'd like to go back and clean it up and make it look a little bit better. However, since the mask is cutting out this layer, I can't tell if I've got more flower petal beyond my mask shape or not. Therefore, I prefer to edit masks in the Layer panel, not the Comp panel. To open up the Layer panel, you double-click a layer and you'll get its own special viewer. Make sure the View popup is set to Masks, which it should, and you can turn off the Render switch to go ahead and see your entire layer.

Editing a mask path

I went ahead and quickly finished drawing a quick mask shape around this flower. Now I'd like to go back and clean it up and make it look a little bit better. However, since the mask is cutting out this layer, I can't tell if I've got more flower petal beyond my mask shape or not. Therefore, I prefer to edit masks in the Layer panel, not the Comp panel. To open up the Layer panel, you double-click a layer and you'll get its own special viewer. Make sure the View popup is set to Masks, which it should, and you can turn off the Render switch to go ahead and see your entire layer.

Now you see the mask outline but it won't actually cut out your layer. I also prefer to zoom in on my subject while I am working with masks. You can manually set this to say 200% or even 400%, press the Spacebar to temporarily get the Hand tool, and move to the desired detail inside your layer. If your mouse has a scroll wheel, you can also use the scroll wheel to zoom in and zoom out. Let me go ahead and move tight on some of the details of this flower. I also prefer to edit masks with the Selection tool as opposed to the Pen tool.

With the Pen tool, you have to keep changing context. It's a little more difficult I find to edit. You might also start accidentally drawing a new mask shape. With the Selection tool, I personally find it easier to manage what I'm doing. V is the shortcut to get back to it. Okay, let's clean up some of these mask points. For example, I've got a couple areas here, which really should be sharper edges. However, when I select the points, I see that I have drawn them with Bezier handles and I have got handles sticking out. There is a couple of ways of curing this.

One is to break the handles going through this point and drag them into a more appropriate angle. To do that I hover the cursor over one of the handles and press Command+Option on Mac or Ctrl+Alt on windows to get the Convert Vertex tool, that inverted V. Once I have that, I click on a point and drag and now I can go ahead and move these into position. I only need to break them once. I don't need to keep holding down the keys. Once the handles are broken, they are broken. By the way, if I want to rejoin those handles, if I figure out I made a mistake, I can start dragging a handle and while clicking and dragging add the Option or Alt key and now it will rejoin the handles.

That same trick will work while you are dragging out a shape as well. But for now, I am going to hold Command +Option or Ctrl+Alt, break the handles, and get the desired angle, and drag that V back in shape. Once you do that, you will start finding other problems. You just go ahead and drag your handles the way that you need them to be to get a good shape. Another way to create sharp corners is to just go ahead and convert the vertex itself rather than the handles. Again I'll hover may cursor, hold down Command+Option or Ctrl+Alt to get the Change Direction tool, click, and now I've got a sharp edge right there where that vertex is and I can really position it to be a bit better.

Note, while I am cutting out objects, I really don't want to be outside of the object because I'll pick up a black fringe or some other color from background. If I go in too far, I cut out detail. I prefer to straddle or just be slightly on the inside of my edges. Okay, now that I've done this I am finding some other details. For example, this point might even be superfluous right here. So to get rid of a point I'll hold down the G key, which temporarily toggles the Pen tool. The cursor will switch to a Pen with a minus sign. Click and that point is gone.

Now that I've done that maybe I do need handles here after all. I'll hold down Command+Option or Ctrl+ Alt to get my Change Direction tool. Click, drag a handle, and get the curve that I want. You can keep switching back and forth. If I decide I need to add a point to the line, I don't have enough detail going through the curve, again, I just hold the G key to convert back to the Pen tool and I'll get a pen with a plus, click, and I've got a new point right there. So that's just examples of how you can switch context from your tools and go around and just kind of clean up your mask outline.

Again, I won't make you watch me do the entire thing. If you want to get back down to an overall view of your layer, hold down the Shift key and type the Forward Slash. It will now center image and zoom it to fit your available display. By the way, if you want to select all of the points in your mask very quickly, hold down Option or Alt, click on any single point, and now the entire mask shape will be selected. You can release Option or Alt and drag around the entire mask shape. Maybe you just need to nudge it into place, and you can indeed nudge it using the arrow keys, pressing down and arrow up, a little bit of arrow right there.

You may remember from the previous chapter that it was also the ability to transform the entire shape. Again, double-click along the mask path and now you get a bounding box around your entire mask shape. Hover your cursor over edges like this to go ahead and stretch out your mask or compress it, Command+Z or Ctrl+Z to undo, or rounded corner to rotate your mask around this mask anchor point, there we go. So it makes it very easy for you to take an existing shape, move it to a new location, and otherwise transform it.

I'll undo to get back where I was. Double-click the layer and now I am back to editing a mask. I'll go ahead and drag a marquee around some of the points and edit just those points as a group. I'll undo and go back. Masking is not something you're going to be good at immediately. You will need practice. The more that you do it, the better you'll get out it and the faster you'll be at it. The main thing is go ahead and use curves. Don't draw a mask just by clicking hundreds of individual straight line segments.

That's a real beginner mask and kind of doesn't look so good. Let's go ahead and try to mask the contours of your shape and you'll end up with a good mask. And speaking of matching the contours of your shape, there is a mask tool called RotoBezier which is particularly good at that, and I'll demonstrate that in the next movie.

Show transcript

This video is part of

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

38 video lessons · 12714 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.