Blender Git Loki

Git Commits -> Revision aeb42cf

Revision aeb42cf by Ray molenkamp (master)
April 11, 2020, 18:59 (GMT)
Cycles/Optix: Support building the optix kernels on demand.

CMake: `WITH_CYCLES_DEVICE_OPTIX` did not respect `WITH_CYCLES_CUDA_BINARIES` causing the optix kernel to be always build at build time.

Code: `device_optix.cpp` did not count on the optix kernel not existing in the default location.

For this to work, one should have before starting blender

1) working nvcc environment
2) Optix SDK installed and the OPTIX_ROOT_DIR environment variable pointing to it which is not set by default

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

Reviewed By: Brecht

Commit Details:

Full Hash: aeb42cf8ab2f9c8a7066748ff4889bc8a387dc0d
Parent Commit: ddfec08
Lines Changed: +9, -3

2 Modified Paths:

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