| | |
| | | StaticFileBaseUrl: config.StaticFileBaseUrl, |
| | | ellipsoidCoordinates: 'MOON2000', |
| | | timeline: true, |
| | | shadowBackCul1: false |
| | | shadowBackCul1: false, |
| | | requestWebgl2: false |
| | | }); |
| | | this.earthCtrl.Viewer.scene.debugShowFramesPerSecond = true |
| | | this.earthCtrl.coreMap.scene.screenSpaceCameraController.enableCollisionDetection = true; |
| | | this.earthCtrl.Viewer.scene.globe.terrainExaggeration = 1.00001 |
| | | // this.earthCtrl.shadowMap.maximumDistance = 10000.0; |
| | | this.earthCtrl.coreMap.scene.globe.enableLighting = true; |
| | | window.earthCtrl = this.earthCtrl; |
| | | window.Viewer = this.earthCtrl._Viewer; |
| | | Viewer.scene.skyAtmosphere.show = false; |
| | | window.Cesium = SmartEarth.Cesium; |
| | | window.sgworld = earthCtrl; |
| | | sgworld.Creator.SimpleGraphic.edit(true, { editProp: false }); |
| | | // ================ |
| | | // 设置阴影 |
| | | Viewer.scene.globe.lightingFadeOutDistance = 5.8e+7; |
| | | Viewer.scene.globe.enableLighting=false; |
| | | earthCtrl.shadows = false; |
| | | //======================= |
| | | //设置球体颜色 |
| | | window.Viewer.scene.globe.baseColor = new Cesium.Color.fromCssColorString('#A9A9A9'); |