Merge pull request #16 from vonhyou/public

Prepare to make it public
This commit is contained in:
Shuo Feng 2024-03-21 22:12:12 -04:00 committed by GitHub
commit 623163dbd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 427 additions and 1 deletions

2
.gitignore vendored
View file

@ -1,5 +1,5 @@
build/
*.ppm
*.zip
.vscode/
.cache/
*.ppm

View file

@ -1,5 +1,32 @@
This code is based on course project from Concordia University [COMP371](https://users.encs.concordia.ca/~graphics/teaching/computer-graphics/).
The following files are provided by the course instructor:
1. Showcased in `assets` folder (except for `cornell_box_demo`)
2. Libraries and tests in `external` folder
3. The `main.cpp` and `CMakeLists.txt`
Those files (except for CMakeLists.txt`) remain unchanged for evaluation purposes.
Please modify the cmake file for you to build on your machine.
## Showcase
Direct Illumination
![Direct Illumination](./student_solution/test_scene3B.jpg)
Anti-aliasing
![Anti-aliasing](./student_solution/test_scene3B_aa.jpg)
Global Illumination (Path-tracing)
![Global Illumination (Path-tracing)](./student_solution/cornell_box_demo.jpg)
**The original readme content is attached below:**
```txt
This code is used for three purposes:
1) Build the official course solution
@ -35,3 +62,4 @@ Building the solution:
Note that some test scenes are provided in the assets folder. You can do a soft link to the assets folder in the build folder for your convenience.
```

398
assets/cornell_box_demo.ppm Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB