- Semester hours: 2.0
- Credits: 3.0
- Type: VU Lecture and Exercise
This course will teach you how to write a physically correct and unbiased renderer based on the path tracing algorithm.
In the beginning, you will learn about the physics and math of light transport. Closely connected is the rendering equation, a high-dimensional integral describing the equilibrium of photons in a scene. We will then show you how to compute such integrals using Monte Carlo methods and to apply this new knowledge to implement the recursive path-tracing algorithm. At this point, you will have an understanding of how rendering works, but a lot remains to be learned: The asymptotic complexity of ray-tracing can be reduced by using acceleration data structures, enabling the program to deal with scenes that consist of more than just a dozen triangles. Materials like plastic, glass, metal, paint, and skin have properties that need special considerations during implementation. And finally, we will teach a bit about HDR, tone mapping, measuring error, and other rendering pipeline details.
The exercises will give you an understanding of the principles of Monte Carlo Integration, the rendering equation, optimization techniques, and material modelling. There will be many bonus tasks for interested students. We will also have a performance and a scene/bonus-task competition.
Administrative stuff (!!!)
Registration and course data is available on the TISS site.
Communication will happen through TUWEL (all more or less official stuff) and Discord (we are trying it the first time). There is no excuse for not reading TUWEL announcements, and you should receive notification mails. Accounts for Uni Wien students will be created in time.
This year we will hold the lecture together with Prof. Torsten Möller from Uni Wien for the second year. His lecture is 6 ECTS, while ours is only 3. Accordingly, he will offer additional content. This additional lecture content will be optional, but highly recommended for our students. Uni Wien students will use our submission system, our TUWEL / Moodle, but will need more points on the assignments, and take the exam from Torsten. TU Wien students can take the additional assignments, do an extended exam and get additional credits via this course. Please go to the first lecture for more details.
Schedule, Contents and Lecture Slides
The lecture slides will be linked in this table after the lecture. You can also look at the lecture from two years ago on YouTube. However, the lecture changed, we have more and different content now. Looking at the YouTube videos might not be sufficient.
|07-Mar||09-Mar||Introduction (AC) + Light (Radiometry / Photometry) (TM)||Comprehensive overview (TM)|
|14-Mar||16-Mar||Monte Carlo Integration (AC)||Nori Introduction / FAQ (AC)|
|Deadline||19-Mar||Assignment 0: Setting up Nori|
|21-Mar||23-Mar||Rendering Equation (AC)||Image Pipeline (TM)|
|28-Mar||30-Mar||Path Tracing Basics (AC)||Biased Rendering Algorithms (TM)|
|Deadline||16-Apr||Assignment 1: Path Tracing|
|18-Apr||20-Apr||Spatial Acceleration Structures (BK)||Biased Rendering Algorithms (TM)|
|25-Apr||27-Apr||Importance Sampling (AC)||Radiosity (TM)|
|02-May||04-May||Reflectance Function (TM)||Radiosity (TM)|
|Deadline||07-May||Assignment 2: BVH Building & Traversal|
|09-May||11-May||Reflectance Function (TM)||Reflectance Function (TM)|
|16-May||18-May||MIS / Next Event Estimation (AC)||Christi Himmelfahrt|
|23-May||25-May||Accessories (AC)||Sampling (Fourier Transform, Aliasing vs. Noise) (TM)|
|Deadline||28-May||Assignment 3: Materials and Importance Sampling|
|30-May||01-Jun||Pfingstdienstag||Uniform / Non-uniform Sampling (TM)|
|06-Jun||08-Jun||Bi-directional PT, Metropolis Light Transport (TM)||Fronleichnam|
|13-Jun||15-Jun||Participating Media (AU)|
Policy on Academic Honesty
DO NOT CHEAT!
All the individual labs, homeworks and other assignments are meant to be done by each student on their own. If we think cheating might have occurred, this might have very negative consequences for you. Citing the Studienpräses (in German): "Ein 'Erschleichen' liegt vor, wenn eine fremde Leistung als Eigenleistung dargestellt wird (z.B. Textteile von anderen Personen ohne entsprechende Kenntlichmachung übernommen worden sind). [...] Die gesamte PI-LV ist nicht zu beurteilen und ein 'X' in i3v mit dem entsprechenden Vermerk 'geschummelt / erschlichen' zu erfassen."
Discussion about labs is encouraged, but please do your own work (unless the task is specifically designed as a group project). Near duplicate assignments will be considered cheating unless the assignment was restrictive enough to justify such similarities in independent work. Just think of it that way: cheating impedes learning and having fun. Please also note that opportunity makes thieves: It is your responsibility to protect your work and to ensure that it is not turned in by anyone else.
We will make use of automated plagiarism and code checking tools.
If source code (to enhance) or other material from the WWW is used, it should be acknowledged and a priori permission must be sought. Taking source code (or text/math) from a peer, the WWW, or a book to complete a lab makes you culpable of plagiarism ('X' with 'geschummelt / erschlichen'). Please note, that it is of course also not okay to copy large parts or even the whole code from somewhere else, even though you acknowledged it. This is like copying and pasting a book, putting your name on the cover, and hoping that nobody will find the fine-prints saying that it is actually from somebody else. If unclear, please talk to us before the submission. Justifications in hindsight are not possible.
Some examples of things that are not okay and will lead to an 'X':
- Give code (or text/math) to another student
- Give screenshot of code (or text/math) to another student
- Copy code (or text/math) from somebody else
- Copy code (or text/math) from the WWW without our explicit permission
- Create code (or text/math) for others
- Let other people create code (or text/math) for yourself
- Previous rendering course from this university,
by Károly Zsolnai-Fehér.
- Robust Monte Carlo Methods for Light Transport Simulation,
PhD thesis by Eric Veach,
one of the most influential works in this domain.
- Physically Based Rendering, Third Edition: From Theory To Implementation,
Matt Pharr, Wenzel Jakob, and Greg Humphreys,
The bible of physically based rendering (referred to as PBRT).
- Course on Monte-Carlo Methods in Global Illumination, by L. Szirmay-Kalos
A free course script that gives a detailed explanation of the mathematical foundations of Global Illumination.