71 lines
1.8 KiB
JSON
71 lines
1.8 KiB
JSON
{
|
|
"scene1":{
|
|
"ambient_occlusion":[0.06, 0.091, 0.09],
|
|
"use_sky_gradient":true,
|
|
"sky_bending":2,
|
|
|
|
"objects":[
|
|
{
|
|
"type": "sphere",
|
|
"radius": 1,
|
|
"position":[-4, 0.5, -6],
|
|
|
|
"material":{"type":"lambertian","color":[0.99, 0.01, 0.01]}
|
|
},
|
|
{
|
|
"type": "sphere",
|
|
"radius": 1,
|
|
"position":[-2, 0.5, -6],
|
|
|
|
"material":{"type":"emissive", "color":[0, 3, 0]}
|
|
},
|
|
{
|
|
"type": "sphere",
|
|
"radius": 1,
|
|
"position":[2, 0.5, -6],
|
|
|
|
"material":{"type":"metal", "color":[0.01, 0.01, 0.99], "fuzz":1}
|
|
},
|
|
|
|
{
|
|
"type": "floor",
|
|
"position":[0,-1,0],
|
|
|
|
"color1":[0.7,0.7,0.7],
|
|
"color2":[0.01,0.01,0.01],
|
|
"material":{"type":"lambertian"}
|
|
}
|
|
]
|
|
},
|
|
"scene2":{
|
|
"ambient_occlusion":[0.3, 0.3, 0.8],
|
|
"use_sky_gradient":true,
|
|
"sky_bending":5,
|
|
|
|
"objects":[
|
|
{
|
|
"type": "sphere",
|
|
"radius": 1,
|
|
"position":[1, 0, -6],
|
|
|
|
"material":{"type":"metal","color":[0.99, 0.01, 0.01], "fuzz":"0"}
|
|
},
|
|
{
|
|
"type": "sphere",
|
|
"radius": 1,
|
|
"position":[-1, 0, -6],
|
|
|
|
"material":{"type":"metal", "color":[0.01, 0.99, 0.01], "fuzz":0}
|
|
},
|
|
{
|
|
"type": "floor",
|
|
"position":[0,-1,0],
|
|
|
|
"color1":[0.9,0.9,0.9],
|
|
"color2":[0.1,0.1,0.1],
|
|
"material":{"type":"metal", "color":[0.9,0.9,0.9], "fuzz":0.1}
|
|
}
|
|
]
|
|
}
|
|
}
|