diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-06-28 18:06:32 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-06-28 18:47:53 +0300 |
commit | c9238e638fd5f6b3e4cf22d879d397dee1b09b48 (patch) | |
tree | c03058522ffe94482870ad084bd76ec43823222e /intern/cycles/blender/addon | |
parent | 4e8c5f4bc8c77d70328797ea179bb1c7ca0e51e2 (diff) |
Cycles: add back control to render first N bounces with path termination
It's found in the Sampling > Advanced panel and 0 by default. This helps to
reduce noise in some scenes, while making others slower.
Diffstat (limited to 'intern/cycles/blender/addon')
-rw-r--r-- | intern/cycles/blender/addon/properties.py | 15 | ||||
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 2 |
2 files changed, 17 insertions, 0 deletions
diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py index d9e145c8b75..c5cedf2ed9b 100644 --- a/intern/cycles/blender/addon/properties.py +++ b/intern/cycles/blender/addon/properties.py @@ -291,6 +291,21 @@ class CyclesRenderSettings(bpy.types.PropertyGroup): default=0.01, ) + min_light_bounces: IntProperty( + name="Min Light Bounces", + description="Minimum number of light bounces. Setting this higher reduces noise in the first bounces, " + "but can also be less efficient for more complex geometry like hair and volumes", + min=0, max=1024, + default=0, + ) + min_transparent_bounces: IntProperty( + name="Min Transparent Bounces", + description="Minimum number of transparnet bounces. Setting this higher reduces noise in the first bounces, " + "but can also be less efficient for more complex geometry like hair and volumes", + min=0, max=1024, + default=0, + ) + caustics_reflective: BoolProperty( name="Reflective Caustics", description="Use reflective caustics, resulting in a brighter image (more noise but added realism)", diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 0dc1e815335..b072d9e583e 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -237,6 +237,8 @@ class CYCLES_RENDER_PT_sampling_advanced(CyclesButtonsPanel, Panel): layout.separator() col = layout.column(align=True) + col.prop(cscene, "min_light_bounces") + col.prop(cscene, "min_transparent_bounces") col.prop(cscene, "light_sampling_threshold", text="Light Threshold") if cscene.progressive != 'PATH' and use_branched_path(context): |