The demo’s camera flight through the scene. Full quality on YouTube.
4 Seasons
The idea was one scene, a Japanese/Chinese setting with temples, lanterns, trees and nature, shown in all four seasons, with the transitions hidden by the camera movement or a fade to black. Because of the time frame of the course we built one season instead, with a lot of detail.
The demo is built on the Auto-Vk-Toolkit of TU Wien’s research unit of computer graphics, starting from its model loader example.
Rendering
Each frame runs these passes:
- Skybox
- Rasterizer into a G-buffer
- Screen-space ambient occlusion (SSAO) and a blur of it
- Illumination with deferred shading
- Depth of field: a mask for near, in-focus and far regions, a max filter that lets the near field bleed over the in-focus area, then blur and blend
Every effect can be switched on and off in the menu.
Camera
Two camera modes: a camera circling the scene, and a free first-person camera. A camera path can be recorded and played back, which the demo uses for its fly-through.
My part
- Project setup with the basic rasterizer and camera movement
- Camera path recording and playback (the basics)
- Skybox
- Sculpting the environment and building the two demo scenes
- Depth of field
Peter Kain extended the rasterizer and the Vulkan calls, the camera path recording and playback, and implemented SSAO and deferred shading.
Tested on Windows 11 with an Nvidia RTX 3070 and an RTX 4080 Super. The scene assets are too large for GitHub; the README links a download.