From 441dfb34bc41ad3aadcde800601addf42c8b94fb Mon Sep 17 00:00:00 2001 From: Hesper Yin Date: Sun, 30 Aug 2020 20:00:33 -0400 Subject: [PATCH] Update path_tracing.md --- docs/pathtracer/path_tracing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pathtracer/path_tracing.md b/docs/pathtracer/path_tracing.md index 9ea5469..196ab97 100644 --- a/docs/pathtracer/path_tracing.md +++ b/docs/pathtracer/path_tracing.md @@ -44,6 +44,6 @@ Here are a few tips: * The termination probability of paths can be determined based on the [overall throughput](http://15462.courses.cs.cmu.edu/fall2015/lecture/globalillum/slide_044) of the path (you'll likely need to add a field to the Ray structure to implement this) or based on the value of the BSDF given wo and wi in the current step. Keep in mind that delta function BSDFs can take on values greater than one, so clamping termination probabilities derived from BSDF values to 1 is wise. -* To convert a Spectrum to a termination probability, we recommend you use the luminance (overall brightness) of the Spectrum, which is available via Spectrum::illum() +* To convert a Spectrum to a termination probability, we recommend you use the luminance (overall brightness) of the Spectrum, which is available via `Spectrum::luma` * We've given you some [pretty good notes](http://15462.courses.cs.cmu.edu/fall2015/lecture/globalillum/slide_047) on how to do this part of the assignment, but it can still be tricky to get correct. -- GitLab