In the Network view, you can connect effects and compositing modules to form a network. The organization of modules determines the flow of data during the compositing process and how your animation elements will be composited.
|2.||Write and Display Modules|
This is an example of an average module, in this case a simple drawing module that represents a layer in the Timeline view. This module has an input port (top) that allows information to flow through it. It has an output port (bottom) that exports its information in a downward flow. On the left is a yellow box that displays the module's Properties editor, where all its available parameters can be adjusted. Lastly, there is a dark arrow that displays a thumbnail of what the module contains.
Both the Write and Display modules do not have output ports. This is because the information that flows into them can go no further in the network. The Write module records the images and renders the final output. The Display module captures the visual information and outputs it to the Camera view.
The Composite module combines multiple source images (Drawing modules), including all transformations and effects, into a single bitmap or vector image for each frame.
The Composite module layers the images based on the composition order rule. First, the Z-value of the elements are analyzed to determine depth. When multiple elements have the same Z-value, the Depth values in the Drawing modules are consulted. If the Depth values are also the same between elements, the composition order is determined by the cable order of modules on the Composite module. By default, modules connected to the right are rendered below those connected to the left. You can override this default in the Composite module editor. The Composite module is an example of a module that can have an infinite number of input ports that can take in multiple, individual sources of information. The leftmost input port on the Composite module is always green. This lets you know that, in terms of stacking order, whatever is plugged into this port will appear on top of the composite after the Z-depth is taken into account.
An Effect module can often have two input ports. The rightmost input port is for the drawing layer that is to be acted upon by this effect, while the left port is usually reserved for a matte. If an effect has a Matte port, it is required and not to be considered optional.
A matte, also called mask, is the shape that will be used by the effect module to modify the original image. The effect will only be applied where the matte overlaps with the original image. Sometimes the matte will act as a negative shape that the effect will exclude. This all depends on the nature and editing properties of the effect.
Some effects contain three input ports. If they are green, then they require a Peg module. In this case, the effect can accommodate two pegs.
The Peg modules control the transformation of elements (position, scale, skewing and rotation) over time. The green ports at the top and bottom of the module indicate that it accepts position information and can then pass this information on.
One peg can be used to control many different modules or one module can accept more than one peg. In a situation like the latter, one peg might be used to modify the rotation, while the other used to modify the position of the effect and then animated differently over time.