Blender Git Loki

Git Commits -> Revision 091bb14

November 1, 2020, 23:25 (GMT)
Cycles: add support for BVH refit in OptiX

In order to achieve that we cache the OptiX datat handles in the Geometry structure, and we do not free the memory from the original BVH build. When building the BVH for a refit, we simply tell OptiX that the build is supposed to be an update. For this, we should also tell OptiX that the initial build should allow for updates, however this is only supported in viewport renders for now.

I have not done any profile to check how fast things are here, however it seems that the bottleneck is still data transfer.

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

Commit Details:

Full Hash: 091bb14364d97a4450ff6275ca8defd4c01186a4
Parent Commit: c887a50
Lines Changed: +59, -15

4 Modified Paths:

/intern/cycles/bvh/bvh_optix.cpp (+1, -2) (Diff)
/intern/cycles/device/device_optix.cpp (+52, -13) (Diff)
/intern/cycles/render/geometry.cpp (+3, -0) (Diff)
/intern/cycles/render/geometry.h (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021