diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-04-17 21:31:41 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-04-17 21:34:54 +0300 |
commit | 638b979895b25e630c7138ac4304321c2544971f (patch) | |
tree | d3d1a8b23f1ed83e5d6326c6292d12dbb9a5e46b /intern/cycles/blender/addon/ui.py | |
parent | 78f8c3eb311c77acc8e757668c2e5015d1b75ff5 (diff) |
Cycles: Add debug option to disable pre-aligned triangles storage
This option makes it so BVH does not use pre-aligned storage for triangle vertex
coordinates which was originally needed for faster coordinate lookup when doing
triangle intersection test. This array gives up to 10% performance comparing to
fetching individual coordinates but it also used 12 floats per BVH primitive,
which might translate to quite huge array in a complex scene.
Intention of this option is to investigate if this is a right direction to make
gooseberry files being able to render on local farm which is not totally great
in memory.
Current approach is not totally cheap, meaning even the case with the storage
enabled might be slower, but currently it's within 1%.
Diffstat (limited to 'intern/cycles/blender/addon/ui.py')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 2631e26c903..1c70a1eb101 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -325,6 +325,7 @@ class CyclesRender_PT_performance(CyclesButtonsPanel, Panel): col.label(text="Acceleration structure:") col.prop(cscene, "debug_use_spatial_splits") + col.prop(cscene, "debug_use_triangle_storage") class CyclesRender_PT_layer_options(CyclesButtonsPanel, Panel): |