[Bf-blender-cvs] [fd9c4f166b6] cycles-x: Fix missing pre-filtering execute in the OIDN Cycles X

Sergey Sharybin noreply at git.blender.org
Fri Jul 30 12:36:43 CEST 2021


Commit: fd9c4f166b61ac91db792c1d6b637f06faac902b
Author: Sergey Sharybin
Date:   Fri Jul 30 12:22:54 2021 +0200
Branches: cycles-x
https://developer.blender.org/rBfd9c4f166b61ac91db792c1d6b637f06faac902b

Fix missing pre-filtering execute in the OIDN Cycles X

The `execute()` call got missed in some cleanup of the initial hacky
implementation and indicatives of it did not get proper attention.

The pre-filter takes about 0.5sec per pass on i9-11900k Full-HD image
which indeed makes it not suitable for the preview render.

The file used to verify this change: F10247300

Result:
|No filter|With filter|
|{F10247303}|{F10247304}|

===================================================================

M	intern/cycles/integrator/denoiser_oidn.cpp

===================================================================

diff --git a/intern/cycles/integrator/denoiser_oidn.cpp b/intern/cycles/integrator/denoiser_oidn.cpp
index bd3175a7356..8ced2851bd3 100644
--- a/intern/cycles/integrator/denoiser_oidn.cpp
+++ b/intern/cycles/integrator/denoiser_oidn.cpp
@@ -201,6 +201,7 @@ class OIDNDenoiseContext {
     set_pass(oidn_filter, oidn_pass);
     set_output_pass(oidn_filter, oidn_pass);
     oidn_filter.commit();
+    oidn_filter.execute();
   }
 
   /* Make pixels of a guiding pass available by the denoiser. */



More information about the Bf-blender-cvs mailing list