i
i
i
i
i
i
i
i
4.9. Historical Notes 89
Exercises
1. What are the ray parameters of the intersection points between ray (1, 1, 1)+
t(1, 1, 1) and the sphere centered at the origin with radius 1? Note:
this is a good debugging case.
2. What are the barycentric coordinates and ray parameter where the ray
(1, 1, 1) + t(1, 1, 1) hits the triangle with vertices (1, 0, 0), (0, 1, 0),
and (0, 0, 1)? Note: this is a good debugging case.
3. Do a back of the envelope computation of the approximate time complexity
of ray tracing on “nice” (non-adversarial) models. Split your analysis into
the cases of preprocessing and computing the image, so that you can predict
the behavior of ray tracing multiple frames for a static model.
i
i
i
i
i
i
i
i
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset