This coursework was build on the skills we learned in graphics programming course. We had to render a real-time interactive scene involving many graphical effects. The challenge was to use OpenGL and C++ to add a day/night cycle to a scene depicting an island surrounded by water.The goal of the coursework was to integrate as many lighting effects as we could into the scene, while keeping the frame-rate sufficiently high to maintain an interactive experience.
The island had to be build from a terrain, and surrounded it by water.The environment had to be lit dynamically as the day/night cycle progresses – i.e. the sun had to move through the sky and the lighting change accordingly and additional light sources had to appear at night.
My project includes :
- A dynamic ambient light as the time of day progresses
- Multiple dynamic light-sources from the sun and other lights at night.
- The environment is lighted with diffuse, specular and attenuation.
- A navigable camera, moving around the 3D environment.
- Input keys are used to speed up or slow down the day/night cycle – default should be the full 24 hour cycle in 2 minutes.
- Weather effects (rain, snow, fog, wind)
- Clouds in the sky, moving
- Waves on the sea
- Post-processing effects: Motion Blur , Blur.
- Particle effects
- Framerate achieved: 60fps.