SLIDE 1
61A Extra Lecture 9 Announcements Pixels (Demo) Ray Tracing Ray - - PowerPoint PPT Presentation
61A Extra Lecture 9 Announcements Pixels (Demo) Ray Tracing Ray - - PowerPoint PPT Presentation
61A Extra Lecture 9 Announcements Pixels (Demo) Ray Tracing Ray Tracing A technique for displaying a 3D scene on a 2D screen by tracing a path through every pixel 5 Ray Tracing A technique for displaying a 3D scene on a 2D screen by tracing
SLIDE 2
SLIDE 3
Pixels
(Demo)
SLIDE 4
Ray Tracing
SLIDE 5
Ray Tracing
A technique for displaying a 3D scene on a 2D screen by tracing a path through every pixel
5
SLIDE 6
Ray Tracing
A technique for displaying a 3D scene on a 2D screen by tracing a path through every pixel
5
Dramatization:
SLIDE 7
Ray Tracing
A technique for displaying a 3D scene on a 2D screen by tracing a path through every pixel
5
Dramatization: Camera Light Sphere
SLIDE 8
Ray Tracing
A technique for displaying a 3D scene on a 2D screen by tracing a path through every pixel
5
Dramatization: Camera Light Sphere (0,0,0)
SLIDE 9
Ray Tracing
A technique for displaying a 3D scene on a 2D screen by tracing a path through every pixel
5
Dramatization: Camera Light Sphere (0,0,0)
SLIDE 10
Ray Tracing
A technique for displaying a 3D scene on a 2D screen by tracing a path through every pixel
5
Dramatization: Camera Light Sphere (0,0,0)
SLIDE 11
Ray Tracing
A technique for displaying a 3D scene on a 2D screen by tracing a path through every pixel
5
Dramatization: Camera Light Sphere (0,0,0)
SLIDE 12
Ray Tracing
A technique for displaying a 3D scene on a 2D screen by tracing a path through every pixel
5
Dramatization: Camera Light Sphere Distance to Sphere (0,0,0)
SLIDE 13
Ray Tracing
A technique for displaying a 3D scene on a 2D screen by tracing a path through every pixel
5
Dramatization: Camera Light Sphere Distance to Sphere (0,0,0)
SLIDE 14
Ray Tracing
A technique for displaying a 3D scene on a 2D screen by tracing a path through every pixel
5
Dramatization: Camera Light Sphere Distance to Sphere (0,0,0)
SLIDE 15
Distance from a Source to a Sphere
6
(0,0,0) r
SLIDE 16
Distance from a Source to a Sphere
6
(0,0,0) r t•direction
SLIDE 17
Distance from a Source to a Sphere
6
(0,0,0) center r t•direction
SLIDE 18
Distance from a Source to a Sphere
6
source (0,0,0) center r t•direction
SLIDE 19
Distance from a Source to a Sphere
6
source (0,0,0) center r t•direction
SLIDE 20
Distance from a Source to a Sphere
6
source (0,0,0) center r t•direction
r2 = ks c + tdk2 0 = ktd + vk2 r2 0 = t2 kdk2 + 2t(v · d) + kvk2 r2
SLIDE 21
Distance from a Source to a Sphere
6
source (0,0,0) center r t•direction
r2 = ks c + tdk2 0 = ktd + vk2 r2 0 = t2 kdk2 + 2t(v · d) + kvk2 r2
SLIDE 22
Distance from a Source to a Sphere
6
source (0,0,0) center r t•direction
r2 = ks c + tdk2 0 = ktd + vk2 r2 0 = t2 kdk2 + 2t(v · d) + kvk2 r2
b
SLIDE 23
Distance from a Source to a Sphere
6
(Demo) source (0,0,0) center r t•direction
r2 = ks c + tdk2 0 = ktd + vk2 r2 0 = t2 kdk2 + 2t(v · d) + kvk2 r2
b
SLIDE 24
Multiple Spheres
7
SLIDE 25
Multiple Spheres
7
Compute distance to each sphere
SLIDE 26
Multiple Spheres
7
Compute distance to each sphere Pixel color from the closest sphere
SLIDE 27
Multiple Spheres
7
(Demo) Compute distance to each sphere Pixel color from the closest sphere
SLIDE 28
Reflections
8
SLIDE 29
Reflections
8
SLIDE 30
Reflections
8
Color is a mixture of the sphere & reflection
SLIDE 31
Reflections
8
Color is a mixture of the sphere & reflection The source of a reflection is the surface of the sphere, instead of the original camera
SLIDE 32
Reflections
8