CZML export from STK v11.7 does not run smoothly in browser

  1. A concise explanation of the problem you’re experiencing.

I exported in czml a facility and UAS from STK v11.7 using the CZML Export Plug-in. The animation runs smoothly in the window on the “My Assets” page but in Sandcastle and my browsers the animation is choppy. I cut and paste the JavaScript right from Sandcastle into my subdomain HTML page.

  1. A minimal code example.

var viewer = new Cesium.Viewer(“cesiumContainer”);

var promise = Cesium.IonResource.fromAssetId(resource ID no.)
.then(function (resource) {
return Cesium.CzmlDataSource.load(resource);
})
.then(function (dataSource) {
return viewer.dataSources.add(dataSource);
})
.then(function (dataSource) {
return viewer.zoomTo(dataSource);
})
.otherwise(function (error) {
console.log(error);
});
3. Why do you need to do this?

Attempting to learn out to export czml files from STK and into Cesium for a demonstration
4. The Cesium version you’re using, your operating system and browser.

Cesium 1.75
OS: Windows 10
Browser(s): Chrome, MS Edge

Thanks.

Can you post a Sandcastle, or at least the CZML?

Here is the Sandcastle link:

Thank you.

It looks smooth to me, getting 60 fps using Chrome / Win 10.

Hi @terracesium, Your sandcastle example also runs smoothly for me. Sorry, I’m not sure why you would be seeing different performance on your web page.

Hannah
Cesium Staff