Animate content

Explore different animation techniques: linear and non-linear, keyframe-based or procedural animations.

Animation Animation Animation Animation

It is time to bring life to your compos ! This can be done through parameters binding (see Link Icon Link and LinkModifier Icon Link Modifier , Parameter Icon Exposed Parameter ) or through animation (timeline, cues). To address complex scenarios, these two techniques can be mixed together.

It is recommended that you read about Bank before animating or automating your compos.

Here we will review some of the animations user interface properties:

MainTimelines14 MainTimelines14

Toolbar

The toolbar has, like the other element editors, a lock and a menu buttons, and a path pointing to the edited element at its start.

Toolbar01 Toolbar01

Shortcuts:

  • F : fit to screen

  • Shift : Snap


Timeline editor Element Tree

The TimelineWorkspaceComponent Icon Timeline Editor tree is a duplicate of the main ElementTreeWorkspaceComponent Icon Element Tree , but with a little bit more informations. Indeed, you can directly see the parameters of the elements in the tree. All parameters are not displayed; to make it easier to read, it is filtered by the Track View Mode. You can change the Track View Mode in the timeline. It will switch between showing only animated tracks (minimal), showing usually animated tracks (normal) and showing all animatable tracks (full).

ElementTree01 ElementTree01


Tracks vs Curves view

The TimelineWorkspaceComponent Icon Timeline Editor can display an animation in two ways: the track and curve view.

CurveTracksView00 CurveTracksView00

We will first see the tracks view.

There is 2 different kinds of Track :

  • The Track Block which can be either a video layer Transport or a an image/composition track.

  • The parameters tracks which actually is a Keyframe Function and consist in keyframes or curves animating some parameters

Here is an Element track with 3 parameters tracks inside of it

CurveTracksView01 CurveTracksView01

A track is a block matching an object or a layer. Before and after that block, the element is invisible. During it, it is visible and can be animated. The track corresponds to the “life” of the element. For a video or a timeline, it represents its transport.

To play a video inside a Timeline, drag and drop it into the timeline. One track is automatically created.

By CTRL+Clicking on the timeline in the video layer’s row, you can create a new Track Block . By default, the track will have the length of the video layer.

Selecting the track itself allows you to set parameters such as fade-in, fade-out, begin, end, loop, etc.:

MainTimelines12 MainTimelines12

You can also split a track at the current time with [Ctrl+Shift+D]:

MainTimelines13 MainTimelines13

You can use tracks to activate and deactivate elements to improve the performances of your compo. You can also use it to play a video, like in a standard video editing software.

Now we have a Parameter track :

CurveTracksView02 CurveTracksView02

A parameter track is a collection of keyframes.

To add a Keyframe in a track, CTRL+click or use the keyframe manipulator of the user interface. You can select one or more keyframe(s) and its properties will be displayed in the ParametersWorkspaceComponent Icon Parameters Editor .

Navigate from keyframes to keyframes with J/K or the Keyframe manipulators.

CurveTracksView03 CurveTracksView03

When values do change between keyframes, the space between them is highlighted. In the case of color tracks, you can see the values of the color changing.

CurveTracksView05 CurveTracksView05

The transition from one value to another between keyframes is called the interpolation. Smode performs interpolations between keyframes based on different algorithms.

They can be:

CurveTracksView06 CurveTracksView06

You can change those interpolations by selecting keyframes, in their parameters, by the right click or with ALT+click.

The look of the keyframe is generated by its interpolators:

CurveTracksView07 CurveTracksView07

The curves view allows you to edit your track’s keyframes in 2D instead of a 1D. This brings you a fine tuned control over the animation curves. To activate the mode, first click on the Curves button in the toolbar. The curves you will see in the view will be the rows you select.

CurveTracksView08 CurveTracksView08

You can select more than one row to see more than one curve.

Just like in the tracks view, you can ALT click the view to create a new point. If you want to change its interpolation, right clicking a selection of keyframes will display a menu to quickly set them.

CurveTracksView09 CurveTracksView09

Be careful, the Ease interpolation is not offered in the right click menu yet !

You have to go to the parameters of your selected keyframe and change it with the drop-down menu for input and output interpolator types.

You can also control click a point to cycle through its interpolations :

CurveTracksView10 CurveTracksView10


Change Tracks Function Mode

You can change track mode of any parameter inside of the timeline. By default it will be in “Key” mode (keyframes).

To change track mode, just click here and choose the track mode you want :

Functions Functions

Here is a list of theses modes:

  • Key: Classic keyframe mode. Each key represent the full value (e.g. XYZ). Curve view is not implemented yet for this function. To see curve you’ll have to split dimensions

  • Split (separate): separate the dimensions of a track. Split the XYZ trajectory by combining three independent functions for X, Y and Z.

  • Fx: transform a keyframe track into a simple function (sinus, power, noise, etc.). Go see the FunctionV9 Icon Function part of the doc for further details

  • Custom: allows you to draw a curve inside the FunctionWorkspaceComponent Icon Function Editor .

  • Binary file: allows you to use a existing binary file as recorded source values. File values can have offset and gap. Values can be integer or floating point of different size or endianness.


Trajectories manipulation

If the Placement of TextureLayer Icon 2D Layer or the Position of a GeometryLayer Icon 3D Layer is animated inside of Smode, then it’s position trajectory can be seen inside the ViewportWorkspaceComponent Icon Viewport and is manipulable.

To do so, simply go in edit mode. Trajectories point interpolation can be changed with right click in the ViewportWorkspaceComponent Icon Viewport or with [ALT] + [CLICK] on a keyframe inside the Timeline or FunctionWorkspaceComponent Icon Function Editor .

A point can be added on the curve inside the ViewportWorkspaceComponent Icon Viewport with [CTRL] + [CLICK] either in 2D or in 3D view.

Trajectories01 Trajectories01

Note that both 2D and 3D trajectories work the same way:

Trajectories02 Trajectories02

Trajectories can be used either inside TimelineCue Icon Timeline or through the FunctionWorkspaceComponent Icon Function Editor :

  • Inside the TimelineCue Icon Timeline their units will be in frames :

Trajectories03 Trajectories03

Trajectories04 Trajectories04

Trajectories can be used both for animation and some layers like FunctionSplineGeometryGenerator Icon Function Spline .

FunctionSpline01 FunctionSpline01


You can also check the FunctionWorkspaceComponent Icon Function Editor for further informations.

Tutorial