Pos_Mask


Position Mask

To create quick mask using the data contained in the render of “World Position” or “Ref Position”.


This node has several advantages compared to other same kind of tools.

The center of the mask is not set by a “color picker” but with a 2D Position knob which executes callbacks. So it is possible to precisely place the mask regardless of the channel viewed. With the “Overlay” mode, the tool is visually even more convenient.
Visualization in 3D space is also a real advantage in a certain situation, as well as the integration of the “Unpremult” and “Premult” which makes it possible to obtain clean edges.
The tool is fast and easy to use, but still has to have the position pass 😉

Tool details:

P Channel: To select the Position Pass channel.
Shape: To Choose between “sphere” or “cube” the shape that you need.
Center: To adjust the center of the shape.
Scale: To adjust the scale as you want (global and feather).
Overlay: To show the mask on overlay (looking the rgb) and to change the color (none, red, green, blue or black).
3D Options:
– To transform the shape (volume) in 3D.
– To visualize in 3D the input image and the volume that makes the mask. This uses a “position to point” node and it gives the possibility to adjust the “Point Detail” and the “Point Size”.
(Un)Premult: To keep nice shapes on edges.
Mix: To make the mask more or less transparent.

For the creation of this tool, I was strongly inspired by the article written by Matt Estela and Pedro Andrade and similar tools, such as those from Ivan Kokov.