blender/intern/cycles/device
Kévin Dietrich cd39e3dec1 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
2021-06-22 07:38:28 +02:00
..
cuda Cycles: Change device-only memory to actually only allocate on the device 2021-03-11 14:12:35 +01:00
opencl Cycles OpenCL: disable AO preview kernels 2021-05-19 18:30:43 +02:00
CMakeLists.txt Cycles: abort rendering when --cycles-device not found 2020-10-29 16:01:38 +01:00
device_cpu.cpp Cycles: disable NanoVDB for AMD OpenCL 2021-03-30 00:00:17 +02:00
device_cuda.cpp Cycles: disable NanoVDB for AMD OpenCL 2021-03-30 00:00:17 +02:00
device_denoising.cpp Cleanup: reduce hardcoded numbers in denoising neighbor tiles code 2020-07-10 17:10:05 +02:00
device_denoising.h Cycles: Change device-only memory to actually only allocate on the device 2021-03-11 14:12:35 +01:00
device_dummy.cpp Cycles: abort rendering when --cycles-device not found 2020-10-29 16:01:38 +01:00
device_intern.h Cycles: abort rendering when --cycles-device not found 2020-10-29 16:01:38 +01:00
device_memory.cpp Fix T87793: Cycles OptiX crash hiding objects in viewport render 2021-05-19 18:30:43 +02:00
device_memory.h Fix T87793: Cycles OptiX crash hiding objects in viewport render 2021-05-19 18:30:43 +02:00
device_multi.cpp Cycles OpenCL: disable AO preview kernels 2021-05-19 18:30:43 +02:00
device_network.cpp Cycles: add denoising settings to the render properties 2020-06-24 15:17:36 +02:00
device_network.h Cleanup: correct spelling in comments 2021-02-05 16:23:34 +11:00
device_opencl.cpp Cycles: disable NanoVDB for AMD OpenCL 2021-03-30 00:00:17 +02:00
device_optix.cpp OptiX: select BVH build options from Scene params 2021-06-22 07:38:28 +02:00
device_split_kernel.cpp Fix T82351: Cycles: Tile stealing glitches with adaptive sampling 2021-01-11 21:04:49 +01:00
device_split_kernel.h Cleanup: minor refactoring around DeviceTask 2020-06-22 13:06:47 +02:00
device_task.cpp Fix (apparently harmless) Cycles asan warnings 2021-03-15 20:46:57 +01:00
device_task.h Fix T85148: OptiX viewport denoising regression 2021-01-29 13:35:00 +01:00
device.cpp Cycles: disable NanoVDB for AMD OpenCL 2021-03-30 00:00:17 +02:00
device.h Cleanup: Use named unused arguments in Cycles Device 2021-05-21 11:19:33 +02:00