Over
Function
This is the main compositing node of Shake. This function places one image over
another, according to the matte of the foreground image. Images are assumed
to be pre-multiplied. You can use a MMult
on an input node if it is not pre-multiplied, or you can toggle the preMultiply
parameter to 1.
Parameters
|
Type
|
Defaults
|
Function
|
clipMode |
int
|
1 | Toggles between foreground (0) and background resolution (1) |
preMultiply |
int
|
0 | When this is on (1), the foreground image is multiplied by its alpha mask. If it is off (0), it is assumed the foreground image is pre-multiplied. |
addMattes |
int
|
0 | When this is toggled on (1), the mattes are added together for the composite. |
Synopsis
image Over( image Foreground, image Background, int clipMode, int preMultiply, int addMattes );
Script
image = Over( Foreground, Background, clipMode, preMultiply, addMattes );
Command Line
shake -over image clipMode preMult