Interactive Computer Graphics, 2020 Spring at NTU by Prof. Ming Ouhyoung
These demos are implemented in WebGL 2.0 with observable notebooks as the ICG collection.
- Homework 1.
- Basic requirement:
- One scene with at least 3 objects and 3 light sources, e.g., 3 teapots.
- Implement the Phong reflection model, i.e., linearly combine ambient, diffuse, and specular lighting.
- Implement flat, Gouraud, and Phong shading.
- Exhibit translation, scaling, rotation, and shear on object(s).
- Bonus:
- Allow the user to control the four transformations on object(s).
- Allow the user to control one's perspective.
- Allow the user to set the position and/or color of the light source(s).
- Implement other lighting and/or shading algorithm(s).
- Other special effects, e.g., animation, shadow, and transparency.
- Basic requirement: