Photon tracer ready (I think).

This commit is contained in:
2017-03-28 10:31:39 -04:00
parent 520505104f
commit 06cb7e8840
2 changed files with 36 additions and 18 deletions

View File

@@ -7,12 +7,22 @@
"position": [0.0, 0.0, -2.0],
"radius": 0.5,
"material": {
"diffuse": [1.0, 1.0, 0.0],
"diffuse": [1.0, 1.0, 1.0],
"transmissive": true,
"ref_index": 1.33
}
},
"sphere": {
"position": [0.0, 0.0, -2.0],
"radius": 0.25,
"material": {
"diffuse": [1.0, 1.0, 1.0],
"transmissive": true,
"ref_index": 1.0
}
},
"disk_area_light": {
"position": [0.0, 1.0, -2.0],
"normal": [0.0, -1.0, 0.0],
@@ -26,7 +36,7 @@
"position": [0.0, -1.0, 0.0],
"normal": [0.0, 1.0, 0.0],
"material": {
"diffuse": [0.0, 0.5, 1.0],
"diffuse": [1.0, 1.0, 0.2],
"specular": [0.0, 0.0, 0.0]
}
}