From e2a36a6e459fc34b62efb7a957a183b54aa51bf5 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Tue, 25 Jan 2022 17:16:13 +0100 Subject: Cycles: Make Embree compact BVH optional Make the Embree RTC_SCENE_FLAG_COMPACT flag optional and enabled per default. Disabling it makes CPU rendering a bit faster in some scenes at the cost of a higher memory usage. Barbershop renders about 3% faster, victor about 4% on CPU with compact BVH disabled. Differential Revision: https://developer.blender.org/D13592 --- intern/cycles/blender/addon/ui.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern/cycles/blender/addon/ui.py') diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 5b600692152..06cf69f90ca 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -689,6 +689,8 @@ class CYCLES_RENDER_PT_performance_acceleration_structure(CyclesButtonsPanel, Pa sub.active = not cscene.debug_use_spatial_splits and not use_embree sub.prop(cscene, "debug_bvh_time_steps") + col.prop(cscene, "debug_use_compact_bvh") + class CYCLES_RENDER_PT_performance_final_render(CyclesButtonsPanel, Panel): bl_label = "Final Render" -- cgit v1.2.3