Blender Git Loki
Git Commits -> Revision 178feec
Revision 178feec by Sergey Sharybin (master) June 11, 2012, 19:31 (GMT) |
Couple of changes to keying node: - Switch from gaussian-bokeh blur to mean-value which is much faster and from matte's quality behaves not worse than gaussian-bokeh. - Added Edge matte output so areas where black/white clipping happens could be easily controlled. Currently not sure if it's possible than operation returns two buffers, so now implemented as separate clipping operation call with specific options. - Changed logic of detecting edges - check if most pixels within kernel are different fits some tolerance interval. - Added two extra options which controls how edges are detecting: * Edge Kernel Radius defines radius of kernel within pixel's value is checking. * Edge Kernel Tolerance defines maximal difference between value of current pixel and it's neigbours which are trated as belng to the same plane )background of foreground) Unfortunately, value for this two sliders for existing files shall be tweaked manually. Default values are 3 for radius and 0.1 for tolerance. |
Commit Details:
Full Hash: 178feecfcd78fca71cecb11e7e1267a8d2f96750
SVN Revision: 47757
Parent Commit: 8430951
Lines Changed: +89, -74
8 Modified Paths:
/source/blender/compositor/nodes/COM_KeyingNode.cpp (+18, -48) (Diff)
/source/blender/compositor/nodes/COM_KeyingNode.h (+2, -5) (Diff)
/source/blender/compositor/operations/COM_KeyingClipOperation.cpp (+33, -14) (Diff)
/source/blender/compositor/operations/COM_KeyingClipOperation.h (+9, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+19, -7) (Diff)
/source/blender/nodes/composite/nodes/node_composite_keying.c (+4, -0) (Diff)
/source/blender/compositor/nodes/COM_KeyingNode.h (+2, -5) (Diff)
/source/blender/compositor/operations/COM_KeyingClipOperation.cpp (+33, -14) (Diff)
/source/blender/compositor/operations/COM_KeyingClipOperation.h (+9, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+19, -7) (Diff)
/source/blender/nodes/composite/nodes/node_composite_keying.c (+4, -0) (Diff)