How To Roto Brush In After Effects. Illustrated Tutorial. Part 1.

DISCLOSURE: AS AN AMAZON ASSOCIATE I EARN FROM QUALIFYING PURCHASES.
THIS POST MAY CONTAIN AFFILIATE LINKS, MEANING, AT NO ADDITIONAL COST TO YOU, I EARN FROM QUALIFYING PURCHASES. AFFILIATE LINKS ARE MARKED WITH #ad. "I" IN THIS CASE MEANS THE OWNER OF FILMDAFT.COM. PLEASE READ THE FULL DISCLOSURE FOR MORE INFO.

The Roto Brush tool in After Effects is essential when you want to place something – fx text or a 3D object – between an actor in the foreground and the rest of the post-production scene. And since Roto Brush v2, it’s never been easier.

This 11-step tutorial walks you through all the basic steps you need to know to separate a subject or object from the background in your video.

Below is an easy-to-follow illustrated guide to getting you started with the roto brush tool that includes some best practices tips on getting the best results.

So let’s dive in.

1. Duplicate the layer you want to roto. Rename the new layer roto.

After you’ve imported the footage that needs rotoscoping into your composition, start by duplicating the layer (Ctrl/Cmd + D).

Rename (Enter) the new layer and add the word roto.

2. Double-click on the new layer to open the Layer Panel.

The roto brush tool only works in the layer panel – not in the composition panel. So double-click on the new roto layer you’ve created in the timeline to open the Layer Panel.

3. Select a frame where you can see the whole subject

Find a good frame to start rotoscoping where other things in the scene do not hide parts of your subject. This will make it much easier for the roto brush tool to track your subject.

The frame you select will become your first base frame.

4. Select the Roto Brush tool in the toolbar.

Go to the roto brush in the toolbar or use the shortcut Alt/Option + W.

5. Resize your brush to an appropriate size

Change the brush size by holding down Ctrl/Cmd while dragging the mouse left (or down) or right (or up) at the same time.

Choose an appropriate brush size that matches the subject/object you want to roto.

6. Paint green strokes across the subject/object you want to roto

Start by drawing a single stroke across the subject you want to roto. Draw a stroke by holding down the (left) mouse button and dragging the mouse across the area you want to select.

Then add more strokes until the whole subject is selected.

Resize the brush as necessary to fit the parts of your subject/object.

Best practices:

  • Draw as few strokes as possible for the best results.
  • Don’t draw across the edge of your subject (keep the strokes inside the borders of your subject/object).
  • When rotoscoping a person, it is sometimes useful to draw a stroke for each major body part. Think of it as drawing a stick figure skeleton on top of your subject.

    In difficult cases (fx low contrast footage, footage with similar colors between the subject and the background, or footage with a lot of movement), you might even need to create several roto layers – one for each limb.

    Remember to resize the stroke to fit each part; you might use a broad stroke for a torso and head, a medium-sized stroke for arms and legs, and a thin stroke for fingers.

7. Delete unwanted selections with red Background Strokes

If the roto brush has accidentally selected areas that you don’t want, you can erase these with background strokes.

To paint background strokes, hold down Alt/Option and drag over the area you want to deselect while holding down the (left) mouse button.

Best practices:

  • If you’ve accidentally made a wrong stroke, it’s best to undo that stroke by pressing Ctrl/Cmd + Z.
  • However, if the roto brush has included areas from the background, it’s best to erase the areas by painting over them using the red background strokes.

8. Press the spacebar to start tracking the roto matte selection

Press the spacebar to let the computer calculate the propagation of the matte you’ve selected with the roto brush.

If you want to go frame-by-frame instead, press Pg Up or Pg Dn.

9. Correct lost or unwanted regions

As the roto brush tracks your selected matte, it might start to include or exclude regions of the image, you don’t want.

To correct this, go to the first frame you notice an error and paint a green/red stroke over the area you want to add or remove.

10. Refine the edges of your selection with the Refine Edge Tool

Now it’s time to fine tune the edges of your subject with the Refine Edge Tool.

The Refine Edge Tool comes in handy when you want to roto something like hair or fur.

To select the Refine Edge Tool either:

  • Use the shortcut Alt/Option + W (pressing it multiple times toggles between the roto brush and the refine edge tool)
  • Long press on the toolbar’s roto brush icon so the refine edge tool opens up; then select it.

10. Preview your Roto Brush selection

You can preview your roto brush selection in different ways using the layer panel view options below:

You can toggle on and off each of the view modes by clicking on the buttons above.

You can also change the color and opacity of the different view using the colored square to the right in the image above. You can also change the opacity using the percentage dial – 100% is the default.

The four way view options (from left to right) are:

Refine Edge X-Ray (shortcut: Alt+X / Option+X)

The Refine Edge X-Ray let’s you view your refine edge selection as a black and white alpha.

Alpha (shortcut: Alt+4 / Option+4)

The Alpha button lets you view your selection as a white on black alpha

Alpha Overlay (shortcut: Alt+6 / Option+6)

The Alpha Overlay lets you view your selection on a background overlaid with a solid color you can choose yourself.

Alpha Boundary (shortcut: Alt+5 / Option+5)

The Alpha Boundary shows a colored boundary as an outline around your selection.

Below you can see how the view options look. The first image is with none of the view options turned on.

11. Freeze the roto matte propagation

When you’re satisfied with the roto brush matte, click the Freeze button.

When you freeze the matte, the freeze button turns blue, and the bars in the span view turn purple.

Freezing the propagation caches and locks the matte in place so that After Effects does not re-propagate the edges.

Freezing your matte frees up processing power and makes further adjustments to the matte using the the parameters in the effects panel much faster.

Conlusion

The Roto Brush tool in Adobe After Effects is extremely powerful when you want to separate an object or subject from the background in your video. And since Roto Brush v2 it’s never been easier.

In part 2, we’ll go into the more advanced settings of tweaking the roto brush, and also look at how you can take advantage of some of the legacy features from roto v1 that are still hidden in AE.


FAQ:

How to make a new base frame for the Roto Brush

To create a new base frame with the Roto Brush, you need to draw on a frame outside the current span.

If you want to create a new base frame within a current Roto Brush span, trim the current span to be shorter, to not encompass your current frame.

How to change the length of a span when using Roto Brush

To change the length of a roto span, grab the start or endpoint with the mouse and drag to change the length of the span.

How to adjust the Roto Brush Size?

You adjust the Roto Brush size by holding the ctrl (PC)/cmd ⌘-key (Mac) + dragging the mouse up or down while pressing the left mouse button.


About the author:

Jan Sørup is a videographer and photographer from Denmark. He’s the owner of filmdaft.com and of the Danish company Apertura, which produces video content for big companies in Denmark and Scandinavia. Jan has a background in music, has drawn webcomics, and is a former lecturer at the University of Copenhagen.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.