diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-03-05 16:55:30 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-03-05 16:55:30 +0300 |
commit | 9489205c5c0b9b432d02be4a3d0d15fc62ee6cb9 (patch) | |
tree | 3888e597a1eb7c96bd375fd45741621fb2c805a9 /source/blender/compositor/intern | |
parent | eb16b04b9dac7703042048f676b832894784244e (diff) |
Fix T43865: Cycles: Watertight rendering produces artifacts on a huge plane
The issue was caused by numerical instability whrn having ray origin close to a huge
triangle, which could have aused bad ray distance check.
Watertight Woop intersection isn't really addressing such cases, it's dealing with
small triangles far away from the ray origin instead, so it's a bit tricky yo make
it working reliably.
While we're quite close to the release it's safer to do check in Pleaucker coordinates
if ray close to a huge triangle. Likely this additional check combined with some other
tweaks to the code doesn't cause measurable slowdown in the scenes tested here.
After the release we can play a bit more with this code in order to make it more
stable without Pleucker fallback.
Diffstat (limited to 'source/blender/compositor/intern')
0 files changed, 0 insertions, 0 deletions