Blender Git Commit Log

Git Commits -> Revision fcc2ca0

Revision fcc2ca0 by Sergey Sharybin (master)
October 31, 2014, 11:19 (GMT)
Fix T42401: Gaussian blur node is visibly squared-off at larger sizes

The root of the issue comes to the way how we sample the gaussian filter in
RE_filter_value(). We need to scale x to -3*sigma..3*sigma segment in order
to get the whole bell.

The old code tried to do it, but failed dramatically, plus it used some weird
gaussian sampling formula. Replaced it with much more clear one, which gives
proper blur now.

There's no visible different in AA sampling in BI render tho.

Other filters like Mitchell still tends to give wrong square shaped blurs,
but they're much more difficult to resolve because they're just wrong in
the code -- for some reason smaller kernel size means more blur. Let's solve
this later.

Commit Details:

Full Hash: fcc2ca008907a897286d1dfcd9c9105677f71ea8
Parent Commit: b154aa8
Lines Changed: +5, -2

1 Modified Path:

/source/blender/render/intern/source/initrender.c (+5, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021