blender/intern/cycles
Sergey Sharybin 3f5771475d Cycles: Don't perform re-intersection if ray distance is zero
It is possible that ray distance will be zero which would make intersection
refinement return NaN as the refined position which would later lead to all
sort of mathematical issues.

Don't think there are ways to improve intersection accuracy for such rays
so just return original intersection coordinate.

This should fix T43475.

TODO: Need to look into possible issues in Ashikhmin BSDF which might return
zero-length reflected/transmitted ray?
2015-01-31 01:49:48 +05:00
..
app Cycles: Fix compilation error happened after recent render time commit 2015-01-15 21:28:04 +05:00
blender cleanup: pep8 2015-01-29 15:35:06 +11:00
bvh Cycles: Use bool for is_lead array 2015-01-31 01:49:41 +05:00
cmake Cycles: Post-reintegration tweaks to ensure things do compile 2015-01-01 01:31:08 +05:00
device Cycles: Repot CPU and CUDA capabilities to system info operator 2015-01-06 14:13:21 +05:00
doc Cycles: relicense GNU GPL source code to Apache version 2.0. 2013-08-18 14:16:15 +00:00
kernel Cycles: Don't perform re-intersection if ray distance is zero 2015-01-31 01:49:48 +05:00
render Cycles: Use bool for is_lead array 2015-01-31 01:49:41 +05:00
subd Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
util Cycles: Add fast math function module 2015-01-31 01:49:41 +05:00
CMakeLists.txt Cycles: Post-reintegration tweaks to ensure things do compile 2015-01-01 01:31:08 +05:00
SConscript Cycles: Post-reintegration tweaks to ensure things do compile 2015-01-01 01:31:08 +05:00