Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Mours <pmours@nvidia.com>2020-02-25 15:31:08 +0300
committerPatrick Mours <pmours@nvidia.com>2020-02-25 17:27:11 +0300
commit0c09700f20646bb4083063bfe525e05d52e79b10 (patch)
tree116bf608ce95b8cff7177cd89d43731f5d7e4a12 /intern/cycles/blender/addon/ui.py
parenta4a1074f3d2411a562c5cd4d5ebee6d92a1f0a27 (diff)
Cycles: Add option to change which sample to start viewport denoising at
This patch adds a new user-configurable option to change at which sample viewport denoising should kick in. Setting it to zero retains previous behavior (start immediately), while other values will defer denoising until the particular sample has been reached. Default is now at one, to avoid the weirdness that is AI denoising at small resolutions. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6906
Diffstat (limited to 'intern/cycles/blender/addon/ui.py')
-rw-r--r--intern/cycles/blender/addon/ui.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 3efd2a0c209..ed9e3a4c9cf 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -710,6 +710,11 @@ class CYCLES_RENDER_PT_performance_viewport(CyclesButtonsPanel, Panel):
col.prop(rd, "preview_pixel_size", text="Pixel Size")
col.prop(cscene, "preview_start_resolution", text="Start Pixels")
+ if show_optix_denoising(context):
+ sub = col.row(align=True)
+ sub.active = cscene.preview_denoising != 'NONE'
+ sub.prop(cscene, "preview_denoising_start_sample", text="Denoising Start Sample")
+
class CYCLES_RENDER_PT_filter(CyclesButtonsPanel, Panel):
bl_label = "Filter"