blender/intern/cycles/kernel/geom
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
..
geom_attribute.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
geom_bvh_shadow.h Cycles: Add leaf primitives sanity check asserts to the kernel 2015-01-12 15:05:14 +05:00
geom_bvh_subsurface.h Cycles: Add leaf primitives sanity check asserts to the kernel 2015-01-12 15:05:14 +05:00
geom_bvh_traversal.h Cycles: Add leaf primitives sanity check asserts to the kernel 2015-01-12 15:05:14 +05:00
geom_bvh_volume.h Cycles: Add leaf primitives sanity check asserts to the kernel 2015-01-12 15:05:14 +05:00
geom_bvh.h Cycles: Implement QBVH tree traversal 2014-12-25 02:50:49 +05:00
geom_curve.h Cycles: Cleanup and optimization comment update 2015-01-17 00:15:47 +05:00
geom_motion_curve.h Cycles: Cleanup and optimization comment update 2015-01-17 00:15:47 +05:00
geom_motion_triangle.h Cycles: set hit values in-order 2014-10-11 11:17:08 +02:00
geom_object.h Cycles: Distance optimization for QBVH 2014-12-25 22:40:02 +05:00
geom_primitive.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
geom_qbvh_shadow.h Cycles: Add leaf primitives sanity check asserts to the kernel 2015-01-12 15:05:14 +05:00
geom_qbvh_subsurface.h Cycles: Add leaf primitives sanity check asserts to the kernel 2015-01-12 15:05:14 +05:00
geom_qbvh_traversal.h Cycles: Add leaf primitives sanity check asserts to the kernel 2015-01-12 15:05:14 +05:00
geom_qbvh_volume.h Cycles: Add leaf primitives sanity check asserts to the kernel 2015-01-12 15:05:14 +05:00
geom_qbvh.h Fix T43027: OpenCL kernel compilation broken after QBVH 2015-01-02 14:58:01 +05:00
geom_triangle_intersect.h Cycles: Don't perform re-intersection if ray distance is zero 2015-01-31 01:49:48 +05:00
geom_triangle.h Cycles: Implement watertight ray/triangle intersection 2014-12-25 02:50:49 +05:00
geom_volume.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
geom.h Cycles: Bump stack size for QBVH traversal code 2014-12-29 13:37:18 +05:00