Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021