Closed yanzixiang closed 1 month ago
https://cesium.com/blog/2023/10/05/osgearth-adds-support-for-cesium-native/
it said osgearth can show mesh from Cesium ion by modify the earth file
<CesiumNative3DTiles name="Cesium World Terrain"> <asset_id>1</asset_id> <raster_overlay>2</raster_overlay> </CesiumNative3DTiles>
but how to show the quantized-mesh-1.0 mesh in a dir with an layer.json file like this
{ "tilejson": "2.1.0", "description": "", "version": "1.1.0", "format": "quantized-mesh-1.0", "attribution": "", "schema": "tms", "extensions": [ "octvertexnormals" ], "tiles": [ "{z}/{x}/{y}.terrain?v={version}" ], "projection": "EPSG:4326", "bounds": [ 0.00, -90.00, 180.00, 90.00 ], "available": [ [ { "startX": 0, "startY": 0, "endX": 1, "endY": 0 } ] ,[ { "startX": 3, "startY": 1, "endX": 3, "endY": 1 } ] ,[ { "startX": 6, "startY": 2, "endX": 6, "endY": 2 } ] ,[ { "startX": 13, "startY": 4, "endX": 13, "endY": 5 } ] ,[ { "startX": 26, "startY": 9, "endX": 26, "endY": 10 } ] ,[ { "startX": 53, "startY": 19, "endX": 53, "endY": 20 } ] ,[ { "startX": 106, "startY": 39, "endX": 107, "endY": 41 } ] ,[ { "startX": 213, "startY": 79, "endX": 215, "endY": 82 } ] ,[ { "startX": 426, "startY": 159, "endX": 430, "endY": 164 } ] ,[ { "startX": 852, "startY": 318, "endX": 860, "endY": 329 } ] ,[ { "startX": 1704, "startY": 636, "endX": 1721, "endY": 659 } ] ,[ { "startX": 3408, "startY": 1272, "endX": 3442, "endY": 1318 } ] ,[ { "startX": 6817, "startY": 2545, "endX": 6884, "endY": 2636 } ] ,[ { "startX": 13634, "startY": 5091, "endX": 13768, "endY": 5273 } ] ,[ { "startX": 27268, "startY": 10183, "endX": 27536, "endY": 10546 } ] ,[ { "startX": 54537, "startY": 20366, "endX": 55073, "endY": 21092 } ] ] }
The cesium native integration only supports loading the quantized mesh cesium world terrain from cesium ion servers currently. That could be something we add in a future release though!
https://cesium.com/blog/2023/10/05/osgearth-adds-support-for-cesium-native/
it said osgearth can show mesh from Cesium ion by modify the earth file
but how to show the quantized-mesh-1.0 mesh in a dir with an layer.json file like this