-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
49a277e
commit 09e0a6b
Showing
3 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Project 2 | ||
========= | ||
|
||
Usage | ||
----- | ||
Project 2 should be run just as `./proj2`; however, it is built so that it can be passed a default | ||
shader to start in. | ||
|
||
$ ./proj2 -h | ||
usage: ./proj2 [<vertshader> <fragshader>] | ||
Call `./proj2', optionally taking a default pair of vertex and fragment | ||
shaders to render. Otherwise we just load our stack of shaders. | ||
|
||
### Value Interaction | ||
Our project two lets you view 4 scenes by pressing keys 1, 2, 3 and 4, respectively. In each scene, | ||
the variables `Ka`, `Ks`, `Kd`, `shexp`, and `bkgr color` may be manipulated interactively, in | ||
addition to the following scene-specific variables: | ||
1. Gouraud and Phong shading on an untextured sphere | ||
2. Per-vertex texturing versus "real" texturing, with or without seam correction on a sphere | ||
textured with the UChicago seal | ||
3. Filtering modes when applying a repeated texture (`rgb-check.png`) to a plane | ||
4. Bump-mapping modes (Disabled, Bump, or Parallax) on a sphere textured with the UChicago seal | ||
|
||
### 3D Interaction | ||
Our project implements all interactons from project 1 (though in a few cases they same glitchier). | ||
- Light can be rotated | ||
- Models can be zoomed in and out via translation or FOV changes | ||
- etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters