Hi,
I would like to read QuantizedMesh data with cesium-native.
I could read the layer.json and then would like to read the tiles
QuadtreeTileID tileID((uint32_t)i, (uint32_t)k, (uint32_t)l);
CesiumGeometry::Rectangle tileRectangle =
tilingScheme.tileToRectangle(tileID);
BoundingRegion boundingVolume = BoundingRegion(
GlobeRectangle(
tileRectangle.minimumX,
tileRectangle.minimumY,
tileRectangle.maximumX,
tileRectangle.maximumY),
0.0,
0.0,
Ellipsoid::WGS84);
QuantizedMesh<uint16_t> quantizedMesh = createGridQuantizedMesh<uint16_t>(
boundingVolume,
verticesWidth,
verticesHeight);
std::vector<std::byte> quantizedMeshBin =
convertQuantizedMeshToBinary(quantizedMesh);
std::span<const std::byte> data(
quantizedMeshBin.data(),
quantizedMeshBin.size());
QuantizedMeshLoadResult loadResult =
QuantizedMeshLoader::load(tileID, boundingVolume, "myUrl", data, false);
As a result I get QuantizedMeshLoadResult.
Is there a description of this objekt - where do I find the mesh-data ? Is this in CesiumUtility::ExtensibleObject ?
Could you help me ?
Best Regards
Rüdiger