blender/intern/cycles
Sergey Sharybin 9946cca146 Fix T48860: Cycles SSS artifacts with spatially split BVH
The issue was caused by SSS intersection code gathering all
intersections without check for duplicated ones. This caused
situations when same intersection will be recorded twice in
the case if triangle is shared by several BVH nodes.

Usually this is handled by checking intersection distance
after sorting intersections (in shadow_blocked for example)
but for SSS we don't do such sorting and using number of
intersections to calculate various things.

Didn't find anything smarter than to check intersection
distance in triangle_intersect_subsurface().

This solves render artifacts in the cost of 1.5% slowdown
of extreme case rendering (SSS object filling in whole
FullHD screen).

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2105
2016-07-18 10:04:20 +02:00
..
app Fix Cycles debug build assert on some platforms, tighten checks to avoid this in the future. 2016-06-12 17:35:15 +02:00
blender Cycles: Add option to disable new Hair BVH 2016-07-15 16:29:28 +02:00
bvh Cycles: Fix refitting of regular BVH 2016-07-15 18:12:34 +02:00
cmake CMake: Fix typo in CUDA dynload commit 2016-01-14 12:48:14 +05:00
device Cycles: Give better idea which OpenCL kernel is currently compiling 2016-07-14 12:49:20 +02:00
doc Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
graph Cycles: Fix the Convert Node type registration 2016-06-23 03:15:57 +02:00
kernel Fix T48860: Cycles SSS artifacts with spatially split BVH 2016-07-18 10:04:20 +02:00
render Cycles: Add option to disable new Hair BVH 2016-07-15 16:29:28 +02:00
subd Cycles: Fix regression introduced in c96a4c8 2016-06-07 07:38:09 -04:00
test Cycles: Minor cleanup, whitespace around keyword and preprocessor indent 2016-04-13 08:58:52 +02:00
util Cycles: Fix three numerical issues in the fresnel, normal map and Beckmann code 2016-07-16 20:54:14 +02:00
CMakeLists.txt Code refactor: add generic Cycles node infrastructure. 2016-05-22 17:29:24 +02:00