Blender Git Commit Log

Git Commits -> Revision 9946cca

Revision 9946cca by Sergey Sharybin (master)
July 18, 2016, 08:04 (GMT)
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

Commit Details:

Full Hash: 9946cca14676bf07b3c7c103e99033fe1e4e423e
Parent Commit: a2c82f5
Lines Changed: +8, -1

1 Modified Path:

/intern/cycles/kernel/geom/geom_triangle_intersect.h (+8, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021