Presentation is loading. Please wait.

Presentation is loading. Please wait.

Simple Ray-Based Rendering

Similar presentations


Presentation on theme: "Simple Ray-Based Rendering"— Presentation transcript:

1 Simple Ray-Based Rendering
REF: Google Book: An Introduction to Ray Tracing (Glassner)

2

3 Image Formation (Forward) Ray Tracing (Backward) Ray Tracing [physics]
[only trace the rays that come to our eye] [physics]

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19 [ ]

20

21 Barycentric Coordinates
Also known as area coordinates bi + bj + bk = 1 the coordinates of P with respect to triangle ABC are proportional to the (signed) areas of PBC, PCA and PAB.

22 r1 r2 r3 (l1, l2, l3)

23 (ray-quadric intersection)

24 (二次曲面)

25 Ellipsoid Paraboloid Hyperbolic paraboloid Hyperboloid of one sheet of two sheets Cone Cylinder

26 Ray-Quadrics Intersection
Normal (gradient)

27 Example

28 Example (cont)

29 Transformed Quadrics Point u on a quadric: After transformation H
Point u becomes v = Hu Quadric Q becomes H-TQH-1 Proof:

30

31

32

33 Check out BVH notes!!

34

35

36

37

38

39 (modified DDA algorithm, ref)

40

41

42

43

44

45

46

47

48

49

50


Download ppt "Simple Ray-Based Rendering"

Similar presentations


Ads by Google