-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
may i know if this quantized-mesh tiles has “metadata” extension? #43
Comments
This library doesn't handle the generation of the layer.json. Looking at the code you linked if you don't define |
maybe you are right,i'll try it later.and i'm curious about why there has no metadata extension in your quantized mesh,but cesium terrain layer could still work well? |
metadata extension in the terrain tile is optional. It is there to store extra arbitrary data, not used directly by Cesium to do any of the terrain rendering. |
I used Ceisum World Terrain from Cesium ion as a test,there has some problems.I set the requestMetadata:false Cesium.Ion.defaultAccessToken = "some token"
var terrainProvider = new Cesium.CesiumTerrainProvider({
url : Cesium.IonResource.fromAssetId(1),
requestVertexNormals : false,
requestWaterMask : false,
requestMetadata:false,
})
viewer.terrainProvider=terrainProvider; When i tracked from chrome network,found there only requested 0/0/0.terrain and 0/1/0.terrain,then continue to zoom in,the terrain layer doesn't request terrain tile anymore,so terrain is not shown in the map,If set requestMetadata:true,then everything is ok,we can see terrain in the map again. |
Hi there
I'm not a python programmer,this is my first meet python tools.I used CTB before to generate quantized-mesh.But there may have some bugs.Because the CesiumJS not only need layer.json but also need metadata extension in 0/0/0.terrain and 0/1/0.terrain and every tile in level10 to init the availbility.We can trace the code at Cesium Source Code.
This rule can be find by Cesium World Terrain which provide by Cesium ion.
So I'm looking for a new tools to generate the quantized-mesh tiles
,and my problem is does the tiles created by this python tools has metadata extension in 0/0/0.terrain and 0/1/0.terrain and every tile in level10 ?
Best,zhangiser
The text was updated successfully, but these errors were encountered: