Question about geometricError in tileset.json

45 views
Skip to first unread message

YAO Y

unread,
Jan 24, 2019, 4:42:15 AM1/24/19
to cesium-dev
1. A concise explanation of the problem you're experiencing.

Hi, recently I uploaded some model to the Cesium Ion and got the output 3dtiles. Since the tiles are hirachical and have children tiles, the geometricError should be consistently smaller and smaller from the root tile to the leaf tiles. If my understanding of the tileset and geometricError was right, then there may be something wrong about the geometricError in the tileset.json of the output 3dtile which contains some middle level tiles have smaller geometricErrors than their descendants. Is that reasonable? Also, I tried to load the 3dtiles and found some tiles were skipped when zooming in and out (shown in the screenshots attached). Can someone help me or explain this? Many thanks! The assetId is 14533 for you information. 

screenshot 1: before zooming in. 

微信图片_20190124173810.jpg


screenshot 2: after zooming in with very little step, the level 4 tile becomes level 7/8/9 tiles immediately. Seems the level 6 was skipped entirely. 

微信图片_20190124173814.jpg



2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

var tileset = viewer.scene.primitives.add(
    new Cesium.Cesium3DTileset({
        url: Cesium.IonResource.fromAssetId(14533)
    })
);

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.



4. The Cesium version you're using, your operating system and browser.

Version 1.52. 

Omar Shehata

unread,
Jan 25, 2019, 11:07:57 AM1/25/19
to cesium-dev
The skipping is indeed a feature, not a bug! See tileset.skipLevelOfDetail. The idea is that if you're already zoomed in close, instead of spending time requesting every child, it can skip to the one with the required resolution.

For the geometric error issue, you are correct in that the geometric error of a parent should always be greater than its children, so this sounds like a bug. I've open an issue for it:


If you can add more detail to it that would be great! Do you know which tiles have a greater error than their children?

YAO Y

unread,
Jan 27, 2019, 8:38:12 PM1/27/19
to cesium-dev
Thank you for the reply! And if you open the tileset.json tree and looking down at every first child. you'll find the geometricError from the root node to the last one is 1141.566 -> 13.651 -> 10.765 -> 8.573 -> 10.384 -> 19.649 -> 0. 
Reply all
Reply to author
Forward
0 new messages