diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2017-05-20 00:08:23 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2017-05-20 00:33:22 +0300 |
commit | 6cd1d34dc1953f007ee16e9673e1d112160fb162 (patch) | |
tree | d86b09e4db4023f07aaa5455eef4b9d886b16d21 /source/gameengine/Ketsji/KX_SoundActuator.cpp | |
parent | 3dee1f079f3ac84a649dda90f920610681ffb52d (diff) |
Cycles Denoising: Prevent overfitting when using a very low radius
For example, when using a radius of 1, only 9 pixels (due to weighting maybe
even less) will be used, but the transform code may still decide to use a
5-dimensional (or even higher) fit.
This causes severe overfitting and therefore weird pixel values.
To avoid this, this commit limits the amount of dimensions to a third of the
pixel number. For a radius of 3 or more, this doesn't change anything, but
for 1 and 2 it can prevent fireflies and/or negative values being produced.
Diffstat (limited to 'source/gameengine/Ketsji/KX_SoundActuator.cpp')
0 files changed, 0 insertions, 0 deletions