Blender Git Loki

Git Commits -> Revision 2c5531c

Revision 2c5531c by Stefan Werner (master)
November 7, 2018, 11:58 (GMT)
Cycles: Added Embree as BVH option for CPU renders.

Note that this is turned off by default and must be enabled at build time with the CMake WITH_CYCLES_EMBREE flag.
Embree must be built as a static library with ray masking turned on, the `make deps` scripts have been updated accordingly.
There, Embree is off by default too and must be enabled with the WITH_EMBREE flag.

Using Embree allows for much faster rendering of deformation motion blur while reducing the memory footprint.

TODO: GPU implementation, deduplication of data, leveraging more of Embrees features (e.g. tessellation cache).

Differential Revision: https://developer.blender.org/D3682

Commit Details:

Full Hash: 2c5531c0a521119a2f5c88b4ba2a67234c537d2b
Parent Commit: 8a014e7
Lines Changed: +2063, -26

6 Added Paths:

/build_files/build_environment/cmake/embree.cmake (+46, -0) (View)
/build_files/cmake/Modules/FindEmbree.cmake (+108, -0) (View)
/build_files/cmake/platform/platform_win32_msvc.cmake (+506, -0) (View)
/intern/cycles/bvh/bvh_embree.cpp (+884, -0) (View)
/intern/cycles/bvh/bvh_embree.h (+79, -0) (View)
/intern/cycles/kernel/bvh/bvh_embree.h (+126, -0) (View)

31 Modified Paths:

/build_files/build_environment/cmake/harvest.cmake (+5, -1) (Diff)
/build_files/build_environment/cmake/options.cmake (+1, -0) (Diff)
/build_files/build_environment/cmake/versions.cmake (+4, -0) (Diff)
/build_files/build_environment/CMakeLists.txt (+4, -0) (Diff)
/build_files/cmake/macros.cmake (+3, -0) (Diff)
/build_files/cmake/platform/platform_apple.cmake (+5, -0) (Diff)
/build_files/cmake/platform/platform_unix.cmake (+4, -0) (Diff)
/build_files/cmake/platform/platform_win32.cmake (+4, -0) (Diff)
/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/app/CMakeLists.txt (+3, -0) (Diff)
/intern/cycles/blender/addon/properties.py (+5, -0) (Diff)
/intern/cycles/blender/addon/ui.py (+10, -4) (Diff)
/intern/cycles/blender/blender_python.cpp (+8, -0) (Diff)
/intern/cycles/blender/blender_sync.cpp (+3, -0) (Diff)
/intern/cycles/bvh/bvh.cpp (+10, -1) (Diff)
/intern/cycles/bvh/bvh.h (+2, -2) (Diff)
/intern/cycles/bvh/bvh_params.h (+12, -0) (Diff)
/intern/cycles/bvh/CMakeLists.txt (+2, -0) (Diff)
/intern/cycles/cmake/external_libs.cmake (+6, -0) (Diff)
/intern/cycles/CMakeLists.txt (+9, -0) (Diff)
/intern/cycles/device/device_cpu.cpp (+6, -0) (Diff)
/intern/cycles/kernel/bvh/bvh.h (+99, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom_curve_intersect.h (+16, -8) (Diff)
/intern/cycles/kernel/geom/geom_object.h (+6, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+19, -2) (Diff)
/intern/cycles/render/mesh.cpp (+36, -1) (Diff)
/intern/cycles/render/scene.cpp (+6, -6) (Diff)
/intern/cycles/render/scene.h (+0, -1) (Diff)
/intern/cycles/util/util_transform.h (+20, -0) (Diff)
/source/blender/python/intern/CMakeLists.txt (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021