Blender Git Commit Log

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

8 Modified Paths:

/intern/cycles/app/cycles_xml.cpp (+2, -0) (Diff)
/intern/cycles/blender/addon/properties.py (+1, -0) (Diff)
/intern/cycles/kernel/kernel_projection.h (+36, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm_image.h (+4, -1) (Diff)
/intern/cycles/render/nodes.cpp (+1, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021