Topography
Topography is a core geometry type in Cityweft API. It consists of meshes or elevationMaps that represent the terrain surface.
{
"type": "buildings",
"geometryType": "meshes",
"meshes": Mesh[]
},{
"type": "buildings",
"geometryType": "elevationMap",
"elevationMap": ElevationMap[]
},{
// The most important element of any meshed geometry for visualization
"vertices": [x1, y1, z1, x2, y2, z2, ...],
},{
// The most important element of any meshed geometry for visualization
"elevationMap": [x1, x2, x3, ...],
"info": {
"width": 689.8214354910813,
"height": 948.5044738001429,
"segmentsWidth": 36,
"segmentsHeight": 99,
"moveVector": {
"x": 201.72051196591372,
"y": 278.19513356037794
},
},
},Name
Value


Elevation Map Example in Three.js
Last updated
