Blender Git Commit Log

Git Commits -> Revision d9cc3ea

Revision d9cc3ea by Lukas Stockner (master)
July 25, 2016, 14:14 (GMT)
Cycles: Fix rays parallel to the surface in the triangle refine and MultiGGX code

In the triangle intersection refinement code, rays that are parallel to the triangle caused a divide by zero.
These rays might initially hit the triangle due to the watertight intersection test, but are very rare - therefore, just skipping the refinement for them works fine.

Also, a few remaining issues in the MultiGGX code are fixed that were caused by rays parallel to the surface (which happened more often there due to smooth shading).

Commit Details:

Full Hash: d9cc3ea2c6e8cfd17612c35a82050cb01d8070ec
Parent Commit: 83ae0a0
Lines Changed: +28, -11

2 Modified Paths:

/intern/cycles/kernel/closure/bsdf_microfacet_multi.h (+8, -5) (Diff)
/intern/cycles/kernel/geom/geom_triangle_intersect.h (+20, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021