CS452 -- Computer Graphics

Jian Huang


Lab1

In this lab, the goal is to familiarize yourself with WebGL2 and processing data from models in the OBJ format.

The started code should have been distributed to you through GitHub. You can clone or fork the repository. These files should be available under the starter code root directory:

  /CS452-Starter> pwd
  /CS452-Starter

  /CS452-Starter> find . -inode "*"
  .
  ./favicon.ico
  ./index.html
  ./js/drawable.js
  ./js/gl-matrix-min.js
  ./js/vertex-data.js
  ./js/shader.js
  ./js/main.js
  ./js/helpers.js
  ./js/obj-loader.js
  ./resources/models/bunny.obj
  ./resources/models/sphere.obj
  ./resources/shaders/verts/simple300.vert
  ./resources/shaders/verts/simple.vert
  ./resources/shaders/frags/simple.frag
  ./resources/shaders/frags/simple300.frag
  ./README.md

After getting the starter code, place finalized steps under your web directory. If you have never put up a web page before, please consult labstaff's help resources:

  Webhome for Linux Users

You will receive a individualized hash from the TA. This lab and all future labs must be reachable using the following URL structure.

  http://web.eecs.utk.edu/~[yourNetID]/[yourHash]/lab[NUMBER]/Step[StepNumber]

Lab1 has the following steps. As with all other programming tasks, please proceed incrementally. There are 3 steps.