Blender Git Commit Log

Git Commits -> Revision 08c1f5b

Revision 08c1f5b by Antonis Ryakiotakis (master)
May 23, 2020, 12:21 (GMT)
Cycles: Improve sampling of area lights

This patch uses the sampling method described in "A Low Distortion Map Between Triangle and Square" by Eric Heitz.
The benefit is avoiding sqrt in the calculation, which could be cheaper on some architectures, and the result is
more even sampling across the triangle surface.

Based on ideas from
https://pharr.org/matt/blog/2019/02/27/triangle-sampling-1.html
https://pharr.org/matt/blog/2019/03/13/triangle-sampling-1.5.html

Reviewed By: Brecht Van Lommel

Differential Revision: https://developer.blender.org/D6566

Commit Details:

Full Hash: 08c1f5bf335992ff797e9543f50b1b90f96e8369
Parent Commit: 86fa8dc
Lines Changed: +12, -4

1 Modified Path:

/intern/cycles/kernel/kernel_light.h (+12, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021