Basic sky simulation built with physical accuracy in mind
- Run the command
python simulate.pyin your terminal. - Open the generated
sky.jpegin one of the supported viewers.
Sky models
Perez All-Weather
All-weather model for sky luminance distribution—Preliminary configuration and validation, Perez et al., Solar Energy (vol. 50, issue 3), 1993
Preetham
A practical analytic model for daylight, Preetham et al., Proceedings of the 26th annual conference on Computer graphics and interactive techniques (SIGGRAPH '99), 1999
Tone mapping
Reinhard
Photographic tone reproduction for digital images, Reinhard et al., ACM Transactions on Graphics (TOG), vol. 21, issue 3, 2002
The equations used in the simulation are reported here.
- Implement proper tone mapping
- Make a proper command-line interface
- Compute the position of the sun from time and location
- Make an interactive viewer
- Add more popular sky models
