Blender Git Loki

Git Commits -> Revision 3637cbb

Revision 3637cbb by Sergey Sharybin (master)
July 14, 2016, 09:26 (GMT)
Cycles: Fix wrong termination criteria in intersect_all functions

It was possible to miss bounces termination criteria in this functions,
mainly when max_hits was set to 0.

Made the check more robust in traversal functions (which should not
affect performance, it's an operation of same complexity AFAIK).

Also avoid doing ray-scene intersection from shadow_blocked when
limit of transparent bounces was already reached.

Commit Details:

Full Hash: 3637cbbcf8d1b65318aabc11f72e9241b6992812
Parent Commit: 103a515
Lines Changed: +12, -7

5 Modified Paths:

/intern/cycles/kernel/bvh/bvh_shadow_all.h (+1, -1) (Diff)
/intern/cycles/kernel/bvh/bvh_volume_all.h (+2, -2) (Diff)
/intern/cycles/kernel/bvh/qbvh_shadow_all.h (+1, -1) (Diff)
/intern/cycles/kernel/bvh/qbvh_volume_all.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_shadow.h (+6, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021