diff --git a/public/data/orthen.splat b/public/data/orthen.splat deleted file mode 100644 index 02ec002..0000000 Binary files a/public/data/orthen.splat and /dev/null differ diff --git a/src/main.ts b/src/main.ts index cfdd152..f14c664 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,12 +4,11 @@ const viewer = new Viewer(); if (viewer.cesium) { const location = { - lon: 5.31911, - lat: 51.685, - height: 200, - }; + lon: 5.31905, + lat: 51.68717, + height: 60 }; - viewer.flyTo(location.lon, location.lat, location.height, 0, -45, 0); + viewer.flyTo(location.lon, location.lat, location.height, 10, -45, 0); } -viewer.addGaussianSplatLayer("./data/orthen.splat"); +viewer.addGaussianSplatLayer("./data/tuin.splat"); diff --git a/src/viewer.ts b/src/viewer.ts index 576d70a..001536f 100644 --- a/src/viewer.ts +++ b/src/viewer.ts @@ -17,7 +17,7 @@ export class Viewer { private createViewer() { this.cesium = new Cesium.Viewer("cesium", { - requestRenderMode: true, + //requestRenderMode: true, skyBox: false, baseLayerPicker: false, geocoder: false, @@ -31,7 +31,7 @@ export class Viewer { imageryProvider: false }); this.cesium.scene.debugShowFramesPerSecond = true; - this.cesium.clock.shouldAnimate = false; + //this.cesium.clock.shouldAnimate = false; this.addTerrainProvider(); this.addBaseLayer(); this.addBuildingsLayer();