Commit Graph

22 Commits

Author SHA1 Message Date
51efa8a1f5 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.
2014-02-13 11:52:22 +01:00
1dc1d92dab Code cleanup: white space and cmake was broken on all platforms 2014-02-03 13:56:34 +11:00
c1c26c36f6 Style Cleanup: remove preprocessor indentation (updated wiki style guide too) 2013-12-22 14:12:19 +11:00
603289ffb2 Fix for bug [#35400] Dilate Erode Feather Bug - feathering wraps around image 2013-06-08 19:56:11 +00:00
356d4c3085 Fix #35330: Blur node crash due to size overflow
Issue was caused by too hight value used for size,
which came from infinite Z-buffer point.

Solved the crash by clamoing maximal gaussian table
radius to 30K, which seems to be reasonable.
2013-05-13 11:52:04 +00:00
9d4be17de4 style cleanup 2013-02-04 00:05:15 +00:00
abe41ba65f Fix for [#34022] Lines on renders using Blur node in flat mode 2013-02-03 15:06:16 +00:00
e76b99e7b0 fix own error in r51819, was reading outside of the buffer, also comment unused vars. 2012-11-04 14:46:20 +00:00
6e17d1a5e0 fix for compositor regression where blur note offset the image one pixel to the top right. 2012-11-02 12:44:09 +00:00
a7831c74e6 fix for bug in variable size blur compositor node - using incorrect Y blur operations and uninitialized memory was causing random blur results. 2012-08-24 12:48:56 +00:00
3bc16fd60d compositor: replace C++ new/delete with guardedalloc. 2012-08-16 12:32:48 +00:00
94a3945cf9 code cleanup: compositor - define size for executePixel function output float array 2012-08-10 14:07:24 +00:00
9987a8fca7 Removed parameter from executePixel and initializeTileData. 2012-07-13 12:24:42 +00:00
6a1d82490e use m_ prefix for compositor class members (all compositor operations). 2012-06-26 01:22:05 +00:00
fa0c5a100d fix for crash with blur - happened most when there was a size input, need to mutex lock before allocating the gauss array.
also add suspiciously missing call to BlurBaseOperation::initExecution, X had but Y was missing.
2012-06-25 18:01:01 +00:00
fae0b2068b falloff options for dilate/erode feather compo node. 2012-06-21 07:45:41 +00:00
e6a43441b9 disable GaussianAlpha from attempting to get a non existing socket - and add an assert if this is attempted. 2012-06-16 19:34:38 +00:00
103f665c59 code cleanup: make names more logical 2012-06-16 15:51:52 +00:00
4dacad06a9 code cleanup: spelling 'multiplyer' --> 'multiplier' 2012-06-16 15:32:18 +00:00
6fc277c410 support for negative feather dilate/erode 2012-06-16 14:40:16 +00:00
e946fa443b fix for errors in last commit (dilate/erode has no input) 2012-06-16 14:11:30 +00:00
265262a5d5 feather option for dilate/erode node - needed for alpha masks so we can (blur in/out), currently only positive values supported. 2012-06-16 13:46:20 +00:00