WIP: Test Embree alternative to Blender BVH trees #108148

Draft
Lukas Tönne wants to merge 12 commits from LukasTonne/blender:bvh-embree into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
2 changed files with 7 additions and 5 deletions
Showing only changes of commit 90781d29cb - Show all commits

View File

@ -791,7 +791,9 @@ endif()
if(WITH_BVH_EMBREE)
add_definitions(-DWITH_BVH_EMBREE)
list(APPEND INC_SYS
${EMBREE_INCLUDE_DIRS}
)
list(APPEND LIB
${EMBREE_LIBRARIES}
)

View File

@ -12,10 +12,10 @@
#ifdef WITH_BVH_EMBREE
# include <embree/include/embree3/rtcore.h>
# include <embree/include/embree3/rtcore_geometry.h>
# include <embree/include/embree3/rtcore_ray.h>
# include <embree/include/embree3/rtcore_scene.h>
# include <embree3/rtcore.h>
# include <embree3/rtcore_geometry.h>
# include <embree3/rtcore_ray.h>
# include <embree3/rtcore_scene.h>
namespace blender {