Blender Git Loki

Git Commits -> Revision c4235ce

October 11, 2014, 09:53 (GMT)
Cycles: Implement an area preserving parameterization sampling for area lamps

Replace old code for area lamps which was more like incorrect with more correct
one using the following paper as a reference:

Carlos Urena et al.
An Area-Preserving Parametrization for Spherical Rectangles.

Implementation is straight from the paper, currently the rectangle contants are
calculated for each of the samples. Ideally we need to pre-calculate them.

The old PDF is still used, which makes difference real subtle. This is to be
corrected before final commit.

Reviewers: brecht, juicyfruit

Subscribers: dingto, ton

Differential Revision:

Commit Details:

Full Hash: c4235ce820b0a9c3d019e31e7d4360162a0282a5
Parent Commit: 0a73828
Lines Changed: +90, -8

1 Modified Path:

/intern/cycles/kernel/kernel_light.h (+90, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021