G5: Ray Tracing Flashcards

1
Q

What is ray tracing?

A

One of the 2 families of rendering algorithms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the key idea behind ray tracing?

A

Reverse light path direction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does ray casting involve?

A

“Shoot” ray through each pixel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

List the steps in the ray casting algorithm.

A
  • Loop over pixel sample points p on the 2d image plane
  • For each of these points, construct ray from camera origin through p
  • Check each object o in the scene for intersections
  • Compute distance from ray origin to surface of object if intersected
  • Store distance in min_t if less than current min_t
  • Use spatial acceleration structures to speed up object checks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the parametric equation for a ray?

A

r(t) = o + td

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does ‘d’ represent in the ray equation?

A

Direction vector towards the point p

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What types of intersection tests are used in ray intersection?

A
  • Ray-triangle
  • Ray-box
  • Ray-sphere
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the implicit equation for a sphere?

A

All pts x where f(x) = 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do you find the intersection of a ray with a sphere?

A

Replace x with r and solve for t

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the example function for a unit sphere?

A

f(x) = |x|² - 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the relationship between ray casting and ray tracing?

A

Ray tracing involves recursive ray casting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is meant by direct illumination in ray tracing?

A

Single bounce

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Define global illumination in the context of ray tracing.

A

Multiple bounces for more realistic lighting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the computational challenges of ray tracing?

A

Exponential computations with respect to number of intersections/bounces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a key advantage of ray tracing?

A

Elegantly simple but expensive, captures complex lighting and shading

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is rasterization?

A

Loop over triangles first

17
Q

List the advantages of rasterization.

A
  • Never have to store entire scene
  • Supports unbounded size scenes
18
Q

What does ray tracing require in terms of scene storage?

A

Must store entire scene

19
Q

What is a natural order for rendering transparent surfaces in ray tracing?

A

Process surfaces in the order they are encountered along the ray: front-to-back or back-to-front

20
Q

True or False: Ray tracing is the algorithm of choice for visual effects in movies.