Chapter Questions
Write a program to implement the basic raytracing algorithm for a scene containing two spheres hovering over a white ground square that has evenly spaced vertical black stripes down its length. The scene is to be illuminated with a single point light source at the viewing position.
Write a program to implement the basic raytracing algorithm for a scene containing any specified arrangement of spheres and polygon surfaces illuminated by a given set of point light sources. The program should allow the user to increase or decrease the intensity of each light source via keyboard input.
Write a program to implement the basic raytracing algorithm using space-subdivision methods for any specified arrangement of spheres and polygon surfaces illuminated by a given set of point light sources. The program should allow the user to increase or decrease the intensity of each light source via keyboard input.
Write a program to implement the following features of distributed ray tracing: pixel sampling with 16 jittered rays per pixel, distributed reflection directions (gloss), distributed refraction directions (translucency), and extended light sources.
Set up an algorithm for modeling the motion blur of two spheres moving in opposite directions using distributed ray tracing.
Implement the basic radiosity algorithm for rendering the inside surfaces of a regular pentagon when one inside face of the pentagon is a light source.
Devise an algorithm for implementing the progressive-refinement radiosity method.
Apply the algorithm in developed in the previous exercise to the pentagon example in Exercise $6 .$
Write a routine to transform an environment map to the surface of a sphere.