Skip to content

Commit eb0063d

Browse files
Load anisotropic param from scene file
Fixes for light leaking through backfaces New scene files
1 parent e24ec8b commit eb0063d

File tree

10 files changed

+24171
-21
lines changed

10 files changed

+24171
-21
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22

33
.vs/
44
build/*
5-
/assets

assets/cornell_box.scene

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Renderer
44
maxDepth 2
55
tileWidth 200
66
tileHeight 200
7-
envMap HDR/sunset.hdr
7+
#envMap HDR/sunset.hdr
88
hdrMultiplier 2.0
99
}
1010

@@ -15,7 +15,27 @@ Camera
1515
fov 40
1616
}
1717

18-
material white
18+
material ceiling_white
19+
{
20+
color 0.725 0.71 0.68
21+
}
22+
23+
material back_wall_white
24+
{
25+
color 0.725 0.71 0.68
26+
}
27+
28+
material floor_white
29+
{
30+
color 0.725 0.71 0.68
31+
}
32+
33+
material small_box_white
34+
{
35+
color 0.725 0.71 0.68
36+
}
37+
38+
material large_box_white
1939
{
2040
color 0.725 0.71 0.68
2141
}
@@ -33,39 +53,39 @@ material green
3353
mesh
3454
{
3555
file cornell_box/cbox_ceiling.obj
36-
material white
56+
material ceiling_white
3757
position .278 .5488 .27955
3858
scale 0.01 0.01 0.01
3959
}
4060

4161
mesh
4262
{
4363
file cornell_box/cbox_floor.obj
44-
material white
64+
material floor_white
4565
position .2756 0 .2796
4666
scale 0.01 0.01 0.01
4767
}
4868

4969
mesh
5070
{
5171
file cornell_box/cbox_back.obj
52-
material white
72+
material back_wall_white
5373
position .2764 .2744 .5592
5474
scale 0.01 0.01 0.01
5575
}
5676

5777
mesh
5878
{
5979
file cornell_box/cbox_smallbox.obj
60-
material white
80+
material small_box_white
6181
position .1855 .0825 .169
6282
scale 0.01 0.01 0.01
6383
}
6484

6585
mesh
6686
{
6787
file cornell_box/cbox_largebox.obj
68-
material white
88+
material large_box_white
6989
position .3685 .165 .35125
7090
scale 0.01 0.01 0.01
7191
}

0 commit comments

Comments
 (0)