Blender Git Commit Log

Git Commits -> Revision bca8e74

Revision bca8e74 by Brecht Van Lommel (render25)
February 4, 2010, 20:41 (GMT)
Render Branch: lamp falloff

* Change lamp falloff formula which was dist/(r^2 + dist) with dist
a user specified value, whereas the correct value is 1/(r^2). Now
it is 1/(r^2 + dist) with dist = 0 as the default.
* Deprecated the Lin/Quad weighted mode.
* Still more work needed to make sun/area/hemi work better with this,
results are too bright now.
* Also this gives quite harsh results when the lamp is near geometry,
perhaps because we are not using tonemapping by default.

Commit Details:

Full Hash: bca8e744a3605663276e06dae31575ef6f65d7e5
SVN Revision: 26610
Parent Commit: 898909e
Lines Changed: +17, -23

6 Modified Paths:

/release/scripts/ui/properties_data_lamp.py (+2, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+2, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+3, -1) (Diff)
/source/blender/makesdna/DNA_lamp_types.h (+2, -3) (Diff)
/source/blender/makesrna/intern/rna_lamp.c (+2, -3) (Diff)
/source/blender/render/intern/source/lamp.c (+6, -12) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021