positioning of light sources in a unified manner and
several architectures and systems havebeen proposed.
(Costa et al., 1999) introduced an IL system where a
custom scripting language was used to define the illu-
mination constraints. The system utilized the Adap-
tive Simulated Annealing algorithm to optimize the
light sources. (Pellacini et al., 2007) proposed a work-
flow, where artists could directly paint the desired
lighting effects onto the geometry. With the use of
an importance map, obtained from the painted target
image, the system applies the non-linear simplex al-
gorithm (Nelder and Mead, 1965) to adjust the var-
ious parameters of the light sources by minimizing
the goal function, which is a weighted average of the
difference between the desired and computed illumi-
nation.
(Castro et al., 2009) solve the problem of light
positioning and emittance, while keeping the total
emission power at a minimum. They computed the
contribution of a user-defined number of lights using
the radiosity algorithm and experimented with local
search algorithms, such as Hill Climbing and Beam
Search. As a goal, they tried to minimize total emis-
sion power. Later, (Castro et al., 2012) improved the
algorithm and used global approaches to solve the
problem in order to avoid getting stuck in a local op-
timum. They offered an implementation and experi-
mented with Genetic algorithms, Particle Swarm op-
timization and a hybrid combination of a global and
local search algorithm.
An interesting formulation of the ”opening” prob-
lem was suggested by (Fern´andez and Besuievsky,
2012), where skylights were treated as area light
sources and a unified skylight/luminaries optimiza-
tion was sought. They used the VNS metaheuristic
algorithm to solve the inverse lighting problem, while
keeping the energy consumption of the artificial light
sources to a minimum and/or maximize the contribu-
tion of the skylights.
Finally, (Lin et al., 2013) proposed a coarse-to-
fine strategy to solve the inverse lighting problem,
given a set of user-painted lighting samples on sur-
faces. They spread unit-intensity lights in a volume
grid and configure their intensities using a constrained
linear least square solver. Dim lights are pruned and
the process is repeated with the remaining cells, after
subdividing them. Then, a light hierarchy is built and
traversed to obtain a good configuration, which is sub-
sequently optimized using a non-linear least squares
method. Since this is the most recent method, closely
related to ours, in the remainder of the paper, we often
provide direct comparisons with it.
3 PROBLEM FORMULATION
Let I
goal
be an illumination goal over a scene and
P be a light configuration consisting of k lights that
illuminates a scene producing an illumination result
I
res
(P). I
goal
, I
res
can be radiance, radiosity or irradi-
ance, depending on the measurement demands of the
underlying application (e.g. dependence on viewing
direction, material etc.). For a discrete set of surface
samples in the scene s
i
, I
res
(P, s
i
) and I
goal
(s
i
) are the
resulting illumination from the lighting configuration
P and the desired illumination at s
i
, respectively.
Using the above notations, an inverse lighting
problem can be defined as the search for the optimal
lighting configuration P
∗
, which minimizes some dis-
tance function D between the resulting and the desired
illumination at the sampling locations s
i
:
P
∗
= argmin
P
D(I
res
(P, s
i
), I
goal
(s
i
)) (1)
Typically, D is expressed as the L
2
norm of the
measurement differences at all N
s
sampling points s
i
.
For real luminaries, although the dependence of
the emittance L
e
on direction or power consumption
cannot be considered linear, its dependence on a nom-
inal unit output power distribution can: L
e
(l
j
, ω) =
c(l
j
)
˜
L
e
(l
j
, ω). In other words, the measured contribu-
tion of a light source l
j
to the illumination of a given
point is linearly dependent on its emittance scaling
c(l
j
). Therefore, the illumination from a set of n light
sources to a sampling point s
i
is the superposition of
all luminary contributions.
If we consider a general light transport operator
(path integral) LT(l
j
→ s
i
) to describe the total con-
tribution of each light source l
j
to a sampling point s
i
,
for n unit light sources, the lighting result on s
i
is the
linear combination of these contributions with coeffi-
cients c(l
j
).
Assuming now fixed positions for n light sources
covering a discretization of the 3D environment, the
(discrete) LSP and EP problems can be solved simul-
taneously, by optimizing the emittance scaling factors
c(l
j
) of all n potential candidate lights so that the re-
sulting light configuration P
∗
satisfies Equation 1. A
zero c(l
j
) implies the absence of a light source at l
j
.
4 METHOD OVERVIEW
(Lin et al., 2013) solve a simplified version of the
above problem by regarding all potential light sources
positioned on a discretized grid covering the entire
scene and solving a linear system of N
s
equations and
N
c
unknowns, N
s
being the number of light (goal)
GRAPP2015-InternationalConferenceonComputerGraphicsTheoryandApplications
28