Lagrangian point of view

29
Lagrangian point of view Eulerian point of view t 1 t 2 5 1 2 6 5 1 2 6

description

t 1. t 2. Lagrangian point of view. 5. 1. 6. 2. Eulerian point of view. 5. 1. 6. 2. (-1,1). (0,1). (1,1). y. x. Offset. (-1,-1) (-1, 0) (-1, 1) ( 0,-1) ( 0, 0) ( 0, 1) ( 1,-1) ( 1, 0) ( 1, 1). (-1,0). (1,0). not evaluated pairs with cells on opposite side. (0,0). - PowerPoint PPT Presentation

Transcript of Lagrangian point of view

Page 1: Lagrangian  point of view

Lagrangian point of view

Eulerian point of view

t1 t2

51 26

51 26

Page 2: Lagrangian  point of view
Page 3: Lagrangian  point of view

(-1,1) (0,1) (1,1)

(1,0)

(1,-1)(0,-1)(-1,-1)

(-1,0)(0,0)

(-1,-1)(-1, 0)(-1, 1)( 0,-1)( 0, 0)( 0, 1)( 1,-1)( 1, 0)( 1, 1)

x

y

evaluatedpairs

not evaluatedpairs with cellson opposite side

Offset

Page 4: Lagrangian  point of view

h

h

neighbors

potential neighbors

no potential neighbors

Page 5: Lagrangian  point of view
Page 6: Lagrangian  point of view
Page 7: Lagrangian  point of view
Page 8: Lagrangian  point of view

world spaceparticle positions

world spacecorner offsets

world spacebillboards / triangles

clip spacebillboards

Page 9: Lagrangian  point of view

corner shared with precursor

edge shared with precursor

new corner

new edge

Page 10: Lagrangian  point of view
Page 11: Lagrangian  point of view
Page 12: Lagrangian  point of view
Page 13: Lagrangian  point of view

image plane

pixel centre

view ray

eye point

Page 14: Lagrangian  point of view

ray exit

ray entry / first sample point

step size

Page 15: Lagrangian  point of view

L

C

last sample point

current sample point

isosurface

1

2

3

refinementsample points:1 halfway L-C

2 halfway 1-C

3 halfway 1-2

Page 16: Lagrangian  point of view

world space texture space

33

3

33

3

5

5

7

5

1

1

1

1

0.6

0.6

0.6

0.6

0.43

0.52

Page 17: Lagrangian  point of view

θr = θiθi

incident ray reflection ray

surface normal

surface cut

common plane

Page 18: Lagrangian  point of view

l

n

a

θi

sin θi

cos θi

r

bθr

Page 19: Lagrangian  point of view

θi

incident ray

refraction ray

surface normal

surface cut

common plane

θt

ni

nt

Page 20: Lagrangian  point of view

l

n

-l

-n

θi

θt

sin θi

cos θi

sin θi

t

cos θt

ni

nt

a

b

sin θt

cos θi

x

y

Page 21: Lagrangian  point of view

surface

medium with low index of refractionlight (s-polarised)

refractions

reflections

medium with high index of refraction

Page 22: Lagrangian  point of view

surface

light (s-polarised)

refractions

reflections

critical angle

medium with low index of refraction

medium with high index of refraction

Page 23: Lagrangian  point of view

view ray

reflection 1

θi1n1

-n1θr1

θt1

refraction 1

refraction 2

(if possible)

isosurface

airni

waternt

-n2

n2reflection2

Page 24: Lagrangian  point of view

view ray

volume texture

(0, 0, 0)

(1, 1, 1)

entry

exit

Page 25: Lagrangian  point of view

- +x-x

+y

-y

+z

-z

Page 26: Lagrangian  point of view
Page 27: Lagrangian  point of view

1514131111109876543210

43210

slice index

instance index

particleposition

z

render target*

*: texture z

Page 28: Lagrangian  point of view
Page 29: Lagrangian  point of view