In this project, we made a scene viewer in which we can:
Translate, rotate, and scale the objects.
Select individual light and move the light around the objects.
The project also includes editing the fragment shader to display directional lights and point lights.
Here is the video of the project:
Here are some pictures of the scene viewer:
The hw1 scene: The teapot with 2 lights (1 is slightly behind the teapot)
2. The demo scene: The teapot, 4 cubes, 4 spheres, 1 point light and 1 directional light:
3. Other tests: