Blender Git Commit Log

Git Commits -> Revision 73f2056

Revision 73f2056 by Sergey Sharybin (master)
August 29, 2018, 13:03 (GMT)
Cycles: Add BVH8 and packeted triangle intersection

This is an initial implementation of BVH8 optimization structure
and packated triangle intersection. The aim is to get faster ray
to scene intersection checks.

Scene BVH4 BVH8
barbershop_interior 10:24.94 10:10.74
bmw27 02:41.25 02:38.83
classroom 08:16.49 07:56.15
fishy_cat 04:24.56 04:17.29
koro 06:03.06 06:01.45
pavillon_barcelona 09:21.26 09:02.98
victor 23:39.65 22:53.71

As memory goes, peak usage raises by about 4.7% in a complex
scenes.

Note that BVH8 is disabled when using OSL, this is because OSL
kernel does not get per-microarchitecture optimizations and
hence always considers BVH3 is used.

Original BVH8 patch from Anton Gavrikov.
Batched triangles intersection from Victoria Zhislina.
Extra work and tests and fixes from Maxym Dmytrychenko.

Commit Details:

Full Hash: 73f20560529457ea177cb93e8e8eaaf44a589643
Parent Commit: 66f8a4c
Lines Changed: +5079, -65

11 Added Paths:

/intern/cycles/bvh/bvh8.cpp (+515, -0) (View)
/intern/cycles/bvh/bvh8.h (+97, -0) (View)
/intern/cycles/kernel/bvh/obvh_local.h (+409, -0) (View)
/intern/cycles/kernel/bvh/obvh_nodes.h (+532, -0) (View)
/intern/cycles/kernel/bvh/obvh_shadow_all.h (+687, -0) (View)
/intern/cycles/kernel/bvh/obvh_traversal.h (+642, -0) (View)
/intern/cycles/kernel/bvh/obvh_volume.h (+483, -0) (View)
/intern/cycles/kernel/bvh/obvh_volume_all.h (+554, -0) (View)
/intern/cycles/util/util_avxb.h (+192, -0) (View)
/intern/cycles/util/util_types_float8.h (+70, -0) (View)
/intern/cycles/util/util_types_float8_impl.h (+113, -0) (View)

26 Modified Paths:

/intern/cycles/blender/addon/properties.py (+2, -1) (Diff)
/intern/cycles/blender/blender_sync.cpp (+9, -1) (Diff)
/intern/cycles/bvh/bvh.cpp (+76, -15) (Diff)
/intern/cycles/bvh/bvh.h (+8, -0) (Diff)
/intern/cycles/bvh/bvh2.cpp (+2, -9) (Diff)
/intern/cycles/bvh/bvh4.cpp (+4, -25) (Diff)
/intern/cycles/bvh/bvh_node.cpp (+49, -0) (Diff)
/intern/cycles/bvh/bvh_node.h (+2, -0) (Diff)
/intern/cycles/bvh/CMakeLists.txt (+2, -0) (Diff)
/intern/cycles/device/device_cpu.cpp (+3, -0) (Diff)
/intern/cycles/kernel/bvh/bvh.h (+3, -0) (Diff)
/intern/cycles/kernel/bvh/bvh_local.h (+12, -0) (Diff)
/intern/cycles/kernel/bvh/bvh_shadow_all.h (+12, -0) (Diff)
/intern/cycles/kernel/bvh/bvh_traversal.h (+16, -0) (Diff)
/intern/cycles/kernel/bvh/bvh_types.h (+1, -1) (Diff)
/intern/cycles/kernel/bvh/bvh_volume.h (+10, -0) (Diff)
/intern/cycles/kernel/bvh/bvh_volume_all.h (+11, -0) (Diff)
/intern/cycles/kernel/bvh/qbvh_nodes.h (+2, -1) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+8, -0) (Diff)
/intern/cycles/kernel/geom/geom_triangle_intersect.h (+475, -3) (Diff)
/intern/cycles/kernel/kernel_compat_cpu.h (+5, -4) (Diff)
/intern/cycles/kernel/kernel_types.h (+2, -1) (Diff)
/intern/cycles/util/CMakeLists.txt (+4, -1) (Diff)
/intern/cycles/util/util_avxf.h (+49, -2) (Diff)
/intern/cycles/util/util_debug.cpp (+13, -1) (Diff)
/intern/cycles/util/util_types.h (+5, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021