Blender Git Commit Log

Git Commits -> Revision a4260ac

Revision a4260ac by Matteo Falduto (master)
April 1, 2021, 10:31 (GMT)
Cycles: add a spread setting for area lights

This simulates the effect of a honeycomb or grid placed in front of a softbox.
In practice, it works by attenuating rays coming off-angle as a function of the
provided spread angle parameter.

Setting the parameter to 180 degrees poses no restrictions to the rays, making
the light behave the same way as before this patch.

The total light power is normalized based on the spread angle, so that the
light strength remains the same.

Differential Revision: https://developer.blender.org/D10594

Commit Details:

Full Hash: a4260ac21977acd5b9cd792f2a68c3aa78dd91cd
Parent Commit: c859e1a
Committed By: Brecht Van Lommel
Lines Changed: +73, -12

11 Modified Paths:

/intern/cycles/blender/addon/ui.py (+12, -9) (Diff)
/intern/cycles/blender/blender_light.cpp (+1, -0) (Diff)
/intern/cycles/kernel/kernel_light.h (+16, -0) (Diff)
/intern/cycles/kernel/kernel_light_common.h (+11, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+2, -2) (Diff)
/intern/cycles/render/light.cpp (+12, -0) (Diff)
/intern/cycles/render/light.h (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+7, -0) (Diff)
/source/blender/makesdna/DNA_light_defaults.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_light_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_light.c (+9, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021