powerpoint presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d...

42
1

Upload: others

Post on 21-Jun-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

1

Page 2: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

2

Page 3: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

3

Page 4: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

4

P

P

P

Page 5: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

5

Page 6: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

6

Page 7: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

7

Page 8: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

8

P

N P

L IL

P

V P

P

I p

N = L = V =1

Page 9: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

9

I

ke

I = ke

Page 10: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

10

ka

ILa

I = ke+ k

aI

La

Page 11: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

11

ke ka ILa

I()

ka ILa

I(l) = ka(l)I

La(l)

I R = ka

R ILa

R

I G = ka

G ILa

G

I B = ka

B ILa

B

Page 12: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

12

Page 13: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

13

Page 14: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

14

Page 15: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

15

kd

IL

N

L

B

I = ke+ k

aI

La+ k

dI

LB _____

= ke+ k

aI

La+ k

dI

LB( )

B =1 if N × L > 0

0 if N × L £ 0

ìíï

îï

Page 16: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

16

V

Page 17: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

17

N

I =I

Lif V = R

0 otherwise

ìíï

îï

Page 18: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

18

R V

ns

(x)+ max(0, x).

ns

Ispecular

~ B(R × V)+

ns

Page 19: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

19

L V

N H

(x)+ max(0, x).

Ispecular

~ B(N ×H)+

ns

Page 20: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

20

ks

ns

H L V

V

I = ke+ k

aI

La+ k

dI

LB(N ×L) + k

sI

LB(N ×H)

+

ns

= ke+ k

aI

La+ I

LB k

d(N ×L)+ k

s(N ×H)

+

nsé

ëêùûú

Page 21: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

21

Page 22: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

22

a b c

2atten

1f

ar br c=

+ +

fatten

=1

r2

Page 23: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

23

L

S

a L S

b

e

( )2

spot

0 otherwise

e

f ar br ca b

+ +

L S

=

Page 24: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

24

ka kd

( )( ) ( ), ,2

s

j

j jnj

e a La j L j j d j s j

j j j j j j

e

I k k I I B k ka r b r c

b

+

= + + + + +

L S

N L N H

Page 25: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

25

Page 26: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

26

Page 27: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

27

Page 28: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

28

L V

kd ks ns

I = ILB k

d(N ×L)+ k

s(N ×H)

+

nsé

ëêùûú

Page 29: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

29

Page 30: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

30

Page 31: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

31

Page 32: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

32

Page 33: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

33

Page 34: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

34

Page 35: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

35

vi ← v

out cblinn-phong

out vi

c

blinn-phong¬ shade with L,V,N,k

d,k

s,n

s

color ¬ cblinn-phong

p

→vi1,vi

2,vi3

Page 36: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

36

determine eye, normal, vertex in world coordinates

vi← v

out eyewout nwout vwout vi

→vi

1,vi

2 ,vi

3

( )pw

N n

pwvL

( )w

pev v −V

Page 37: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

37

ns [0, 100]

ka + kd + ks < 1

ka (~0.1)

ns kd ks

Metal largeSmall, color of metal

Large, color of metal

Plastic mediumMedium, color of plastic

Medium, white

Planet 0 varying 0

Page 38: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

38

N • L

fr ww

win

fr (win

,wout

) or fr (win®w

out)

fr (win

,wout

)

win

I = ILB k

d(N ×L)+ k

s(N ×L) N ×

L + V

L + V

æ

è

çç

ö

ø

÷÷

+

nsé

ë

êê

ù

û

úú

= ILB(N ×L) k

d+ k

sN ×

L + V

L + V

æ

è

çç

ö

ø

÷÷

+

nsé

ë

êê

ù

û

úú

= ILB(N ×L) f

r(L,V)

Page 39: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

39

Page 40: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

40

Wool cloth and silk cloth [Irawan and Marschner, 2012]

Hair illuminated from different angles [Marschner et al., 2003]

Page 41: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

41

Page 42: PowerPoint Presentation · 2020-04-25 · 37 n s [0, 100] k a + k d + k s < 1 k a (~0.1) n s k d k s Metal large Small, color of metal Large, color of metal Plastic medium Medium,

42