Blender Git Loki

Git Commits -> Revision 2e42014

March 28, 2016, 16:08 (GMT)
Cycles: Experiment with using Lambert cylindrical equal-area projection

This commit implements new panorama and environment texture projection
which is called after a dude named Lambert:

https://en.wikipedia.org/wiki/Lambert_cylindrical_equal-area_projection

Advantage of this projection is that it doesn't waste sampling time next
to the poles (which is a huge issue for the equirectangular projection).

Disadvantage of this model is that there'll be some distortion on the
poles when mapping it back to the sphere.

This is partially worked around by using scaling magic so there'll be
a bit more samples added on the top/bottom of the image (which makes it
technically a Roosendaal-Sharybin mapping since that's what we've been
discussing in the studio).

Maybe we should be more aggressive here with clamping of the sine, but
let's start doing some real-world tests first.

Commit Details:

Full Hash: 2e420144c5b4bc339dcde22585167bfd4b3cd62a
Parent Commit: 6b54ac5
Lines Changed: +48, -1

Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2019