CS348B Image Synthesis

This is the course wiki for CS348B - Image Synthesis


Time to start working on your final project. Check out the FinalProject page for details. The project proposal is due Fri, May 20th. The rendering competition will be held on Wednesday, June 8th 1:30-4:30 in Gates 463a. Gates 463a is the open area on the 4th floor of Gates in the B-wing (take a left from the elevators).

Here are Pat's office hours for the remainder of the quarter. I will hold office hours on Thu May 26, Thu Jun 2, and Fri Jun 3 - all at 11 am. If you would like to meet with me at another time, please send me email.

Course Description

This course provides a broad overview of the theory and practice of rendering. Classic rendering algorithms will be covered, however, most of the course will cover current results in physically-based rendering algorithms.


Attendees should have a working knowledge of computer graphics (at the level of CS248 and CS348A). In particular, you should fully understand the basic 3D display pipeline, viewing and modeling transformations, simple geometric modeling using polygons and quadrics, and hidden surface algorithms like the z-buffer algorithm.

Solid knowledge of integral calculus and basic geometric algorithms is an absolute must. Some exposure to signal processing and probability is also assumed. Proficiency in C++ programming.







Mar 29, 31

The Goals of Rendering

Basics Ray Tracing I: Basic Algorithms


Apr 5, 7

Acceleration Ray Tracing II: Acceleration Techniques



Apr 12, 14

The Light Field

Monte Carlo Integration I


Apr 19, 21

Cameras and Film

Monte Carlo Integration II


Apr 26, 28

Sampling and Reconstruction

Reflection Models I: BRDFs and Ideal Materials


May 3, 5

Reflection Models II: Glossy Materials

Light Transport and the Rendering Equation


May 10, 12


Monte Carlo Path Tracing


May 17, 19

Irradiance Caching and Photon Mapping

Participating Media and Volume Rendering


May 24, 26

Reflection Models III: Anisotropic and Translucent Materials


June 8

Rendering Competition



Text and readings

There is one required text for the course.

  • Matt Pharr and Greg Humphreys
    Physically Based Rendering: From Theory to Implementation, 2nd Edition
    Morgan-Kauffmann, 2010.

This book has an extensive web site with additional information.

Additional readings will be assigned from research monographs, papers from journals and conference proceedings, and excerpts from conference tutorials. Only papers NOT available online will be handed out in class. Readings for each lecture are available from the Lectures page.

Assignments and grading

The projects for this quarter involve enhancing a working ray tracer. We will use a a ray tracing system called pbrt. This system is a combined C++ codebase and textbook written in a literate programming language.

The first part of the course involves four assignments. Tentatively, the assignments will involve lighting design, ray-surface intersection calculations, simulating a camera, and Monte Carlo algorithms.

In the last part of the course you will enhance your system so that it is capable of reproducing an image of a real object, for example, a gemstone, a puff of smoke, a candle flame, etc. Check out the results produced by previous students.

Evaluation criteria: The first four structured programming assignments will each count as 10% of your grade, and the final programming project will count as 40%. The remaining 20% of your grade will be based on your posted comments on the lectures. There will be no exams in this course.

Collaboration: For the first four programming projects, you may discuss the assignment with friends, but you are expected to implement your own solutions. On the last programming project, you are permitted (and encouraged) to form teams of two people and partition your planned extensions among the team members. Teams may discuss their project with other teams, but may not share code.

Late assignments: Since each assignment builds on the previous one, it is important that assignments be completed on time. To allow for unforeseeable circumstances, you will be allowed three weekdays of grace during the quarter (to clarify: an assignment due on Friday and turned in on Monday will use one late day). Beyond this, late assignments will be penalized by 10% per weekday that they are late. On the last programming project, neither the demo nor the writeup may be late. Incompletes in this course are given only in exceptional circumstances.

Hardware and software

You are welcome and encouraged to do class assignments on your own machines. Although PBRT builds successfully on most systems, the TAs will be able to provide support for compiling PBRT on Linux (on the public Stanford 'myth' machines, see below) and on Windows (via Visual 2008 or 2010). Check out the PBRTInfo page for information about working with the PBRT software.

If you do not wish to develop on a personal machine, you will have access to the 'myth' machines located in Gates B08 (3.2 Ghz DELL Dual-Xeon Linux boxes). The myth machines are named myth1 - myth29. CS348B students are given non-exclusive priority access to these machines.

All students with Leland accounts automatically have accounts on these machines. Home directories on these machines are shared with other Stanford Computing Clusters using AFS. If you do not have a Leland account, consult this ITSS web page. Registered students will get an extra 500MB of disk quota for the quarter (Please contact the course staff if your quota does not increase within 48 hours of signing up for the class).

Rendering competition

In case the delight of learning does not sufficiently motivate you to exert yourselves heroically on the programming assignments, there will also be a rendering competition. During finals week, a judging will be held to select the best rendering made using the ray tracer you have written in the course. While grades for the projects are based solely on "technical merit", the competition will be judged on both "technical merit" and "artistic impression". The jury, to be named later, will consist of computer graphics experts from both industry and academia. There will be several awards and one grand prize - an all-expenses-paid trip to SIGGRAPH 2011 in Vancouver, CA. Total value: about $1,000.

How to use this site

A Wiki is a collaborative site, anyone can contribute and share:

  • Edit any page by pressing Edit at the top or the bottom of the page

  • Create a link to another page with joined capitalized words (like WikiSandBox) or with ["quoted words in brackets"]

  • Search for page titles or text within pages using the search box at the top of any page
  • See HelpForBeginners to get you going, HelpContents for all help pages.

To learn more about what a WikiWikiWeb is, read about WhyWikiWorks and the WikiNature. Also, consult the HelpMiscellaneous/FrequentlyAskedQuestions page.

This wiki is powered by MoinMoin.