Skip to content

Commit

Permalink
Add more test scenes (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjessesco authored Mar 20, 2024
1 parent 3c057a1 commit 0a32bcd
Show file tree
Hide file tree
Showing 26 changed files with 634 additions and 1 deletion.
10 changes: 10 additions & 0 deletions scenes/test_scenes/test3/floor.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Blender v2.72 (sub 0) OBJ File: ''
# www.blender.org
mtllib walls.mtl
o floor
v 1 0 -1
v -1 0 -1
v -1 0 1
v 1 0 1
f 1 2 3
f 4 1 3
Binary file added scenes/test_scenes/test3/gt.exr
Binary file not shown.
13 changes: 13 additions & 0 deletions scenes/test_scenes/test3/leftwall.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Blender v2.72 (sub 0) OBJ File: ''
# www.blender.org
mtllib leftwall.mtl
o leftWall
v -1 0.3 -0.3
v -1 0.3 0.3
v -1 0 0.3
v -1 0 -0.3
vt 0.000000 1.000000
usemtl leftWall
s 1
f 1/1 2/1 3/1
f 4/1 1/1 3/1
13 changes: 13 additions & 0 deletions scenes/test_scenes/test3/rightwall1.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Blender v2.72 (sub 0) OBJ File: ''
# www.blender.org
mtllib rightwall.mtl
o rightWall
v 1 0.15 0.3
v 1 0.15 0
v 1 0 0
v 1 0 0.3
vt 0.000000 1.000000
usemtl rightWall
s 1
f 1/1 2/1 3/1
f 4/1 1/1 3/1
13 changes: 13 additions & 0 deletions scenes/test_scenes/test3/rightwall2.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Blender v2.72 (sub 0) OBJ File: ''
# www.blender.org
mtllib rightwall.mtl
o rightWall
v 1 0.3 0.3
v 1 0.3 0
v 1 0.15 0
v 1 0.15 0.3
vt 0.000000 1.000000
usemtl rightWall
s 1
f 1/1 2/1 3/1
f 4/1 1/1 3/1
13 changes: 13 additions & 0 deletions scenes/test_scenes/test3/rightwall3.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Blender v2.72 (sub 0) OBJ File: ''
# www.blender.org
mtllib rightwall.mtl
o rightWall
v 1 0.3 0
v 1 0.3 -0.3
v 1 0.15 -0.3
v 1 0.15 0
vt 0.000000 1.000000
usemtl rightWall
s 1
f 1/1 2/1 3/1
f 4/1 1/1 3/1
13 changes: 13 additions & 0 deletions scenes/test_scenes/test3/rightwall4.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Blender v2.72 (sub 0) OBJ File: ''
# www.blender.org
mtllib rightwall.mtl
o rightWall
v 1 0.15 0
v 1 0.15 -0.3
v 1 0 -0.3
v 1 0 0
vt 0.000000 1.000000
usemtl rightWall
s 1
f 1/1 2/1 3/1
f 4/1 1/1 3/1
88 changes: 88 additions & 0 deletions scenes/test_scenes/test3/scene.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"integrator": {
"type": "path",
"depth_max" : 5,
"depth_rr" : 0,
"spp" : 100
},

"camera": {
"type" : "perspective(NOT_USED)",
"pos" : [0, 6, -2],
"dir" : [0, -1, 0.32],
"up" : [0, 0, 1],
"width" : 600,
"height" : 600,
"fov" : 20
},


"shape" : [
{
"type" : "obj",
"path" : "floor.obj",
"bsdf" : {
"type" : "diffuse",
"albedo" : [0.5, 0.5, 0.5]
}
},
{
"type" : "obj",
"path" : "rightwall1.obj",
"bsdf" : {
"type" : "diffuse",
"albedo" : [0, 0, 0]
},
"arealight" : {
"radiance" : [8, 8, 8]
}
},
{
"type" : "obj",
"path" : "rightwall2.obj",
"bsdf" : {
"type" : "diffuse",
"albedo" : [0, 0, 0]
},
"arealight" : {
"radiance" : [8, 8, 8]
}
},
{
"type" : "obj",
"path" : "rightwall3.obj",
"bsdf" : {
"type" : "diffuse",
"albedo" : [0, 0, 0]
},
"arealight" : {
"radiance" : [8, 8, 8]
}
},
{
"type" : "obj",
"path" : "rightwall4.obj",
"bsdf" : {
"type" : "diffuse",
"albedo" : [0, 0, 0]
},
"arealight" : {
"radiance" : [8, 8, 8]
}
},
{
"type" : "obj",
"path" : "leftwall.obj",
"bsdf" : {
"type" : "diffuse",
"albedo" : [0, 0, 0]
},
"arealight" : {
"radiance" : [8, 8, 8]
}
}
]
}



