Docsity

Homework Assignment for Advanced Image Synthesis Course, Assignments of Computer Science

Toggle sidebar
bg1
ECE/CS 512 Advanced Image Synthesis, Fall 2008
Homework 3
Due Sunday, November 30, 2008 at 11:59pm
1. Understanding pbrt’s Path Tracing, Photon Mapping and Irradiance implementation
In this first problem, your task is to get pbrt’s PathIntegrator, PhotonIntegrator and
IrradianceCache working to do path tracing, photon mapping and irradiance caching. To
demonstrate this, render the Sponza atrium scene as shown in Figure 16.9 with all three
techniques and compare the artifacts of each. Generate five comparisons at different rendering
times to contrast the difference between the three algorithms.
2. Caustic Maps
As we discussed in class, caustics can be rendered more efficiently if we pre-determine the
specular objects in the scene and shoot photons only in those directions. For this problem, you
will need to extend pbrt to create caustic maps and render scenes with caustics. Note that the
approach needs to be modified to handle point light sources, directional light sources, and area
light sources. Render several scenes with caustics (e.g. the glass ball on the table or the ring to
show your algorithm) and demonstrate that you can handle these different kinds of light sources.
3. Bi-directional Path tracing (Prob. 16.6 in the book)
Write an integrator that implements the bidirectional path-tracing algorithm discussed in class
(Lafortune and Willems 1994, Veach and Guibas 1994). Demonstrate that it is correct by
comparing your results to rendered images using the PathIntegrator with a large number of
samples in each pixel. Compare the variance of your implementation to the PathIntegrator
for the same total number of rays traced. Then modify your implementation to use multiple
importance sampling to weight path contributions. How much is variance further reduced by this
improvement?
4. Improving Irradiance Caching (Prob. 16.9 in the book)
Improve the IrradianceCache’s computation of irradiance values by modifying it to use
bidirectional path tracing from Problem 3 instead of regular path tracing to compute the
individual radiance values. Construct a scene where this approach is much better than path
tracing. How much does it improve the results for scenes where the path-tracing approach works
well already?
1

Partial preview of the text

Download Homework Assignment for Advanced Image Synthesis Course and more Assignments Computer Science in PDF only on Docsity!

ECE/CS 512 Advanced Image Synthesis, Fall 2008

Homework 3

Due Sunday, November 30, 2008 at 11:59pm

1. Understanding pbrt’s Path Tracing, Photon Mapping and Irradiance implementation In this first problem, your task is to get pbrt’s PathIntegrator, PhotonIntegrator and IrradianceCache working to do path tracing, photon mapping and irradiance caching. To demonstrate this, render the Sponza atrium scene as shown in Figure 16.9 with all three techniques and compare the artifacts of each. Generate five comparisons at different rendering times to contrast the difference between the three algorithms. 2. Caustic Maps As we discussed in class, caustics can be rendered more efficiently if we pre-determine the specular objects in the scene and shoot photons only in those directions. For this problem, you will need to extend pbrt to create caustic maps and render scenes with caustics. Note that the approach needs to be modified to handle point light sources, directional light sources, and area light sources. Render several scenes with caustics (e.g. the glass ball on the table or the ring to show your algorithm) and demonstrate that you can handle these different kinds of light sources. 3. Bi-directional Path tracing (Prob. 16.6 in the book) Write an integrator that implements the bidirectional path-tracing algorithm discussed in class (Lafortune and Willems 1994, Veach and Guibas 1994). Demonstrate that it is correct by comparing your results to rendered images using the PathIntegrator with a large number of samples in each pixel. Compare the variance of your implementation to the PathIntegrator for the same total number of rays traced. Then modify your implementation to use multiple importance sampling to weight path contributions. How much is variance further reduced by this improvement? 4. Improving Irradiance Caching (Prob. 16.9 in the book) Improve the IrradianceCache’s computation of irradiance values by modifying it to use bidirectional path tracing from Problem 3 instead of regular path tracing to compute the individual radiance values. Construct a scene where this approach is much better than path tracing. How much does it improve the results for scenes where the path-tracing approach works well already?