Depthkey – Apple Shake 4 User Manual

Page 704

Advertising
background image

704

Chapter 24

Keying

satSharpness
Describes the falloff curve from satRange to satFalloff.

0 = linear drop-off

1 = smooth drop-off

valRange
Plus and minus from the value specified by the HSVColor parameter.

valFalloff
Describes the falloff range from valRange that is picked, with the values ramping down.

valSharpness
Describes the falloff curve from valRange to valFalloff.

0 = linear drop-off

1 = smooth drop-off

matteMult
Toggle to premultiply the RGB channels by the pulled mask.

0 = no premultiply

1 = premultiply

arithmetic
This parameter lets you define how the mask is created by the key.

0 = replace existing mask

1 = add to existing mask

2 = subtract from existing mask

DepthKey

The DepthKey node creates a key in the alpha channel based on depth (Z) values.
Values below loVal are set to 0, and values above hiVal are set to 1. Values in between
are ramped. You also have roll-off control, plus a matteMult toggle. If there is no Z
channel in your image, this node does not work.

If the Z channel is not directly imported with the FileIn node, you can copy it over with
the Copy command, using z as your channel.

Note: When you import from Maya, there is a strange -1/distance Z setting. This
basically means that the numbers in DepthKey are impractical. To correct this, go to
www.highend2d.com and download the MayaDepthKey macro. The macro operates
exactly like the normal DepthKey, but does the conversion math for you.

Parameters

This node displays the following controls in the Parameters tab:

loVal
Any pixel below this value (as calculated per its depth) turns black.

Advertising