CS 148 Fall 2020-2021 Due Date: Monday, 26 October 2020 by 7 pm PT

Follow the instructions carefully. If you encounter any problems in the setup, please do not hesitate to reach out to CAs on Piazza or attend office hours on Nooks.

Be aware of the Checkpoints below. Make sure you complete each one since we will grade based on them.

The classroom scene and its various passes. Scene from Blender demo files.

The classroom scene and its various passes. Scene from Blender demo files.

Continuing from HW4, in this homework we will explore the more advanced features of Blender's Cycles. Specifically, we will play with direct/indirect paths, motion blur, and volumetrics.

Download the .blend file for this homework:

http://web.stanford.edu/class/cs148/assignments/hw6_advanced_rendering.blend

I. Render Passes

<aside> 📖 The images we have rendered so far are called the "beauty pass", or "combined pass", which is the final result of combining diffuse pass, specular pass, etc. In practice, saving out individual passes along with object masks (called Cryptomatte in Blender) can be useful when we need little tweaks on certain components in the scene without a full re-render, e.g. making certain objects less glossy, or reducing light through transmissive objects. This not only saves time when iterating your artwork but also gives you finer control over your render. Here we're visualizing each pass for the Cornell box scene, and you should reason about why each pass looks like it does. Read more in this Blender doc.

</aside>

In Cycles, the passes are separated into light passes and data passes. We are mainly investigating light passes here. The passes are separated into two parts: (Diffuse | Glossy | Transmission) + (Direct | Indirect | Color). Here are the explanations:

By default, Blender uses this formula to obtain the combined pass: