Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pathtracer integration #8

Open
wants to merge 4 commits into
base: base-code
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added img/bloopers/blooper1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/charts/DenoiserTimeasPixelsIncrease.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/charts/HowFilterSizeAffectsPerformance.png
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.
Binary file added img/renders/cornell100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/cornell1000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/cornell1000_denoised.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/cornell100_denoised.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/filter10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/filter160.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/filter20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/filter320.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/filter40.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/filter640.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/filter80.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/it10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/it100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/it1000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/it10000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/it10000_denoised.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/it1000_denoised.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/it100_denoised.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/it10_denoised.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/it8000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/mirrors645.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/renders/mirrors645_denoised.png
Binary file added img/renders/mirrors_normals.png
Binary file added img/renders/mirrors_positions.png
Binary file added img/renders/refraction130.png
Binary file added img/renders/refraction130_denoised.png
Binary file added img/renders/refraction5000.png
Binary file added img/renders/refraction5000_denoised.png
Binary file added img/renders/refraction_normals.png
Binary file added img/renders/refraction_positions.png
1,219 changes: 1,219 additions & 0 deletions objs/lamp.obj.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scenes/cornell.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ EMITTANCE 0
CAMERA
RES 800 800
FOVY 45
ITERATIONS 5000
ITERATIONS 1000
DEPTH 8
FILE cornell
EYE 0.0 5 10.5
Expand Down
4 changes: 2 additions & 2 deletions scenes/cornell_ceiling_light.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ EMITTANCE 0
CAMERA
RES 800 800
FOVY 45
ITERATIONS 10
ITERATIONS 10000
DEPTH 8
FILE cornell
EYE 0.0 5 10.5
EYE 0.0 5 9.5
LOOKAT 0 5 0
UP 0 1 0

Expand Down
206 changes: 206 additions & 0 deletions scenes/mirrors.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
// Blue Emissive material (light)
MATERIAL 0
RGB 1.0 0.5 0.1
SPECEX 0
SPECRGB 0 0 0
REFL 0
REFR 0
REFRIOR 0
EMITTANCE 10

// White Emissive material (light)
MATERIAL 1
RGB 1 1 1
SPECEX 0
SPECRGB 0 0 0
REFL 0
REFR 0
REFRIOR 0
EMITTANCE 1.5

// Diffuse white
MATERIAL 2
RGB .98 .95 .95
SPECEX 0
SPECRGB 0 0 0
REFL 0
REFR 0
REFRIOR 0
EMITTANCE 0

// Diffuse dark blue
MATERIAL 3
RGB .08 .12 .3
SPECEX 0
SPECRGB 0 0 0
REFL 0
REFR 0
REFRIOR 0
EMITTANCE 0

// Diffuse red
MATERIAL 4
RGB .85 .35 .35
SPECEX 0
SPECRGB 0 0 0
REFL 0
REFR 0
REFRIOR 0
EMITTANCE 0

// Specular white
MATERIAL 5
RGB .98 .98 .98
SPECEX 0
SPECRGB .98 .98 .98
REFL 1
REFR 0
REFRIOR 0
EMITTANCE 0

// Transmissive white
MATERIAL 6
RGB .98 .98 .98
SPECEX 0
SPECRGB 0 0 0
REFL 0
REFR 1
REFRIOR 1.5
EMITTANCE 0

// Diffuse blue
MATERIAL 7
RGB .5 .5 .98
SPECEX 0
SPECRGB 0 0 0
REFL 0
REFR 0
REFRIOR 0
EMITTANCE 0

// Teal Emissive material (light)
MATERIAL 8
RGB 0.1 0.8 1
SPECEX 0
SPECRGB 0 0 0
REFL 0
REFR 0
REFRIOR 0
EMITTANCE 1.5

// Camera
CAMERA
RES 1200 1200
FOVY 45
ITERATIONS 5000
DEPTH 8
FILE cornell
EYE 0.0 5 4.4
LOOKAT 0 5 0
UP 0 1 0


// Ceiling light
OBJECT 0
cube
material 1
TRANS 0 10 1
ROTAT 0 0 0
SCALE 2.5 .3 2.5

// Floor
OBJECT 1
cube
material 2
TRANS 0 0 0
ROTAT 0 0 0
SCALE 10 .01 10

// Ceiling
OBJECT 2
cube
material 2
TRANS 0 10 0
ROTAT 0 0 90
SCALE .01 10 10

// Back wall
OBJECT 3
cube
material 5
TRANS 0 5 -2
ROTAT 0 85 0
SCALE .01 10 10

// Left wall
OBJECT 4
cube
material 3
TRANS -4 5 0
ROTAT 0 0 0
SCALE .01 10 10

// Right wall
OBJECT 5
cube
material 2
TRANS 4 5 0
ROTAT 0 0 0
SCALE .01 10 10

// lamp light 1
OBJECT 6
sphere
material 0
TRANS -3 4.35 0
ROTAT 0 0 0
SCALE 0.5 0.5 0.5

// lamp light 2
OBJECT 7
sphere
material 0
TRANS -0.1 4.35 0
ROTAT 0 0 0
SCALE 0.5 0.5 0.5

// mesh
OBJECT 8
mesh
material 6
FILENAME ../objs/lamp.obj
TRANS -1.5 2 0
ROTAT 0 90 0
SCALE 1 1 1

// Back wall behind camera
OBJECT 9
cube
material 5
TRANS 0 5 4.5
ROTAT 0 95 0
SCALE .01 10 10

// Right wall
OBJECT 10
cube
material 8
TRANS 4 5 0
ROTAT 0 0 0
SCALE .02 2 10

// Right wall
OBJECT 11
cube
material 8
TRANS 4 8 0
ROTAT 0 0 0
SCALE .02 2 10

// Right wall
OBJECT 12
cube
material 8
TRANS 4 2 0
ROTAT 0 0 0
SCALE .02 2 10
Loading