-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Terrain in 3d-tiles branch constantly refreshes #3690
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
@lilleyse can you look at this? Perhaps also test the request scheduler branch off of master. |
Yes I'll look into this. |
please ping me when this fix is in - we have 3 customers that need this. Thanks! |
It looks like this is actually a bug in master, not 3d-tiles or |
Test with the following Sandcastle code: var viewer = new Cesium.Viewer('cesiumContainer');
viewer.camera.setView({
destination : Cesium.Cartesian3.fromRadians(-1.7057552114756511, 0.5283611246285218, 825.9580134720799)
}); Then quickly turn terrain on before the globe fully loads. |
The problems are starting with: #3593 @bagnell You may have a better idea here. This code should reproduce the problem: var viewer = new Cesium.Viewer('cesiumContainer');
viewer.camera.setView({
destination : Cesium.Cartesian3.fromRadians(-1.7057552114756511, 0.5283611246285218, 825.9580134720799)
});
var cesiumTerrainProviderMeshes = new Cesium.CesiumTerrainProvider({
url : '//assets.agi.com/stk-terrain/world',
requestWaterMask : true,
requestVertexNormals : true
});
window.setTimeout(function() {
viewer.terrainProvider = cesiumTerrainProviderMeshes;
}, 1000); |
I found the issue and am working on a fix. |
Fixed in #3696. |
If you load a buildings tileset on Terrain, the terrain constantly reloads/unloads. I'll send the tileset offline. Just load that tileset in the Sandcastle 3dTiles example and enable terrain.
The text was updated successfully, but these errors were encountered: