cesiumlab / cesiumlab/XbsjEarthUI

请教一下怎么取消掉cesium的随时间变黑的效果,我想要地图常亮

Open
#58 0 comments 0 reactions 0 assignees View on GitHub
documentation question
Dominant language
JavaScript
Stars
734
Forks
193
PR merge metrics
No merged PRs in 30d

Description

也许就这样 9:48:30
viewer.scene.globe.enableLighting =false 这样设置了 随时间轴还是会变黑

也许就这样 9:48:32
![image](https://user-images.githubusercontent.com/13550568/70488629-46e6c680-1b34-11ea-9646-a15c3913bcc5.png)

也许就这样 9:50:12
请教一下怎么取消掉cesium的随时间变黑的效果,我想要地图常亮

---

Cesium本身的光照一定受时间影响,这个貌似去除不了,可以从两个方面来处理此问题:
1 重做数据,将改成无光照的类型,gltf格式里面有一种unlit模式(如果是用cesiumlab处理的话,可以选择无光照模式)
2 强制修改太阳光方向,earthsdk中可以做这个,效果 -> 强制光照 可以控制

Contributor guide

No contributing guide indexed for this repository

Research direction

The report names viewer.scene.globe.enableLighting and mentions Cesium/EarthSDK lighting controls, but no repository file or test. Reproduce the time-based darkening with the reported setting, then verify that the chosen supported approach keeps the map visually constant across the timeline.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics, frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.