Defining boundary shapes, Customizing shape controls – Apple Shake 4 User Manual

Page 843

Advertising
background image

Chapter 27

Warping and Morphing Images

843

You can also lock individual source and target shapes using the lock button to the left
of each shape parameter in that node’s Parameters tab. However, the Lock Shapes
buttons in the Viewer shelf always supersede these individual shape-locking parameter
controls. See “

Parameters in the Warper Node

” on page 846 for more information.

Defining Boundary Shapes

You can use any open or closed shape or single-point shape as a boundary shape to
pin down areas of the image you don’t want to be warped, or to exclude whole areas
of the image from being affected by the source/target shape pairs you’ve created. You
can create as many boundary shapes as you need to lock areas of the image you don’t
want to be warped.

Since boundary shapes are essentially shapes that are both source and target shapes
simultaneously, you also define them using the Connect Shapes button.

To make an unassigned shape into a boundary shape:

1

Select the Warper or Morpher node you’re working on, then create a new shape
outlining the region of the image you want to lock down.

2

To turn this shape into a boundary shape, do one of the following:

Click the Connect Shapes button, then click the shape you’ve created twice.

Right-click the shape, then choose Set as Boundary Shape from the shortcut menu.

The shape turns orange by default to indicate that it’s now a boundary shape, and a
new connection parameter appears in the Parameters tab of the Warper or Morpher
node. By default, each connection parameter that defines a boundary shape is named
after the shape it corresponds to. For example, if the original shape was named
“shape3,” the connection parameter that defines it as a boundary shape is named
“shape3_boundary.”

Turning Boundary Shapes Into Unassigned Shapes

Once you’ve turned a shape into a boundary shape, the only way to turn it back into an
unassigned shape is to delete the connection parameter that corresponds to it in the
Parameters tab of the Warper or Morpher node, using that parameter’s Delete button.

Customizing Shape Controls

Several parameters in the shapeColors subtree of the colors subtree, and in the
shapeControls subtree of the guiControls subtree of the Globals tab, allow you to
customize the color of shapes and behavior shape controls in the Viewer.

Advertising