Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Scotty3D
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Courses
Scotty3D
Commits
f9ea0263
Commit
f9ea0263
authored
4 years ago
by
TheNumbat
Browse files
Options
Downloads
Patches
Plain Diff
inverse
parent
42d39f97
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/student/pathtracer.cpp
+1
-1
1 addition, 1 deletion
src/student/pathtracer.cpp
with
1 addition
and
1 deletion
src/student/pathtracer.cpp
+
1
−
1
View file @
f9ea0263
...
@@ -118,7 +118,7 @@ Spectrum Pathtracer::trace_ray(const Ray& ray) {
...
@@ -118,7 +118,7 @@ Spectrum Pathtracer::trace_ray(const Ray& ray) {
// ray depending on surface type) using bsdf.sample()
// ray depending on surface type) using bsdf.sample()
// (3) Compute the throughput of the recursive ray. This should be the current ray's
// (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.
// 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.
// Note that allowing the termination probability to approach 1 may cause extra speckling.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment