Day - Night Cycle Simulator is a simple program that emulates sky lighting, and weather through a continuous 24-hour period. The simulator displays a forest scene in which the user can move around using the mouse and keyboard, and can observe the colors change in the sky as the sun rises and sets. Additionally, as the suns position in the sky changes, the color of the light changes in order to further emulate atmospheric light scattering. Lastly, if the user presses 'X', they will notice a gust of wind comes through and sways the trees side to side, until the wind settles out. This project expanded on gradient shading, real-time shading, phong illumination, model transformation, hierarchical modeling, the use of material properties, and animation over time.
My goal with this project was to create a realistic sky scene, with some ground elements to further enhance the light coming from the sun.
Lighting is done using the Phong Bi-Directional Lighting Model, and takes advantage of material properties to give the trees and the sun their reflectance.
Given more time to devote to this project, there were other features I would have implemented, and plan to do so in the future: