Skip to content

jscanvic/SkySim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SkySim

Basic sky simulation built with physical accuracy in mind

Sky simulation example View in 360°!

Instructions

  1. Run the command python simulate.py in your terminal.
  2. Open the generated sky.jpeg in one of the supported viewers.

Supported viewers

References

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

Equations

The equations used in the simulation are reported here.

TODO

  • 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

About

Basic sky simulation built with physical accuracy in mind

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors