{ "CityObjects": { "id-1": { "geometry": [ { "boundaries": [ [ [ 0, 1, 2, 3 ] ], [ [ 4, 5, 0, 3 ] ], [ [ 5, 6, 1, 0 ] ], [ [ 6, 7, 2, 1 ] ], [ [ 3, 2, 7, 4 ] ], [ [ 7, 6, 5, 4 ] ] ], "material": { "main": { "value": 3 }, "main2": { "values": [ 1, null, 1, 1, 1, null ] } }, "lod": "1", "type": "CompositeSurface" } ], "attributes": { "function": "something" }, "type": "Building" } }, "type": "CityJSON", "version": "1.1", "vertices": [ [ 2000, 1000, 1000 ], [ 1000, 2000, 1000 ], [ 0, 1000, 1000 ], [ 1000, 0, 1000 ], [ 1000, 0, 0 ], [ 2000, 1000, 0 ], [ 1000, 2000, 0 ], [ 0, 1000, 0 ] ], "metadata": { "geographicalExtent": [ -1.0, -1.0, 0.0, 1.0, 1.0, 1.0 ] }, "appearance": { "materials": [ { "name": "roofandground", "ambientIntensity": 0.2000, "diffuseColor": [ 0.9000, 0.1000, 0.7500 ], "emissiveColor": [ 0.9000, 0.1000, 0.7500 ], "specularColor": [ 0.9000, 0.1000, 0.7500 ], "shininess": 0.2, "transparency": 0.5, "isSmooth": false }, { "name": "wall", "ambientIntensity": 0.4000, "diffuseColor": [ 0.1000, 0.1000, 0.9000 ], "emissiveColor": [ 0.1000, 0.1000, 0.9000 ], "specularColor": [ 0.9000, 0.1000, 0.7500 ], "shininess": 0.0, "transparency": 0.5, "isSmooth": true } ] }, "transform": { "scale": [ 0.001, 0.001, 0.001 ], "translate": [ -1.0, -1.0, 0.0 ] } }