Viz Artist User Guide

Version 3.14 | Published October 30, 2020 ©

Window Mask

images/download/attachments/50614857/ico_winm.png
Window Mask limits the area into which a Sub-Container of the Window Mask plug-in is rendered to a user-defined rectangular section of the output. It is possible to add a tracking object. If a tracking object is used, it’s bounding box is projected onto the screen and the resulting rectangle is used as a mask.

Note: This plug-in is located in: Built Ins -> Container plug-ins -> Global

Window Mask Properties

images/download/attachments/50614857/pc_winm.png

  • Position X, Position Y: Specifies the upper left corner of the rectangle. The values are scaled in such a way that (0,0) refers to the upper left and (100,100) to the bottom right corner of the screen.

  • Width, Height: Specifies the dimensions of the rectangle in percentages of the screen dimensions.

  • Tracking Object: Provides an alternative to setting the position and dimensions manually. When you drag a container from the scene tree onto this drop zone, the rectangle is automatically adjusted to match the position and size of that container. Inactive toggles tracking on and off. To remove the container click on Reset.

To Use the Window Mask

images/download/attachments/50614857/pc_winm_tx.png

  1. Add a Rectangle geometry to the scene tree, and add material to it.

  2. Open the Rectangle editor and set Width to 200.0.

  3. Open the transformation editor and set Position Y to -36.

  4. Add a new group, and add the Window Mask plug-in to it.

  5. Add a Sphere geometry as a Sub-Container of the group container, and add material to it.

  6. Open the Window Mask editor and drag and drop the Rectangle container onto the Tracking Object drop zone. This should give you a sphere that is partly masked due to the rectangle object.