Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/CMakeLists.txt')
-rw-r--r--intern/cycles/CMakeLists.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/intern/cycles/CMakeLists.txt b/intern/cycles/CMakeLists.txt
index 8adb032ad9e..f619e6b104e 100644
--- a/intern/cycles/CMakeLists.txt
+++ b/intern/cycles/CMakeLists.txt
@@ -347,6 +347,24 @@ if(WITH_OPENCOLORIO)
)
endif()
+if(WITH_CYCLES_PATH_GUIDING)
+ add_definitions(-DWITH_PATH_GUIDING)
+
+ # The level of the guiding integration.
+ # Different levels can be selected to measure the overhead of different stages.
+ # 1 = recording the path segments
+ # 2 = 1 + generating (not storing) sample data from the segments
+ # 3 = 2 + storing the generates sample data
+ # 4 = 3 + training the guiding fields
+ # 5 = 4 + querying the trained guiding for sampling (full path guiding)
+ add_definitions(-DPATH_GUIDING_LEVEL=5)
+
+ include_directories(
+ SYSTEM
+ ${OPENPGL_INCLUDE_DIR}
+ )
+endif()
+
# NaN debugging
if(WITH_CYCLES_DEBUG_NAN)
add_definitions(-DWITH_CYCLES_DEBUG_NAN)