diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-25 14:50:24 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-06-25 14:50:24 +0400 |
commit | 1755a0ada6a16f41a492739edbfc6c9ff8e51bc6 (patch) | |
tree | e6e643a39c6dd2f82a0a01269434eaebd83774f0 /source/blender/compositor/nodes/COM_KeyingNode.h | |
parent | 3c8a4c458bc66cfe54e83c00f2d4460a52e04535 (diff) |
Added feather control to keying node
Behaves in the same way as feather dilate/erode node, applies
after dilate/erode in node.
Also use distance dilate/erode instead of size.
Diffstat (limited to 'source/blender/compositor/nodes/COM_KeyingNode.h')
-rw-r--r-- | source/blender/compositor/nodes/COM_KeyingNode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/compositor/nodes/COM_KeyingNode.h b/source/blender/compositor/nodes/COM_KeyingNode.h index 17436a32353..fefcfa46d49 100644 --- a/source/blender/compositor/nodes/COM_KeyingNode.h +++ b/source/blender/compositor/nodes/COM_KeyingNode.h @@ -29,9 +29,13 @@ */ class KeyingNode : public Node { protected: + NodeBlurData alpha_blur; /* only used for blurring alpha, since the dilate/erode node doesnt have this */ + OutputSocket *setupPreBlur(ExecutionSystem *graph, InputSocket *inputImage, int size, OutputSocket **originalImage); OutputSocket *setupPostBlur(ExecutionSystem *graph, OutputSocket *postBlurInput, int size); OutputSocket *setupDilateErode(ExecutionSystem *graph, OutputSocket *dilateErodeInput, int distance); + OutputSocket *setupFeather(ExecutionSystem *graph, CompositorContext *context, OutputSocket *featherInput, + int falloff, int distance); OutputSocket *setupDespill(ExecutionSystem *graph, OutputSocket *despillInput, OutputSocket *inputSrceen, float factor); OutputSocket *setupClip(ExecutionSystem *graph, OutputSocket *clipInput, int kernelRadius, float kernelTolerance, float clipBlack, float clipWhite, bool edgeMatte); |