The easiest way to apply the texture images onto the GC is to align the vertical edge of an image with the spine curve of the GC. Different columns of the texture image are then mapped to different rotation angles of the GC.
You have a lot of opportunity (and a bit of extra time) to implement bonus features. Here are a few that comes to mind:
add shadows add reflections add bump mapping add environment mapping add procedural textures add 3D textures add better GC models: use spline representation for the spine, a function that describes how the radius varies along the spine, and non-circular cross-sections. add out-of-plane GC (covers full 3D space) others -- contact me first
Rubric:
You start off with 100 points. You earn additional credit by turning in your assignment early and/or implementing additional features. You lose credit for missing functionality, incorrect results, poorly documented or formatted code, or not following instructions. Below is a partial list: - up to 10 points off for poor features.html file - up to 10 points off for inadequate comments or hard-to-read code - up to 10 points off for not following instructions - up to 10 points off for special handling to grade your homework (usually because you did not check that it runs on the computers in the lab first). - functionality points depending on importance Make sure you: a. submit the right files you want us to grade, b. have tested your code on the browsers in the lab. c. follow the general instructions described in overview.html
hugh: a - k cole: l - z
Put materials in a folder named prog4 and zip it up. Submission must be done using the "submit" command from unix.ucsc.edu
Last modified Thursday, 09-May-2019 20:22:35 PDT.