Skip to main content
Inspiring
November 5, 2017
Answered

How do you redraw a mask, for every frame?

  • November 5, 2017
  • 5 replies
  • 16667 views

So instead of moving around all the points, is there a way to just delete the mask and generate a new keyframe with different points? 

    This topic has been closed for replies.
    Correct answer christopheru18772433

    There is no way that we know of to drawing a new mask for a frame.  But you can reset it to a circle, or square, by right the mask and clicking reset to circle/square.  This will delete all your points for that frame, and generate 4 new points into your selected shape.

    5 replies

    Participant
    November 15, 2019

    Yes its possible, draw the first mask double click the layer to get to the layer pannel. At the bottom of the layer pannel you will see a drop down menu with target set to none. Click on the drop down and set target to the mask that you want to target each time you draw a new mask. The dropdown menu is located next to where you toggle the alpha on and off.

    Participant
    May 1, 2019

    After Effects prior to release 8 used to let you keyframe the first mask and then draw a new completely different mask every frame.
    You could actually to from a three point mask to a 100 point mask from frame to frame and it didn't care. It was a better way of handling it than the interpolation stunt they have going now. As a creator I liked having as much control as possible and in my opinion this limitation broke the rotoscoping tool.

    Inspiring
    May 18, 2019

    Dang, shame they got rid of it.  Oh well.

    christopheru18772433AuthorCorrect answer
    Inspiring
    December 22, 2017

    There is no way that we know of to drawing a new mask for a frame.  But you can reset it to a circle, or square, by right the mask and clicking reset to circle/square.  This will delete all your points for that frame, and generate 4 new points into your selected shape.

    Roland Kahlenberg
    Legend
    December 22, 2017

    Sounds like you need to 'remove' a mask - ie, you do not require it for the rest of the shot. I would prefer if you made the last viable keyframe a Hold Keyframe. Then, on the next frame, move the mask onto the pasteboard area of the Comp Panel - ie, outside the active Comp Panel. The draw a new mask for the continuing task at hand - and name it appropriately.

    By analogy, use this same technique to introduce new masks into the scene; as delineated in the last sentence of the para above.

    The rationale for this is to name your masks for their specific tasks - masks can and should be named appropriately, when you have multiple masks on a layer.

    Very Advanced After Effects Training | Adaptive & Responsive Toolkits | Intelligent Design Assets (IDAs) | MoGraph Design System DEV
    Community Expert
    November 6, 2017

    What I'm trying to tell you is that if you draw a mask with the pen tool the fastest and easiest way to animate it is the way I suggested. Short answer: There is no reset for pen tool paths.

    As I tried to point out you do not want to add any new points after you set the first keyframe, you do not want to change the first vertex. It's also almost impossible to get a decent animated mask if you make changes on every frame. If you are doing roto you want as few keyframes as you can get away with, You pick places where the action changes direction and then edit the position of the points, then pick halfway between those keyframes and make any adjustments you need.

    What exactly are you trying to do? If it's roto then the easiest thing to do is create a separate mask for every part you are trying to mask. One mask for the arm, one for the shoulder, one for the head, then animate each of those masks one at a time.

    if you are trying to create original artwork using the pen tool and do something like a hand-drawn cartoon then you still don't want to be creating a new path on each frame unless you want a jerky look because you'll never get it smooth. Cell animators don't even work that way when they draw each cell by hand. They draw the start and end position, then draw the middle position, then they start filling in the gaps using tracing paper and flipping through the drawings. When using a computer you use Onion skinning and AE does not have that feature built in.

    Inspiring
    November 6, 2017

    I'm rotoing, and it's not a large animation project.  It's a 1 minute video, and there are only a few frames here and there that needed to be rotoed and the parts that needed to be rotoed would change from a few point mask, to many.

    I've already completed it, and at this point i just wanted to know how to do this one thing for future reference.

    Using the reset sphere command made it easy, so no big deal.  And if it's true what you say about the pen tool, then i guess those two options, ellipse and rectangle, are our only two options to resetting a mask.

    Community Expert
    November 6, 2017

    In the future for Roto try this trick:

    Another quick example put together for a friend. I have a lot more sophisticated ways of speeding up the Roto process. Most of them involve some kind of stabilization, a null and some simple expressions. I almost never mask directly on a layer but instead set up track mattes. If you have roto that only needs to be done for a few frames you can trim the layer. If you need more than one layer then you can pre-compose them all and just use the pre-comp as a track matte. I did one about a week ago that had about 20 layers, most of them not more than 20 or 30 frames, but some of the layers had four or five masks. I don't think I ever had fewer than 5 frames between a keyframe. Many of them only had 2 keyframes.

    Hope this helps. Rotobrush is good for some things but for most of my roto work, you can't beat an animated mask.

    Inspiring
    November 5, 2017

    Just discovered reset to square/ellipse, kind of what i want.  But would be better to be able to draw out a mask using the pen tool.  Is that possible? Still looking. 

    Community Expert
    November 5, 2017

    When you are editing a mask the first vertex and the number of points are very important. You should not change the number of points.

    It's actually quite easy to select multiple points, transform multiple points, select a single point and convert curves if you do you editing with the Pen tool selected and use the Alt/Option and Ctrl/Cmnd key as modifiers. Play around a little and watch what happens to the cursor as you press modifier keys. maybe this will help, I put it together a while ago to demonstrate mask editing in AE to a friend that could not seem to get the hang of it. It helped him a lot.

    Inspiring
    November 5, 2017

    Thanks for the info, but it's not what i'm looking for.  I just need to know if you can reset the points inside a mask using the pen tool.  Reseting to ellipse does the trick, but using the pen tool to just draw out a new mask would be better.