This repository has been archived on 2024-12-30. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2024CG-project-render/data/mirror.json
github-classroom[bot] 6eef377959
Initial commit
2024-10-11 10:27:35 +00:00

116 lines
2.2 KiB
JSON

{
"camera": {
"type": "perspective",
"focal_length": 1.1,
"eye": [1,0,2],
"up": [0,1,0],
"look": [-0.92388,0,-0.38268],
"height": 1,
"width": 1.7777777778
},
"lights":[
{
"type": "point",
"color": [0.3,0.4,0.3],
"position": [ 0,0.5,1.5]
},
{
"type": "point",
"color": [0.35,0.3,0.35],
"position": [ 0,0.5,-0.5]
}
],
"materials": [
{
"name": "matte gray",
"ka": [0.90, 0.90, 0.90],
"kd": [0.95, 0.95, 0.95],
"ks": [0.3,0.3,0.3],
"km": [0.05,0.05,0.05],
"phong_exponent": 200
},
{
"name": "black paint",
"ka": [0.1,0.1,0.1],
"kd": [0.1,0.1,0.1],
"ks": [0.1,0.1,0.1],
"km": [0.0,0.0,0.0],
"phong_exponent": 200
},
{
"name": "brown plastic",
"ka": [0.596078,0.305882,0.639216],
"kd": [0.3,0.25,0.2],
"ks": [0.1,0.1,0.1],
"km": [0.0,0.0,0.0],
"phong_exponent": 200
},
{
"name": "gray mirror",
"ka": [0.1,0.1,0.1],
"kd": [0.1,0.1,0.1],
"ks": [0.1,0.1,0.1],
"km": [0.999,0.999,0.999],
"phong_exponent": 1000
},
{
"name": "yellow bone",
"ka": [0.95, 0.95, 0.9],
"kd": [0.95, 0.95, 0.9],
"ks": [0.8,0.8,0.8],
"km": [0.00,0.00,0.00],
"phong_exponent": 200
}
],
"objects": [
{
"type": "plane",
"material": "black paint",
"point": [-1,0,0],
"normal": [1,0,0]
},
{
"type": "plane",
"material": "black paint",
"point": [0,0,-1],
"normal": [0,0,1]
},
{
"type": "plane",
"material": "black paint",
"point": [0,1,0],
"normal": [0,-1,0]
},
{
"type": "plane",
"material": "black paint",
"point": [1,0,0],
"normal": [-1,0,0]
},
{
"material": "black paint",
"type": "plane",
"point": [0,-1,0],
"normal": [0,1,0]
},
{
"material": "brown plastic",
"type": "soup",
"stl": "../data/frame.stl"
},
{
"material": "gray mirror",
"type": "soup",
"stl": "../data/mirror.stl"
},
{
"material": "yellow bone",
"type": "soup",
"stl": "../data/skull.stl"
}
]
}