CMPS 161 Final Project - Dynamic Environment Mapping
Krystle de Mesa
About
This final project is an implementation of dynamic environment mapping. Spheres are rendered within
a room and textured with shaders to properly reflect its surroundings.
The dynamic environment mapping works by first rendering the scene as reflected by the big sphere (only rendering
the room and the other two spheres). This gets stored into texture memory and the other scenes are then rendered
in the same manner. Once textures have been made for all three spheres, a final pass renders the whole scene with
the spheres and their respective textures (explains the reflection of other spheres within the spheres).
Animation rotates the spheres by a small increment.
Screenshots (click for full size):
Video Capture (requires QuickTime): click here
Program Usage:
Once the program is executed, you can press z to cycle
through various shaders to change the shading mode for the small sphere.
Credits: Many thanks to Adam for giving me this project idea!