ZFogExponential

In the S_ZFog Plugin.

Mixes a fog color into the source clip using depth values from a ZBuffer input. The fog starts at the nearest depth and increases exponentially to the farthest depth at a rate depending on the Fog Density.

Inputs:

Source:  The clip to be processed.

ZBuffer:  The input clip containing depth values for each Source pixel. These values should be in the range of black to white, and it is best if not anti-aliased. Normally black corresponds to the farthest objects and white to the nearest, though this can be adjusted using Z Buffer parameter.
        

Parameters:

Fog Density:   Default: 0.7,  Range: 0 to 1.
The density of the fog.

Z Buffer:   Popup menu,  Default: White is Near.
How to interpret the values in the Z buffer.
Black is Near:  Black pixels in the Z buffer indicate that the object at that point is near (close to you), and white means far away.
White is Near:  White pixels in the Z buffer indicate that the object at that point is near (close to you), and black means far away.

Fog Color:   Default rgb: [0.5 0.5 0.5].
The fog color should normally match the sky or background color of the source clip. Use gray for mist, brown for smog, blue for underwater, etc.

See general info for: Res, On Fields, Redraw, Undo, Load Defaults, Crop, Add Noise, and Use Gamma.


See Also:

ZFogLinear
ZBlur
ZGlow
ZDefocus
ZConvolve
ZComp
ZGlow
Sapphire Plug-ins Introduction


© 2010, GenArts, Inc. All rights reserved.