#Interactive Graphics Homework Repository ##Requirements There are 4 files:
- basic-objects.js: contains the definition of the primitives used in the example
- gl-matrix.js contains the utility functions on matrices and vectors
- HW.html Main File
- simple-rotator.js contains the code for the rotator
You only need to modify the HW.html file. You need to complete/modify the file with the code needed to:
Create a fully assembled bicycleCreate a treeCreate a scene with two bicycles and 4 trees- .
Modify the vertex and fragment shaders to implement Phong shading with 1 directional light (moving so to simulate the sun) and 2 positional lights positioned on the front of the bicycles. - (optional) Add textures on the objects (trees, disc, etc…)