I would like to use Cesium’s tiling system to display cubes. For each cube, I have the vertex data, as follows:
{
“Base Bottom Left”: {
“Altitude”: 842.3900146484375,
“Latitude”: 51.01717268977731,
“Longitude”: -119.12696444693704
},
“Base Bottom Right”: {
“Altitude”: 842.2650146484375,
“Latitude”: 51.0232887823192,
“Longitude”: -119.08631118566916
},
“Base Top Left”: {
“Altitude”: 842.3900146484375,
“Latitude”: 51.04274271426591,
“Longitude”: -119.1367000176318
},
“Base Top Right”: {
“Altitude”: 842.2650146484375,
“Latitude”: 51.04886083640669,
“Longitude”: -119.09602982055007
},
“Top Bottom Left”: {
“Altitude”: 1087.3486328125,
“Latitude”: 51.01717268977731,
“Longitude”: -119.12696444693704
},
“Top Bottom Right”: {
“Altitude”: 1087.2236328125,
“Latitude”: 51.0232887823192,
“Longitude”: -119.08631118566916
},
“Top Top Left”: {
“Altitude”: 1087.3486328125,
“Latitude”: 51.04274271426591,
“Longitude”: -119.1367000176318
},
“Top Top Right”: {
“Altitude”: 1087.3486328125,
“Latitude”: 51.04886083640669,
“Longitude”: -119.09602982055007
}
}
``
What would be the most efficient method of converting this to a B3DM file?