Cycles: Fix intersection issues caused by degenerate instance matrix
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 8 Oct 2015 15:30:51 +0000 (20:30 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 9 Oct 2015 10:58:03 +0000 (15:58 +0500)
commit8fa4fccec42ac98cfbc2652c8016d80c336564c4
treee3b702934f781fdc864e0f8b65e2e998a1023b8f
parentc8005703f2989fe00901c630c009a5080c87e90b
Cycles: Fix intersection issues caused by degenerate instance matrix

Issue was caused by wrong intersection distance scaling on instance pop,
which could cause intersection distance to become zero, confusing following
intersection checks.
intern/cycles/kernel/geom/geom_bvh_volume_all.h
intern/cycles/kernel/geom/geom_object.h
intern/cycles/kernel/geom/geom_qbvh_volume_all.h