Layer
compositing node
Layers a series of inputs together by compositing them one by one on the background image (input 1).
See also: Composite, Add, Atop, Average 9 more , Diff, Inside, Max, Min, Over, Screen, Subtract, Under, Xor
This operation does a series of composite operations (over, under, inside, add, etc.) on the background image (input 1) using the foreground images (inputs 2 and up). The compositing operation may be changed per foreground input, and each foreground input has its own transform. The first input is always the background image, and subsequent inputs are composited in order. The size of the resulting image is the size of the background image.
In the case of an over, the result image is:
4 over (3 over (2 over 1))for four inputs, 1 to 4.
Tip: For a more traditional A over B method, use the Composite COP.
Parameters
Composite
|
Operation |
Specifies the global compositing operation:
|
||||||||||||||||||||||||||||
|
Alpha Operation |
Specifies the compositing operation for the alpha plane, which is normally the same as the global compositing operations (see above). |
||||||||||||||||||||||||||||
|
Image Units |
Selects pixels or UV units for the transforms. |
||||||||||||||||||||||||||||
|
Image Filter |
Specifies the filter to use when transforming. |
||||||||||||||||||||||||||||
|
Motion Blur |
Toggles on motion blur, and specifies the time range around the current frame to blur. |
||||||||||||||||||||||||||||
|
Motion Frame Bias |
Shifts the time range for the blur. |
||||||||||||||||||||||||||||
|
Motion Blur Segments |
Number of samples to blur together in the specified time range. |
||||||||||||||||||||||||||||
|
Motion Blur Method |
|
Transform (1 set per foreground input)
|
Operation |
Specifies the composite operation for this input. The default compositing operation is “global” which uses the operation specified on the Layer page. |
||||||||
|
Alpha Operation |
Specifies the composite operation for the alpha channel of this input. By default, this input’s compositing operation is used (which also may point to the global compositing operation). |
||||||||
|
Image Wrap |
What this input shows when data outside its image bounds is needed.
|
||||||||
|
Translate, Rotate, Scale, Pivot |
Transforms this foreground in X,Y relative to the background. |
Merge
|
Overview |
These parameters specify how to build the output sequence when there are differences between the input sequences. |
|
Plane Merge |
If the planes in the inputs differ, this specifies what the output planes should be. |
|
Raster Depth |
If the raster depth for a given plane differs between inputs, this specifies when the output raster depth for the plane should be. |
|
Frame Range |
If the frame ranges of the inputs differ, this determines what the output range should be. |
|
Frame Rate |
If the frame rates of the inputs differ, this determines what the output frame rate should be. |
|
Frame Match |
If the frame rates of the inputs differ, this determines which input frame to pick when the cook time doesn’t reside on a frame boundary. |
Local variables
|
L |
Sequence length |
|
S |
Start of sequence |
|
E |
End of sequence |
|
IL |
Input sequence length |
|
SR |
Sequence frame rate |
|
NP |
Number of planes in sequence |
|
W,H |
Width and height of image |
|
I |
Image index (0 at start frame) |
|
IT |
Image time (0 at start frame) |
|
AI |
Current plane array index |
|
PI |
Current plane index |
|
PC |
Num of channels in current plane |
|
CXRES |
Composite Project X resolution |
|
CYRES |
Composite Project Y resolution |
|
CPIXA |
Composite Project pixel aspect ratio |
|
CDEPTH |
Composite Project raster depth |
|
CBP |
Composite Project black point |
|
CWP |
Composite Project white point |
Usages in other examples
| Example name | Example for | |
|---|---|---|
| MakeShadow |
Pin compositing node |
|
| EnvironmentMap |
Environment compositing node |
|
| StreakFlame |
Streak Blur compositing node |
|
| Types |
Composite compositing node |