CS-184: Computer Graphics
Lecture #3: Shading
- Prof. James O’Brien
University of California, Berkeley
V2008-F-03-1.0
CS-184: Computer Graphics Lecture #3: Shading Prof. James OBrien - - PowerPoint PPT Presentation
CS-184: Computer Graphics Lecture #3: Shading Prof. James OBrien University of California, Berkeley V2008-F-03-1.0 Today Local Illumination & Shading The BRDF Simple diffuse and specular approximations Shading interpolation: flat,
University of California, Berkeley
V2008-F-03-1.0
2
3
Counter example: photochromatic materials
4
5
6
7
Images from Marc Levoy
8
9
Images from Jensen et. al, SIGGRAPH 2001
10
11
12
13
Comment about two-side lighting in text is wrong...
14
15
16
17
n l h ω e n l r
θ n cos θ n cos θ
18
19
n=1 n=2 n=4 n=8 n=256 n=128 n=64 n=32 n=16
20
21
22
23
24
25
26
Images from Gooch et. al, 1998
+ =
pure blue to yellow pure black to object color darken select final tone
27
Images from Cornell University Program of Computer Graphics
28
Images from Cornell University Program of Computer Graphics
29
Images from Cornell University Program of Computer Graphics
30
Images from Cornell University Program of Computer Graphics
31
From bustledress.com
32
33
34
35
36
37
38
Note: Gouraud was hardware rendered...
39
Note: Gouraud was hardware rendered...