Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Courses
Scotty3D
Commits
f9ea0263
Commit
f9ea0263
authored
Apr 09, 2021
by
TheNumbat
Browse files
inverse
parent
42d39f97
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/student/pathtracer.cpp
View file @
f9ea0263
...
...
@@ -118,7 +118,7 @@ Spectrum Pathtracer::trace_ray(const Ray& ray) {
// ray depending on surface type) using bsdf.sample()
// (3) Compute the throughput of the recursive ray. This should be the current ray's
// throughput scaled by the BSDF attenuation, cos(theta), and BSDF sample PDF.
// throughput scaled by the BSDF attenuation, cos(theta), and
inverse
BSDF sample PDF.
// Potentially terminate the path using Russian roulette as a function of the new throughput.
// Note that allowing the termination probability to approach 1 may cause extra speckling.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment