< Previous | Contents | Next >

Introduction to Masks and Polylines

Polylines are splines that are used whenever a control is animated with a motion path or when a node’s effect is masked with a drawn shape. They are also used in the Paint and Grid Warp nodes. In a more basic form, polylines are used to control the animation in the Spline Editor. Since these splines

are used for just about everything, they are extremely flexible, with a considerable amount of controls, modes, and options. This chapter offers an overview of polylines and their operation, with specific information on how to use them for masks.

Mask Nodes

Mask nodes create an image that is used to define transparency in another image. Unlike other image creation nodes in Fusion, mask nodes create a single channel image rather than a full RGBA image.

The most used mask tool, the Polygon mask tool, is located in the toolbar.

For more information on these mask tools, see Chapter 106, “Mask Nodes,” in the DaVinci Resolve Reference Manual or Chapter 44 in the Fusion Reference Manual.


image

image

The available nodes in the Mask bin of the Effects Library


Polygon Mask

Polygon masks are user-created Bézier shapes. This is the most common type of polyline and the basic workhorse of rotoscoping. Polygon mask tools are automatically set to animate as soon as you add them to the Node Editor.

B-Spline Masks

B-Spline masks are user-created shapes made with polylines that are drawn using the B-Splines. They behave identically to polyline shapes when linear, but when smoothed the control points influence the shape through tension and weight. This generally produces smoother shapes while requiring fewer control points. B-Spline mask tools are automatically set to animate as soon as you add them to the Node Editor.

Bitmap Masks

The Bitmap mask allows images from the Node Editor to act as masks for nodes and effects. Bitmap masks can be based on values from any of the color, alpha, hue, saturation, luminance, and the auxiliary coverage channels of the image. The mask can also be created from the Object or Material ID channels contained in certain 3D-rendered image formats.