Skip to content
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

3D Tiles refinement broken when skip LODs is disabled #5814

Closed
bagnell opened this issue Sep 6, 2017 · 2 comments · Fixed by #5869
Closed

3D Tiles refinement broken when skip LODs is disabled #5814

bagnell opened this issue Sep 6, 2017 · 2 comments · Fixed by #5869

Comments

@bagnell
Copy link
Contributor

bagnell commented Sep 6, 2017

var viewer = new Cesium.Viewer('cesiumContainer');

var tileset = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
    url : 'https://beta.cesium.com/api/assets/1458?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIxYmJiNTAxOC1lOTg5LTQzN2EtODg1OC0zMWJjM2IxNGNlYmMiLCJpZCI6NDQsImFzc2V0cyI6WzE0NThdLCJpYXQiOjE0OTkyNjM4MjB9.1WKijRa-ILkmG6utrhDWX6rDgasjD7dZv-G5ZyCmkKg',
    skipLevelOfDetail : false
}));

tileset.readyPromise.then(function() {
    var boundingSphere = tileset.boundingSphere;
    viewer.camera.viewBoundingSphere(boundingSphere, new Cesium.HeadingPitchRange(Cesium.Math.PI_OVER_TWO, -0.5, boundingSphere.radius * 0.1));
    viewer.camera.lookAtTransform(Cesium.Matrix4.IDENTITY);
}).otherwise(function(error) {
    throw(error);
});

image

@bagnell
Copy link
Contributor Author

bagnell commented Sep 6, 2017

If you try the example, the tileset won't refine until the camera is moved.

@pjcozzi
Copy link
Contributor

pjcozzi commented Sep 6, 2017

@lilleyse can you please look at this? Perhaps this was broken with the recent fix in 1.37?

Please make sure there are enough unit tests and hooks into tile traversal to reasonably test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants