-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
33 lines (31 loc) · 858 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Instructions for Use:
The .zip file contains a folder named “teamProj” which contains two more folders, “common” and “main”.
Enter the “main” folder and compile using “make”. Once the program is compiled,
execute with the command “./cg05 vs.glsl frag.glsl” in order to pass in the required
vertex and fragment shaders. Once executed, a window containing the toon shaded
sphere will appear. In order to manipulate the lighting and texture, use the keys shown in the appendix below.
Keyboard Interactivity:
Key
Function
W
Move Light Source Up
S
Move Light Source Down
D
Move Light Source Right
A
Move Light Source Left
Q
Move Light Source Closer
E
Move Light Source Further
Z
Increase Shine for Specular Lighting
X
Decrease Shine for Specular Lighting
R
Toggle Texture Mapping
T
Toggle Specular Lighting
Y
Toggle Diffuse Lighting