Deadline: June 6th (Thu) at 15:00pm
If you have not done the task01, task02 do it first to set up the C++ development environment.
Follow this document to submit the assignment, In a nutshell, before doing the assignment,
- make sure you synchronized the
main
branch of your local repository to that of remote repository. - make sure you created branch
task07
frommain
branch. - make sure you are currently in the
task07
branch (usegit branch -a
command).
Now you are ready to go!
- Implement light sampling by lighting a single line code around
line #364
- Implement Brdf sampling by lighting a single line code around
line #383
- Implement MIS sampling by lighting a few lines of code around
line #401
aroundline #403
Run the program with Release mode and it will generate three images that replace the images below.
Light sampling | Brdf sampling | MIS sampling |
---|---|---|
![]() |
![]() |
![]() |
Observe that three image looks similar but the noise is reduced by MIS sampling.
After modify the code, push the code and submit a pull request. Make sure your pull request only contains the files you edited. Good luck!