In this assignment, you’ll be asked to render a more complex geometric shape to the screen, and you’ll be
The zip archive should contain your Assignment2 folder. This naming system helps us make sure the right assignment is paired with the right individual.
Loading an OBJ File
In the Assignment2 directory, you’ll find a file called “bunny.obj” that contains the geometry we’ll use for this
assignment. We covered this file format in Week 03. You can open it in a text editor to explore the layout of this geometry file format. To simplify the assignment for you so that you don’t need to parse this OBJ file yourself,
you’ve been provided with an OBJ loader function in the file objLoader.js. Do not write your own OBJ loader; just use the code in this file. Important: The starter code that you have been provided already loads the OBJ file contents into memory in the JS application – you shouldn’t need to call the OBJ loader functions yourself.
Setting up a Local HTTP Server
full credit, so long as the color of each vertex is clearly a function of the position. You could compute this positional color-coding scheme in the application or in a shader; the implementation is up to you.