From 64ff8c4695e1dcfd4442b2656480b3b3a138227d Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 23 Dec 2021 09:35:06 +0800
Subject: [PATCH] 冲突

---
 src/components/map/index.vue |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/src/components/map/index.vue b/src/components/map/index.vue
index 1a404d2..5c27ad0 100644
--- a/src/components/map/index.vue
+++ b/src/components/map/index.vue
@@ -171,14 +171,30 @@
             // })
 
             const tilesetLayer = new that.DC.TilesetLayer('tilesetLayer')
+            // tilesetLayer.luminanceAtZenith = 1.8
             viewer.addLayer(tilesetLayer)
             const tileset = new that.DC.Tileset(
-                'http://data.mars3d.cn/3dtiles/max-shihua/tileset.json'
+                'http://data.mars3d.cn/3dtiles/max-shihua/tileset.json',
+                {
+                    luminanceAtZenith: 0.5
+                }
             )
+            console.log(tilesetLayer, tileset, 7878787)
+
+            // luminanceAtZenith
+
             tilesetLayer.addOverlay(tileset)
             viewer.flyTo(tileset)
+            // viewer.scene.globe.enableLighting = true
+
+            // viewer.scene.light = new that.DC.Namespace.Cesium.DirectionalLight({ // 去除时间原因影响模型颜色
+            //     direction: new that.DC.Position(Number(-157), Number(-30), Number(0))
+            // })
+
             tileset.on(that.DC.MouseEventType.CLICK, e => {
-                console.log(e, 123333)
+                console.log()
+
+                console.log(e)
                 // that.popupFlag = true
 
                 viewer.scene.globe.depthTestAgainstTerrain = false

--
Gitblit v1.9.3