Blender Git Commit Log
Git Commits -> Revision 638b979
Revision 638b979 by Sergey Sharybin (cycles_memory_experiments, gooseberry, gooseberry_farm, temp_motionpaths) April 17, 2015, 18:34 (GMT) |
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%. |
Commit Details:
Full Hash: 638b979895b25e630c7138ac4304321c2544971f
Parent Commit: 78f8c3e
Lines Changed: +94, -26
9 Modified Paths:
/intern/cycles/blender/addon/properties.py (+6, -0) (Diff)
/intern/cycles/blender/addon/ui.py (+1, -0) (Diff)
/intern/cycles/blender/blender_sync.cpp (+2, -0) (Diff)
/intern/cycles/bvh/bvh.cpp (+21, -13) (Diff)
/intern/cycles/bvh/bvh_params.h (+4, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle_intersect.h (+52, -12) (Diff)
/intern/cycles/kernel/kernel_types.h (+2, -1) (Diff)
/intern/cycles/render/mesh.cpp (+3, -0) (Diff)
/intern/cycles/render/scene.h (+3, -0) (Diff)
/intern/cycles/blender/addon/ui.py (+1, -0) (Diff)
/intern/cycles/blender/blender_sync.cpp (+2, -0) (Diff)
/intern/cycles/bvh/bvh.cpp (+21, -13) (Diff)
/intern/cycles/bvh/bvh_params.h (+4, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle_intersect.h (+52, -12) (Diff)
/intern/cycles/kernel/kernel_types.h (+2, -1) (Diff)
/intern/cycles/render/mesh.cpp (+3, -0) (Diff)
/intern/cycles/render/scene.h (+3, -0) (Diff)