Adding Layers

A layer is the basic element that makes up a composition, which is based on the concept of a stack. When you unfold a layer, you have access to all of its composing elements as well as the functionalities that allow you to move it, resize it, animate it, change its timing, or control the way it's merged with other elements.

In order to be displayed in the composition, a layer needs a source. Without a source, a layer can contain information but it won't be applied to anything. Is this useful? Actually, it is. Imagine a layer as a box. If you put something in the box, you can move it and its content will move as well. If the box is empty, you can still move it. Later, when you add something inside the box, its content will immediately be positioned at the right spot because the position information is held by the box and not by the object inside of it.

The same can be applied to layers. You can add and position an empty layer in the composition, then add or even replace its source later. This distinction is really important as it allows us to split the layer into different concepts:

Other concepts will be described later, such as when it appears, defined by visibility keys and the time offset.

A layer with no source has a different name, depending on which software you use: transform, empty or null. Since the latter is the most used in the world of 2D, Autograph also uses the name null.

A null layer can also be really useful when you want to attach another layer to it, thanks to the concept of parenting. Through parenting, you can animate only one layer in the stack, and drive many.

In this section we will be focusing solely on 2D and 3D layers. Other types of layers can contain information about 3D cameras and objects, lighting or materials.


Layer Baseline

A layer is the basic element that allows you to populate a composition. It makes up one of the elements of the layer stack.

Glossary and content:

The triangle on the left of the layer baseline provides access to the layer parameters described in the following sections.
For now, we will focus on the contents of the main line of the layer (from left to right):

To change the state of Visibility, Solo mode or Lock on several layers, click and drag the mouse, moving it vertically:

Tips:

This way of changing the state of several layers also works for Shapes, especially Paths and Path Groups.

Adding Layer to a Composition

Adding a layer to the stack can be done in different ways, depending on whether it is a layer based on an imported source in the Project panel, a Generator, or if it’s simply a null layer.

Adding a null layer to the stack:

Adding a null layer to the stack is the simplest case because it's not based on a source; you can't drag anything from the Project panel to generate it.

After creating a new composition, click on the + button at the top of the stack, and select Null (Empty Layer). A new layer named Null will appear. If nothing is selected in the stack, this new layer will be added at the top. If you select one or more layers, the new layer will be added above the topmost layer in this selection. So, when you have a very large stack, you can select one layer to define the position of the new one.

Quick access menu to speed up your worklow:

The Quick Access Menu allows to quickly add a new Generator right inside the viewer.
Just place your mouse cursor over the viewer and create a new layer:

This popup panel is splitted in two parts:

When you click on one of these items, a new layer is created, using it as a source.

Dragging a source from the Project Panel:

Select one or more sources in the Project Panel then drag and drop them into the Timeline. New layers will be added, and the corresponding sources will be connected to each layer. The order of the source selection will define the layer order in the stack, from bottom to top.

If you drag a movie or image sequence into an empty composition, you will be asked if you want to adapt the composition to the source that has just been dragged in terms of FPS.

Adding a new Generator to the stack:

Images Generators, which are procedurally generated by Autograph, can be used as a layer source. You can access a list of image generators by clicking the + button on the top of the stack. Just like with the drag and drop from the Project panel, a new layer will be added and the Generator will be used as the source.

Create a composition from Footage:

The video below shows both methods:

Opacity

Layer opacity, defined between 0.0 and 1.0, is used as a merge factor when it has to be blended with another image.

In a layer-based compositing software like Autograph, this secondary image is usually the result of the stack underneath, and this factor is used by blend modes operations to define layer weight in blending. Opacity acts as a multiplier of the layer’s existing Alpha channel. The two are combined before the merge operation.
There are four ways to modify a layer's opacity:

Opacity can only be animated in the stack or the Properties Section using Keyframes, or by adding a Generator to this parameter.
A layer's main line just offers quick access to this value, by replicating it to quickly set the transparency without unfolding the layer.