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:
authorErik Englesson <erikenglesson@gmail.com>2018-07-03 11:36:58 +0300
committerErik Englesson <erikenglesson@gmail.com>2018-07-06 10:20:41 +0300
commit36cfc9e9fdc12beeec3545854bb2ccbb23ef17c6 (patch)
tree2c4656358f043ec0eab11830c36e4f7933deb843 /intern/cycles/blender/blender_sync.cpp
parent5c10bd4f199377fc2d0aaeadfd99d7c5ab511d95 (diff)
Cycles: First iteration on split traversal
This makes it possible to sample and evaluate several lights in a single tree traversal. Should sample highly specular lights better too. Can only be used in branched path tracing. This commit contains the following: * GUI for setting the splitting threshold * Recursive split traversal - Split method based on solid angle and BSDF peak - At leafs the path radiance is accumulated to L - Have created a simplified GGX eval that is not currently being used. * Refactor of common code This is in development.
Diffstat (limited to 'intern/cycles/blender/blender_sync.cpp')
-rw-r--r--intern/cycles/blender/blender_sync.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/blender/blender_sync.cpp b/intern/cycles/blender/blender_sync.cpp
index 49acba9304d..74169a30f53 100644
--- a/intern/cycles/blender/blender_sync.cpp
+++ b/intern/cycles/blender/blender_sync.cpp
@@ -282,6 +282,7 @@ void BlenderSync::sync_integrator()
Integrator::PATH);
integrator->use_light_bvh = get_boolean(cscene, "use_light_bvh");
+ integrator->splitting_threshold = get_float(cscene, "splitting_threshold");
integrator->sample_all_lights_direct = get_boolean(cscene, "sample_all_lights_direct");
integrator->sample_all_lights_indirect = get_boolean(cscene, "sample_all_lights_indirect");
integrator->light_sampling_threshold = get_float(cscene, "light_sampling_threshold");