From bigfug
Jump to: navigation, search

This tutorial will explain how to do basic masking in Painting With Light.

We will start by loading an image, although you can use video too.

Make sure the Textures Window is visible (by enabling it in the Window Menu)

Click on “Load…” to load your image.

PaintingWithLight-Masking-01.jpg

Choose your image. You can load multiple images at once by choosing more than one file.

PaintingWithLight-Masking-02.jpg

The image will be loaded and a thumbnail will appear in the Textures Window.

Click on this thumbnail to select it.

Also, choose the Quad Tool from the tool bar (selected below) and make sure your foreground colour is white (the white square on the toolbar)

Make sure the Mapping Window is available (again, accessible via the Window Menu), make sure the Map Mode is set to Vertex, and click on the Reset button to make all the values the same as below.

PaintingWithLight-Masking-03.jpg

Draw out a Quad and position the image where you would like the subject to appear.

PaintingWithLight-Masking-04.jpg

You can adjust the scaling and offset of the image by using the controls in the Mapping Window to further align the image to where you want it.

Once you are happy with the position, click the Tick on the Tool Bar to set the Quad into place.

PaintingWithLight-Masking-05.jpg

Open the Layers Windows (via the Window Menu) if it’s not already showing and double click on the text that says “Layer 1″ and rename that Layer to reflect the image you’re working with.

PaintingWithLight-Masking-06.jpg

Click the Add button to add a new layer. Double click on the text that says “Layer 2″ and rename it as “Mask”

Set the Mixing Mode to Replace. Your image will disappear but this is just to let you draw the mask cleanly without interference from the image.

PaintingWithLight-Masking-07.jpg

Draw out the mask. Here we’re using the Polygon Tool. Make sure you click “Clear” on the Textures Window to stop using the image texturing.

PaintingWithLight-Masking-08.jpg

On the Layers Window, change the Mixing Mode of the Mask Layer to “Multiply”

PaintingWithLight-Masking-09.jpg

You should now see the masked image

PaintingWithLight-Masking-10.jpg

You can continue to adjust the points of the mask until you are happy.

Don’t forget to click the Tick on the Tool Bar to set the Mask in place once you’re done.

You can use any tool to draw a mask, and you can use gradients, and even video for advanced techniques. Once you have the basics down you can experiment further.

Here’s a mask drawn with the new bezier curve tool available in 1.0.3

PaintingWithLight-Masking-11.jpg

You can also draw the mask first and add the image second, but just make sure your layers are in the right order – the Mask layer should be on top.

If you have any questions, please ask them in the forum.

The spider image is by Ian A. Kirk and is licensed under the Creative Commons Attribution Licence