Commit: 3fa580866ef5514f6fa7f9c5a369249f69135c78 Author: Brecht Van Lommel Date: Mon Apr 5 13:53:26 2021 +0200 Branches: master https://developer.blender.org/rB3fa580866ef5514f6fa7f9c5a369249f69135c78
Cycles: update Light Paths preset * Add Fast GI / AO bounces to presets * Add Default preset matching defaults * Add Fast Approximate GI preset * Lower Full GI depths to 32 =================================================================== M intern/cycles/blender/addon/presets.py A release/scripts/presets/cycles/integrator/Default.py M release/scripts/presets/cycles/integrator/Direct_Light.py A release/scripts/presets/cycles/integrator/Fast_Global_Illumination.py M release/scripts/presets/cycles/integrator/Full_Global_Illumination.py M release/scripts/presets/cycles/integrator/Limited_Global_Illumination.py =================================================================== diff --git a/intern/cycles/blender/addon/presets.py b/intern/cycles/blender/addon/presets.py index 04b18b38927..bf33e5dc010 100644 --- a/intern/cycles/blender/addon/presets.py +++ b/intern/cycles/blender/addon/presets.py @@ -41,6 +41,9 @@ class AddPresetIntegrator(AddPresetBase, Operator): "cycles.caustics_reflective", "cycles.caustics_refractive", "cycles.blur_glossy" + "cycles.use_fast_gi" + "cycles.ao_bounces" + "cycles.ao_bounces_render" ] preset_subdir = "cycles/integrator" diff --git a/release/scripts/presets/cycles/integrator/Default.py b/release/scripts/presets/cycles/integrator/Default.py new file mode 100644 index 00000000000..726d47e20d7 --- /dev/null +++ b/release/scripts/presets/cycles/integrator/Default.py @@ -0,0 +1,14 @@ +import bpy +cycles = bpy.context.scene.cycles + +cycles.max_bounces = 12 +cycles.caustics_reflective = True +cycles.caustics_refractive = True +cycles.diffuse_bounces = 4 +cycles.glossy_bounces = 4 +cycles.transmission_bounces = 12 +cycles.volume_bounces = 0 +cycles.transparent_max_bounces = 8 +cycles.use_fast_gi = False +cycles.ao_bounces = 1 +cycles.ao_bounces_render = 1 diff --git a/release/scripts/presets/cycles/integrator/Direct_Light.py b/release/scripts/presets/cycles/integrator/Direct_Light.py index 701aa10d556..28f1b218291 100644 --- a/release/scripts/presets/cycles/integrator/Direct_Light.py +++ b/release/scripts/presets/cycles/integrator/Direct_Light.py @@ -9,3 +9,6 @@ cycles.glossy_bounces = 1 cycles.transmission_bounces = 2 cycles.volume_bounces = 0 cycles.transparent_max_bounces = 8 +cycles.use_fast_gi = False +cycles.ao_bounces = 1 +cycles.ao_bounces_render = 1 diff --git a/release/scripts/presets/cycles/integrator/Limited_Global_Illumination.py b/release/scripts/presets/cycles/integrator/Fast_Global_Illumination.py similarity index 78% copy from release/scripts/presets/cycles/integrator/Limited_Global_Illumination.py copy to release/scripts/presets/cycles/integrator/Fast_Global_Illumination.py index d37bf46c705..9f72aa80ee1 100644 --- a/release/scripts/presets/cycles/integrator/Limited_Global_Illumination.py +++ b/release/scripts/presets/cycles/integrator/Fast_Global_Illumination.py @@ -9,3 +9,6 @@ cycles.glossy_bounces = 4 cycles.transmission_bounces = 8 cycles.volume_bounces = 2 cycles.transparent_max_bounces = 8 +cycles.use_fast_gi = True +cycles.ao_bounces = 2 +cycles.ao_bounces_render = 2 diff --git a/release/scripts/presets/cycles/integrator/Full_Global_Illumination.py b/release/scripts/presets/cycles/integrator/Full_Global_Illumination.py index a03c6c8bd64..632f5004967 100644 --- a/release/scripts/presets/cycles/integrator/Full_Global_Illumination.py +++ b/release/scripts/presets/cycles/integrator/Full_Global_Illumination.py @@ -1,11 +1,14 @@ import bpy cycles = bpy.context.scene.cycles -cycles.max_bounces = 128 +cycles.max_bounces = 32 cycles.caustics_reflective = True cycles.caustics_refractive = True -cycles.diffuse_bounces = 128 -cycles.glossy_bounces = 128 -cycles.transmission_bounces = 128 -cycles.volume_bounces = 128 -cycles.transparent_max_bounces = 128 +cycles.diffuse_bounces = 32 +cycles.glossy_bounces = 32 +cycles.transmission_bounces = 32 +cycles.volume_bounces = 32 +cycles.transparent_max_bounces = 32 +cycles.use_fast_gi = False +cycles.ao_bounces = 1 +cycles.ao_bounces_render = 1 diff --git a/release/scripts/presets/cycles/integrator/Limited_Global_Illumination.py b/release/scripts/presets/cycles/integrator/Limited_Global_Illumination.py index d37bf46c705..e48ffab238e 100644 --- a/release/scripts/presets/cycles/integrator/Limited_Global_Illumination.py +++ b/release/scripts/presets/cycles/integrator/Limited_Global_Illumination.py @@ -7,5 +7,8 @@ cycles.caustics_refractive = False cycles.diffuse_bounces = 1 cycles.glossy_bounces = 4 cycles.transmission_bounces = 8 -cycles.volume_bounces = 2 +cycles.volume_bounces = 0 cycles.transparent_max_bounces = 8 +cycles.use_fast_gi = False +cycles.ao_bounces = 1 +cycles.ao_bounces_render = 1 _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs