The Keyframe Editor allows you to create and edit keyframed channels for the Animation COMP.
To open the Animation Editor, change any pane to the Animation Editor pane type.
The Animation Editor will display the channels found inside the Animation COMP that is scoped, this is shown in the Path field. Change this path to edit a different Animation COMP by right-clicking on that COMP and selecting Edit Animation....
Click the Add Channel button to create a channel and start animating. The editor lets you create and delete channels, as well as add, edit, or delete keyframes.
Setup for Keyframe Animation
Keyframe animation in TouchDesigner is done in the Animation Editor. The channels and keyframes created are stored in Animation COMPs. Parameters can be animated directly from the parameter using these animation tools. The sections below describe how to work with these tools.
To begin creating keyframe animation in TouchDesigner you first need an Animation Component. Animation Components are where keyframed channel data is stored. Multiple Animation COMPs can be created throughout your project, and Animation COMPs can also be saved out and used in other projects.
The Animation Editor lets you create and keyframe channels for one Animation COMP at a time. To edit an Animation COMP in the editor, right-click on it and select Edit Keyframes...
Working with Channels
When adding a channels, they are created and stored in the Animation COMP referenced in the Path field. To create a channel, add the channel name to the Names field, then click Add Channels. The channel will be created and added to the channel list. Multiple channels can be created at once by specifying multiple channel names in the Names field (explicitly or by using pattern matching) and then clicking Add Channels.
The channel list on the left side of the editor displays all the channels in the current Animation COMP. Only channels selected in the channel list will be displayed in the channel editor graph to the right. Click any channel to select it. Use <Shift>+click to select multiple neighboring channels. Use <Ctrl>+click to add or remove any channel from the selected set.
A channel can be put in a template mode in the channel editor, making it visible but not editable. To template a channel, turn on the pink template flag to the right of the channel's name. Template channels are displayed as dotted lines in the editor.
The image below shows a channel with its template flag turned on.
To delete a channel, click the "X" button to the right of the channel in the channel list.
The channel settings allow you to set the Extend Conditions for channels. Extend conditions define the channel's value outside its start/end range. Select the channel(s) to change its settings, then use the Extend Left and Extend Right menus to set that channel(s) extend conditions. The Default Value field is used when a channel's extend condtion is set to Default Value.
Working with Keys
All channels are created with a start and end keyframe which defines the channel's length.
To add a keyframe to a channel, use Alt+LMB. This will add a single keyframe to the channel under the cursor.
To add a keyframe to multiple channels and a specific time, first select all the channel you wish to add keyframes to (box select the segments you want), then use Alt+MMB.
To add a keyframe to all channels at a specific time, use Alt+RMB. To delete keyframes, select the keyframes then press the Delete button.
When holding down shift, all keys & segments between the clicked on key and the previous & next selected keys or segments will be selected (i.e. range select).
Holding Ctrl and clicking on keys allows you to add/remove the key to the selection.
ALT+MMB now lets you key selected channel segments and ALT+RMB lets you key all channels.
Moving and Editing Keys
To move a key, drag it with the LMB. Multiple keys can be moved by first selecting them and then moving them using left-drag.
Use Shift-LMB to move a keyframe in value or time only.
Tangents can be manipulated by using the LMB on the tangent handles. To break tangent continuity (tie and untie tangents), first select the tangent then press the <t> key.
See also Keyframe CHOP
Future topics: Units, Display Units, Tangents, Velocity, Acceleration.