A Practical Analytic Model for Daylight
A. J. Preetham
Peter Shirley
Brian Smits
Abstract
Sunlight and skylight are rarely rendered correctly in
computer graphics. A major reason for this is high
computational expense. Another is that precise atmospheric data
is rarely available. We present an inexpensive analytic model
that approximates full spectrum daylight for various
atmospheric conditions. These conditions are
parameterized using terms that users can either measure or estimate.
We also present an inexpensive analytic model that approximates the
effects of atmosphere (aerial perspective).
These models are fielded in a number of conditions and intermediate
results verified against standard literature from atmospheric science.
Our goal is to achieve as much accuracy as possible without
sacrificing usability.
Both compressed postscript and
pdf files of the paper are available.
Example code is available.
Color images from the paper are shown below.
Last modified: Tue Oct 5 10:58:33 MDT 1999