Blender Git Loki
Git Commits -> Revision 51efa8a
Revision 51efa8a by Lukas Toenne (master) February 13, 2014, 10:52 (GMT) |
Fix T38529, Blur node size 0 doesn't work. The blur operations were clamping the filter size to 1, which prevents no-op blur nodes. Further any value < 1 would also be ignored and in many combinations the filter scale setting ("Size") would only work in integer steps. Now most blur settings will work with smooth Size value scaling as well, meaning you can choose a reasonably large filter size (e.g. 10) and then use the Size factor to scale the actual blur radius smoothly. Note that non-integer filter sizes also depend on the filter type selected in the Blur node, e.g. "Flat" filtering will still ignore smooth filter sizes. Gaussian filters work best for this purpose. |
Commit Details:
Full Hash: 51efa8a1f53f230b72210289483dae66f01de51a
Parent Commit: 5fdf616
Lines Changed: +139, -162
12 Modified Paths:
/source/blender/compositor/operations/COM_BlurBaseOperation.cpp (+12, -10) (Diff)
/source/blender/compositor/operations/COM_BlurBaseOperation.h (+2, -2) (Diff)
/source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.cpp (+23, -29) (Diff)
/source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.h (+1, -1) (Diff)
/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp (+23, -28) (Diff)
/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.h (+1, -1) (Diff)
/source/blender/compositor/operations/COM_GaussianBokehBlurOperation.cpp (+36, -42) (Diff)
/source/blender/compositor/operations/COM_GaussianBokehBlurOperation.h (+4, -4) (Diff)
/source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp (+17, -21) (Diff)
/source/blender/compositor/operations/COM_GaussianXBlurOperation.h (+1, -1) (Diff)
/source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp (+18, -22) (Diff)
/source/blender/compositor/operations/COM_GaussianYBlurOperation.h (+1, -1) (Diff)
/source/blender/compositor/operations/COM_BlurBaseOperation.h (+2, -2) (Diff)
/source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.cpp (+23, -29) (Diff)
/source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.h (+1, -1) (Diff)
/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp (+23, -28) (Diff)
/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.h (+1, -1) (Diff)
/source/blender/compositor/operations/COM_GaussianBokehBlurOperation.cpp (+36, -42) (Diff)
/source/blender/compositor/operations/COM_GaussianBokehBlurOperation.h (+4, -4) (Diff)
/source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp (+17, -21) (Diff)
/source/blender/compositor/operations/COM_GaussianXBlurOperation.h (+1, -1) (Diff)
/source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp (+18, -22) (Diff)
/source/blender/compositor/operations/COM_GaussianYBlurOperation.h (+1, -1) (Diff)