24 changes: 24 additions & 0 deletions scenes/test_scenes/test4/cube.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Blender 3.6.1
# www.blender.org
o Cube
v 10 7.01 -10
v 10 6.99 -10
v 10 7.01 10
v 10 6.99 10
v -10 7.01 -10
v -10 6.99 -10
v -10 7.01 10
v -10 6.99 10
vn -0 1 -0
vn -0 -0 1
vn -1 -0 -0
vn -0 -1 -0
vn 1 -0 -0
vn -0 -0 -1
s 0
f 1//1 5//1 7//1 3//1
f 4//2 3//2 7//2 8//2
f 8//3 7//3 5//3 6//3
f 6//4 2//4 4//4 8//4
f 2//5 1//5 3//5 4//5
f 6//6 5//6 1//6 2//6
10 changes: 10 additions & 0 deletions scenes/test_scenes/test4/floor.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Blender v2.72 (sub 0) OBJ File: ''
# www.blender.org
mtllib walls.mtl
o floor
v 100 0 -100
v -100 0 -100
v -100 0 100
v 100 0 100
f 1 2 3
f 4 1 3
Binary file added scenes/test_scenes/test4/gt.exr
Binary file not shown.
10 changes: 10 additions & 0 deletions scenes/test_scenes/test4/light1.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Blender v2.72 (sub 0) OBJ File: ''
# www.blender.org
mtllib walls.mtl
o floor
v 0.5 2 -0.5
v -0.5 2 -0.5
v -0.5 2 0.5
v 0.5 2 0.5
f 1 2 3
f 4 1 3
10 changes: 10 additions & 0 deletions scenes/test_scenes/test4/light2.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Blender v2.72 (sub 0) OBJ File: ''
# www.blender.org
mtllib walls.mtl
o floor
v 10 10 -10
v -10 10 -10
v -10 10 10
v 10 10 10
f 3 2 1
f 3 1 4
63 changes: 63 additions & 0 deletions scenes/test_scenes/test4/scene.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"integrator": {
"type": "path",
"depth_max" : 5,
"depth_rr" : 0,
"spp" : 100
},

"camera": {
"type" : "perspective(NOT_USED)",
"pos" : [0, 5, 0],
"dir" : [0, -1, 0],
"up" : [0, 0, 1],
"width" : 600,
"height" : 600,
"fov" : 140
},


"shape" : [
{
"type" : "obj",
"path" : "floor.obj",
"bsdf" : {
"type" : "diffuse",
"albedo" : [0.6, 0.6, 0.6]
}
},
{
"type" : "obj",
"path" : "cube.obj",
"bsdf" : {
"type" : "diffuse",
"albedo" : [0.6, 0.6, 0.6]
}
},
{
"type" : "obj",
"path" : "light1.obj",
"bsdf" : {
"type" : "diffuse",
"albedo" : [0, 0, 0]
},
"arealight" : {
"radiance" : [50, 50, 50]
}
},
{
"type" : "obj",
"path" : "light2.obj",
"bsdf" : {
"type" : "diffuse",
"albedo" : [0, 0, 0]
},
"arealight" : {
"radiance" : [0.5, 0.5, 0.5]
}
}
]
}



24 changes: 24 additions & 0 deletions scenes/test_scenes/test5/cube.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Blender 3.6.1
# www.blender.org
o Cube
v 0.2 0.4 -0.2
v 0.2 0 -0.2
v 0.2 0.4 0.2
v 0.2 0 0.2
v -0.2 0.4 -0.2
v -0.2 0 -0.2
v -0.2 0.4 0.2
v -0.2 0 0.2
vn -0 1 -0
vn -0 -0 1
vn -1 -0 -0
vn -0 -1 -0
vn 1 -0 -0
vn -0 -0 -1
s 0
f 1//1 5//1 7//1 3//1
f 4//2 3//2 7//2 8//2
f 8//3 7//3 5//3 6//3
f 6//4 2//4 4//4 8//4
f 2//5 1//5 3//5 4//5
f 6//6 5//6 1//6 2//6
10 changes: 10 additions & 0 deletions scenes/test_scenes/test5/floor.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Blender v2.72 (sub 0) OBJ File: ''
# www.blender.org
mtllib walls.mtl
o floor
v 1 0 -1
v -1 0 -1
v -1 0 1
v 1 0 1
f 1 2 3
f 4 1 3
Binary file added scenes/test_scenes/test5/gt_conductor.exr
Binary file not shown.
Binary file added scenes/test_scenes/test5/gt_dielectric.exr
Binary file not shown.
Binary file added scenes/test_scenes/test5/gt_diffuse.exr
Binary file not shown.
Binary file added scenes/test_scenes/test5/gt_mirror.exr
Binary file not shown.
13 changes: 13 additions & 0 deletions scenes/test_scenes/test5/leftwall.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Blender v2.72 (sub 0) OBJ File: ''
# www.blender.org
mtllib leftwall.mtl
o leftWall
v -1 0.8 -0.4
v -1 0.8 0.4
v -1 0 0.4
v -1 0 -0.4
vt 0.000000 1.000000
usemtl leftWall
s 1
f 1/1 2/1 3/1
f 4/1 1/1 3/1
Loading

0 comments on commit 0a32bcd

Please sign in to comment.