Basic masking

From Synfig Studio :: Documentation
Revision as of 07:15, 19 February 2010 by Zelgadis (Talk | contribs) (moved Basic Masking to Doc:Basic Masking)

Jump to: navigation, search
Languages Language: 

English • Deutsch • español • français • română • русский


This tutorial gives you an overview of how masking can be done in Synfig.

About masking

Sometimes you want your characters to go behind objects, a building i the background for instance. If you create your background in Synfig you can probably just place the character behind the object in your layer stack but if your background is an image you need to do this by masking.

This tutorial will show you two basic ways of masking; hiding and revealing.

Hiding

In this masking mode everything covered by the mask shape is hidden.
Image:Masking_tut_img_01.png
• create a mask shape and place it above the elements you want to mask, either within the same paste canvas or above it and then encapsulating the mask and elements together.
Image:Masking_tut_img_02.png
• set the blend method of the mask to "Alpha Over".
• Everything below the mask shape will now be hidden.
Image:Hiding_mask.png

Revealing

A revealing mask can be achieved by two different approaches using different blend modes.

Revealing mask method 1.

• Create a masking shape and place it below the elements you want to mask.
Image:Masking_tut_img_04.png
• Set the blend method of the elements you want to mask (robot layer in this case) to "Straight Onto". You can only use this method on one layer at a time so if you have several objects you need to encapsulate those into one paste canvas.
• Everything above the mask will be visible, everything outside will be hidden.
Image:Revealing_mask_1.png

Revealing mask method 2.

This mask method is similar to the hiding mask and a bit more flexible than revealing method 1 in that you don't have to encapsulate everything that should be masked. This mask reveals everything below it, no matter how many layers.
Image:Masking_tut_img_06.png
• Create a mask shape above the objects you want to mask.
• Create a rectangle covering the whole scene.
• Encapsulate the mask and the rectangle, mask above rectangle.
• Set blend method of mask to "Alpha Over". This creates a full mask with a hole in it.
• Set blend method of the mask paste canvas to "Alpha Over". Everything in the hole will be visible and the rest is masked off.
Image:Revealing_mask_2.png

Download tutorial files.


Languages Language: 

English • Deutsch • español • français • română • русский