forked from CIS565-Fall-2020/Project4-CUDA-Denoiser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add new instructions and rename project to project 4
- Loading branch information
1 parent
0857d1f
commit f667269
Showing
19 changed files
with
260 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
// Emissive material (light) | ||
MATERIAL 0 | ||
RGB 1 1 1 | ||
SPECEX 0 | ||
SPECRGB 0 0 0 | ||
REFL 0 | ||
REFR 0 | ||
REFRIOR 0 | ||
EMITTANCE 1 | ||
|
||
// Diffuse white | ||
MATERIAL 1 | ||
RGB .98 .98 .98 | ||
SPECEX 0 | ||
SPECRGB 0 0 0 | ||
REFL 0 | ||
REFR 0 | ||
REFRIOR 0 | ||
EMITTANCE 0 | ||
|
||
// Diffuse red | ||
MATERIAL 2 | ||
RGB .85 .35 .35 | ||
SPECEX 0 | ||
SPECRGB 0 0 0 | ||
REFL 0 | ||
REFR 0 | ||
REFRIOR 0 | ||
EMITTANCE 0 | ||
|
||
// Diffuse green | ||
MATERIAL 3 | ||
RGB .35 .85 .35 | ||
SPECEX 0 | ||
SPECRGB 0 0 0 | ||
REFL 0 | ||
REFR 0 | ||
REFRIOR 0 | ||
EMITTANCE 0 | ||
|
||
// Specular white | ||
MATERIAL 4 | ||
RGB .98 .98 .98 | ||
SPECEX 0 | ||
SPECRGB .98 .98 .98 | ||
REFL 1 | ||
REFR 0 | ||
REFRIOR 0 | ||
EMITTANCE 0 | ||
|
||
// Camera | ||
CAMERA | ||
RES 800 800 | ||
FOVY 45 | ||
ITERATIONS 10 | ||
DEPTH 8 | ||
FILE cornell | ||
EYE 0.0 5 10.5 | ||
LOOKAT 0 5 0 | ||
UP 0 1 0 | ||
|
||
|
||
// Ceiling light | ||
OBJECT 0 | ||
cube | ||
material 0 | ||
TRANS 0 10 0 | ||
ROTAT 0 0 0 | ||
SCALE 10 .3 10 | ||
|
||
// Floor | ||
OBJECT 1 | ||
cube | ||
material 1 | ||
TRANS 0 0 0 | ||
ROTAT 0 0 0 | ||
SCALE 10 .01 10 | ||
|
||
// Ceiling | ||
OBJECT 2 | ||
cube | ||
material 1 | ||
TRANS 0 10 0 | ||
ROTAT 0 0 90 | ||
SCALE .01 10 10 | ||
|
||
// Back wall | ||
OBJECT 3 | ||
cube | ||
material 1 | ||
TRANS 0 5 -5 | ||
ROTAT 0 90 0 | ||
SCALE .01 10 10 | ||
|
||
// Left wall | ||
OBJECT 4 | ||
cube | ||
material 2 | ||
TRANS -5 5 0 | ||
ROTAT 0 0 0 | ||
SCALE .01 10 10 | ||
|
||
// Right wall | ||
OBJECT 5 | ||
cube | ||
material 3 | ||
TRANS 5 5 0 | ||
ROTAT 0 0 0 | ||
SCALE .01 10 10 | ||
|
||
// Sphere | ||
OBJECT 6 | ||
sphere | ||
material 4 | ||
TRANS -1 4 -1 | ||
ROTAT 0 0 0 | ||
SCALE 3 3 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.