UCSD CSE 272: Advanced Image Synthesis (Winter 2025)

Images we will render during the course. 3D data courtesy of Wenzel Jakob, Jonas Pilo, and Bernhard Vogl.


Images past students rendered for their final project. Authors from left top: Xin Sheng & Jieyi Huang, Yiwei Zhang & Minnan Zhou, Minnan Zhou, Baichuan Peter Wu, Minjian Xin, Yijian Liu, Zhongrui Cao, Issac Nealey, Haolin Lu, Sarah Ekaireb, Xinyuan Liang, Mrigankshi Kapoor & Keli Wang, Kangming Yu & Zimu Guan,



Course Description

This course discusses modern physically-based rendering techniques. Given a 3D scene description including the geometry, how surfaces and volumes reflect lights, the light source emission profiles, and the pose of a camera, physically-based rendering simulates the interactions between photons, surfaces, and volumes and produces an image. Physically-based rendering is central to computer graphics, and is becoming ever more crucial to domains outside of graphics such as computer vision, computational imaging, machine learning, and robotics, with applications in autonomous driving, training artificial intelligence agents, biomedical imaging, photography, and more. We will go through how we model the appearance of scenes (e.g., how do hair reflect lights? do objects change appearance when they become wet?), how we simulate light transport of surfaces and volumes efficiently, and how we invert the light transport process via differentiation. Throughout the course, we will build a renderer with the capability of rendering layered materials, volumes, and more with modern rendering algorithms. We will also play a bit with modern real-time rendering engines such as Unreal Engine 5. If you have taken CSE 168 and want more -- you should come! If not, make sure you are familiar with the content in the Required Knowledge.

Required Knowledge

Vector calculus, probability, and C++ programming. Go through all three books in the ray tracing in one weekend series if you are not familiar with the topic.

Logistics

Instructor: Tzu-Mao Li
TA: Haoxuan (Thomas) Wang
Lectures: Monday/Wednesday/Friday 2:00pm-2:50pm at PCYNH 121
Instructor office hour: Wednesday 3-4pm at CSE 4116.
TA office hour: Tuesday 3:30-4:30pm at CSE B250A.
We will do most of the online discussions on Piazza.

Grading

There will be 3 programming homeworks (20% each) and 1 final project (40%).
A bonus 10% is also associated with questions submitted on Canvas (1% for each question each week).
Late penalty: score * clamp(1 - (seconds passed after midnight of the deadline day) / (86400*7), 0, 1) (no late submission for the final project)
We will use the time on Canvas to determine how many seconds have passed.

Homeworks and Projects

The homeworks involve quite a bit of programming and can be tough for the inexperienced. Start early and ask questions! Many of them will be based on the lajolla renderer.
Homework 0 (not graded): Introduction to the lajolla Renderer
Homework 1 (20%): Disney Principled BSDF (due 1/24)
Homework 2 (20%): Volumetric Path Tracing (due 2/12)
Homework 3 (20%): Real-time Rendering (due 2/24)
Final Project (40%): proposal due 2/28, check point due 3/10, final due 3/20.
Collaboration policy: for the homeworks, you need to do it yourself (you are free to discuss between peers). For the final project, you can have a team maximum of 2 people.

Schedule (tentative)

1/6/2025 (Mon): Introduction [slides] [Malley's method]

Why rendering? Course overview. Walkthrough of a simple path tracer.

1/8/2025 (Wed): Walkthrough of the lajolla renderer [slides] [triangle sampling]

Next event estimation. Multiple importance sampling. Triangle intersection. Textures. Shading normals. Environment maps.

1/10/2025 (Fri): Bidirectional Reflectance/Scattering Distribution Functions [slides]

Measured BRDFs, Half-vector parametrization. Microfacet theory. Refractive microfacets. Fresnel equation. Multiple-scattering inside the microfacets.

1/13/2025 (Mon): Uber BSDF [slides]

Disney BRDF and BSDF. Autodesk/Arnold Stanford Surface

1/15/2025 (Wed): Normal map filtering [slides]

LEAN mapping. LEADR mapping. Glints rendering.

1/17/2025 (Fri): Layered BSDFs [slides]

Adding Equation. Statistical operators. Position-free BSDF.

1/20/2025 (Mon): Martin Luther King's day, no class this day.

1/22/2025 (Wed): Hair and Cloth [slides]

Marschner. d'Eon. Chiang. Ply-based Fabrics.

1/24/2025 (Fri): Wave-based BSDFs (Homework 1 due) [slides]

Wave optics. Iridescence, Diffraction shaders. Diffractive microfacets. Wigner BSDF. Wave-based fiber.

1/27/2025 (Mon): Participating media [slides]

Radiative tranfer equation. Transmittance. Phase function. Rayleigh scattering.

1/29/2025 (Wed): Transmittance estimation and free-flight sampling [slides]

Ray marching. Delta tracking. Ratio tracking. Null-scattering formulation.

1/31/2025 (Fri): Microflake theory [slides]

Microflakes. SGGX. Unifying microflakes and microfacets. Hybrid level-of-details models. Spongecake.

2/3/2025 (Mon): Diffusion approximation [slides]

BSSRDF. Granular media rendering
Check out Eugene d'Eon's A Hitchhiker's Guide to Multiple Scattering if you are really interested in this.

2/5/2025 (Wed): Production rendering and real-time rendering. [slides]

Micropolygons. Ptex. Programmable shaders. Texture caches. TAA/DLSS. Real-time GI. Case studies: PRman, Manuka, Hyperion, Arnold, Unreal Engine 5, and Frostbite.

2/7/2025 (Fri): GPU architectures [slides]

Rasterization/ray tracing. Architecture design. Coherency. Parallelism.

2/10/2025 (Mon): Nanite/real-time rendering [slides]

Streaming. Real-time rasterization.

2/12/2025 (Wed): Differentiable rendering (Homework 2 due) [slides]

Why Inverse Rendering? Automatic differentiation. Importance sampling. Detached vs attached sampling. Differential tracking.

2/14/2025 (Fri): Edge sampling for differentiable rendering [slides]

Edge sampling. Reynolds transport theorem. Material-form reparameterization. Path-space differentiable rendering.

2/17/2025 (Mon): President day, no class this day.

2/19/2025 (Wed): Warped-area sampling and projective sampling for differentiable rendering [slides]

Warped area sampling, reparameterization-based methods, and projective sampling.

2/21/2025 (Fri): Path-replay backpropagation, and differentiable rendering systems. [slides] (skipped due to interest of time, I uploaded the slides of my workshop talk for people who are interested)

Constant memory backpropagation. Mitsuba 3. Slang.D.

2/24/2025 (Mon): Stratification [slides] (Homework 3 due)

Jittered sampling. Blue-noise sampling. Frequency analysis.

2/26/2025 (Wed): Stratification 2 [slides]

Van Der Corput sequence. Halton/Hammersley sequences. Owen scrambling. Rank-1 lattice. Sobol' sequences.

2/28/2025 (Fri): Path-space and bidirectional path tracing (Final project proposal du) [slides]

Eric Veach

3/3/2025 (Mon): Photon mapping and its combination with bidirectional path tracing [slides]

Photon mapping. Bias-variance analysis of density estimation. UPS/VCM. UPBP.

3/5/2025 (Wed): Metropolis light transport [slides]

Markov chain Monte Carlo. Kelemen-style and Veach-style. Langevin/Hamiltonian Monte Carlo.

3/7/2025 (Fri): Rendering specular light paths [slides]

MCMC-based and Monte Carlo-based specular light path rendering. Hierarchical pruning

3/10/2025 (Mon): Many-light rendering (Final project checkpoint due) [slides]

Virtual point lights. Lightcuts. Matrix sampling. Data-driven approach. ReSTIR.

3/12/2025 (Wed): Path re-using and importance resampling [slides]

Bekaert. Local virtual lights. ReSTIR/ReSTIR GI.

3/14/2025 (Fri): 100 weird tricks for your renderers [slides]

Alias table. TaggedPointer. Monte Carlo debiasing. Cosine-weighted hemisphere sampling without tangents.

3/20/2025 (Thu): Final project due