A Peg layer is a trajectory that contains no drawings on which you can hook your drawings.
|•||Why Use a Peg Layer?|
|•||The Origin of the Peg|
|•||Adding a Peg to the Timeline|
|•||Adding a Peg to the Network View|
|•||Peg Selection Mode|
A peg is composed of many customizable parameters. These parameters are:
|•||X, Y and Z positions|
|•||X and Y scales|
|•||3D rotation (when the 3D option is enabled)|
You can control a peg’s trajectory the same way as the animated drawing layer.
A peg layer is mainly used to control a series of drawing layers. If you have several drawing layers, such as clouds or a character split into many parts, you can hook those to a peg layer and have them follow a trajectory as a unit. When building a puppet, most of the time you will add a master peg to control your puppet as one object.
Pegs have been used for a long time in the traditional animation process, mainly for registration purposes. Peg holes at the bottom (or top) of animation paper are used to keep all of the sheets even and at the same registration.
There are three peg holes in regular animation paper. The centre peg hole is circular while the left and right ones are rectangular. These rectangular peg holes are located on each side of the page, and four inches away from the centre peg hole.
To keep the drawings together, the animator uses a peg bar. This peg bar has three pins that correspond to the shape and location of the peg holes. Peg bars are normally found at the bottom and top of animation discs.
Before digital compositing, the peg bars were also used to move levels under the camera stand. They were the equivalent of digital trajectories. Harmony makes use of these concepts to create animation and camera moves.
To add a peg:
|1.||Select the layer on which you want to attach a peg.|
|2.||Do one of the following:|
|‣||From the Timeline View layers toolbar, click the Add Peg button.|
|‣||From the top menu, select Insert > Peg.|
|‣||Right-click (Windows) or [Ctrl]+Click (Mac OS X) on the layer and select Add > Peg.|
|‣||In Harmony, select a Peg module from the Module Library and drag it to the Network view.|
The layer that was originally selected becomes a child of the new parent Peg layer. The new Peg layer automatically takes the name of its child layer, with the addition of the suffix -P.
|3.||If you intend to add multiple pegs or if the layer name that was added to the peg does not accurately represent the content of the Peg layer, you can rename it. Clicking the layer name and type in a new name. Or double-click the layer and type a new name into the dialog box.|
|4.||If you did not create your peg layer directly above the layer you intended on parenting it to, then drag the layer you want to attach to the peg and drop it directly below the Peg layer. The indentation of the layer below the Peg layer indicates whether it was correctly attached or not.|
In Harmony, you can add pegs to the Network view using the Module Library view and they will instantly appear in the Timeline view. The modules you add to the Network view will be synchronized with the ones appearing in the Timeline view.
To add a peg in your Network view via the Module Library:
|1.||In the Module Library view, select the Move tab.|
|2.||Select a Peg module and drag it to the Network view.|
|3.||In the Network view, select the Peg module's out port and connect it to a Drawing or Camera module.|
The advanced connections in the Network view are shown in the Timeline view, unless they cannot be reproduced in a timeline layout.
To add a peg to your Network view using a keyboard shortcut:
|1.||In the Network view, position the pointer at the location to which you want to add the new peg module.|
|2.||Add a new peg by pressing [Ctrl] + [P] (Windows/Linux) or [⌘] + [P] (Mac OS X).|
The new peg appears in the Network view.
Making an Automatic Connection to a Parent Peg in the Network View
You can automatically create connections between modules in the Network view without having to drag cables out of the ports.
To create an automatic connection to a Parent Peg:
|‣||In the Network view, select one or several drawing modules that are not parented to any other module.|
|‣||Press [Ctrl] + [P] (Windows/Linux) or [⌘] + [P] (Mac OS X) to add a new peg module to the Network view and automatically connect it to the selected modules.|
|‣||Press [Ctrl] + [Shift] + [P] (Windows/Linux) or [⌘] + [Shift] + [P] (Mac OS X) to add a peg to each individual module.|
In the Transform Tool Properties view, the Peg Selection Mode lets you automatically select the peg layers in the Camera view instead of the drawing layers.
If you animate with pegs instead of animating the drawing layers directly, enable the Peg Selection Mode to avoid having to select in the Timeline view or use the Select Parent Skipping Effects command.
To enable the Peg Selection Mode:
|1.||In the Tools toolbar, select the Transform tool.|
|2.||In the Tool Properties view, click the Peg Selection Mode button.|
|3.||In the Camera view, select an element parented to a peg.|