cesiumlab / cesiumlab/XbsjEarthUI

求助,我把模型缩小了,然后科技感因为变低显示不出来效果了,这个怎么调

Open
#68 4 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

求助,我把模型缩小了,然后科技感因为变低显示不出来效果了,这个怎么调

![image](https://user-images.githubusercontent.com/13550568/71968505-05832d00-3240-11ea-9518-251f3db8cca6.png)

---

需要修改一下:v_elevationPos.z => (v_elevationPos.z + diffHeight)

参考示例:
http://earthsdk.com/v/last/Apps/Examples/?menu=true&url=./earth-digitalCity.html

![image](https://user-images.githubusercontent.com/13550568/71968534-159b0c80-3240-11ea-8d5b-929fc1963521.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by opening the linked earth-digitalCity example and locating the code that uses v_elevationPos.z, then compare behavior before and after model scaling. Done means the technology-style effect remains visible when the model is reduced, while preserving the referenced elevation adjustment.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.