sphere and disk area lights mostly ready (I think :S).

This commit is contained in:
2017-02-09 23:37:40 -04:00
parent 944ae05db7
commit 0cdc7c46ca
30 changed files with 512 additions and 83 deletions

View File

@@ -7,15 +7,17 @@
"position": [0.0, 0.0, -2.0],
"radius": 0.5,
"material": {
"diffuse": [0.5, 0.5, 0.5]
"diffuse": [1.0, 1.0, 0.0],
"transmissive": true,
"ref_index": 1.33
}
},
"sphere": {
"position": [0.0, 2.0, -2.0],
"radius": 0.25,
"sphere_area_light": {
"position": [0.0, 1.0, -2.0],
"radius": 0.15,
"material": {
"emission": [10.0, 10.0, 10.0]
"emission": [1.0, 1.0, 1.0]
}
},