YafaRay / libYafaRay

libYafaRay is a free open-source montecarlo raytracing engine released under the LGPL 2.1 license. Raytracing is a rendering technique for generating realistic images by tracing the path of light through a 3D scene.
http://www.yafaray.org
61 stars 8 forks source link

About resampled floor #3

Open SamoSan opened 3 years ago

SamoSan commented 3 years ago

Hi David I have a question about resampled floor. As I understand it, it decreases thresold when pixels to resample go below a % of total pixels of the image, so in practice it decreases thresold only one time regardless of passes once the % is reached. Also decreased thresold amount follows to the precomputed curve. Am I right? The idea I had about this algorithm was setting relately high % levels, for instance a 95%, so the thresold is constantly moving down in each pass with low percentages of pixels solved, which is always the case, but for this to work pixels percentage should go against pixels pixels sampled in the previous pass, instead of total pixels in the image. Am I getting it right ?

DavidBluecame commented 3 years ago

Hello, Alvaro. I'll take a look as soon as I can and will revert back to you.