Blender Git Loki

Git Commits -> Revision cd39e3d

Revision cd39e3d by Kévin Dietrich (master)
June 22, 2021, 05:38 (GMT)
OptiX: select BVH build options from Scene params

Currently, the OptiX BVH build options are selected based on whether
we are in background mode (final renders) or not (viewport renders).
In background mode, the BVH is built for fast path tracing and low
memory footprint, while in viewport, it is built for fast updates.

However, on platforms without OpenGL support, the background flag is
always set to true and prevents using fast BVH builds in the viewport.

Now, the BVH options derive from the Scene BVH settings:
* if BVH is static, a fast to trace BVH is built
* if BVH is dynamic, a fast to update BVH is built

Reviewed By: #cycles, brecht

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

Commit Details:

Full Hash: cd39e3dec1fd0dd2ede4c0eaa10e4d285fd78b64
Parent Commit: 338be95
Lines Changed: +15, -10

1 Modified Path:

/intern/cycles/device/device_optix.cpp (+15, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021