当前位置:网站首页>DEJA_ Vu3d - cesium feature set 053 underground mode effect
DEJA_ Vu3d - cesium feature set 053 underground mode effect
2022-07-03 12:04:00 【Always learn something】
Preface
The main purpose of writing this column is to understand the work based on Cesium Integrate the realized functions , Have their own thinking and realization , There are also references to other great God finishing implementation , After preliminary calculation, there are almost small 130 About functions , The follow-up will also continue to add , So I'm going to spend a week 2-3 Update this column with a better look ( Keep the code as concise as possible ). If there are errors or improvements in the content of the blog , I also hope to communicate with you here to improve .
More / Examples /demo explain :DEJA_VU3D Complete function Directory
Introduce
The content of the column should be as concise as possible , In this article, we will introduce the system based on Cesium Realize the effect of underground mode . The effect is shown in the figure

Cesium The underground mode function effect of is very simple , call Cesium Regular interface is OK . I don't say much nonsense , Go straight to the code
Key code
Underground mode on and off
viewer.scene.screenSpaceCameraController.enableCollisionDetection = !bool; // Collision detection between camera and terrain
viewer.scene.globe.translucency.frontFaceAlphaByDistance =
new Cesium.NearFarScalar(1.5e2, 0.5, 8.0e6, 1.0);
viewer.scene.globe.transluce边栏推荐
- Vulnhub's Nagini
- Flutter: about monitoring on flutter applications
- (构造笔记)ADT与OOP
- Interview experience in summer camp of Central South University in 2022
- 【mysql官方文档】死锁
- Sheet1$. Output [excel source output] Error in column [xxx]. The returned column status is: "the text is truncated, or one or more characters have no matches in the target code page.".
- Download address and installation tutorial of vs2015
- How to convert a numeric string to an integer
- OpenGL shader use
- AOSP ~ NTP (Network Time Protocol)
猜你喜欢

Duplicate numbers in the array of sword finger offer 03

vulnhub之momentum

QT OpenGL rotate, pan, zoom

Unicode encoding table download

Vulnhub geminiinc

Kubernetes three dozen probes and probe mode

(构造笔记)ADT与OOP

Socket TCP for network communication (I)

Download address and installation tutorial of vs2015

MCDF Experiment 1
随机推荐
OpenGL shader use
解决msvcp120d.dll和msvcr120d.dll缺失
Keepalived中Master和Backup角色选举策略
(数据库提权——Redis)Redis未授权访问漏洞总结
Colleagues wrote a responsibility chain model, with countless bugs
Qt OpenGL 旋转、平移、缩放
MySQL union和union all区别
typeScript
OpenGL index cache object EBO and lineweight mode
previous permutation lintcode51
[official MySQL document] deadlock
《剑指offer 03》数组中重复的数字
PHP导出word方法(一mht)
Solution à la défaillance de l'installation d'Electron
Vulnhub's presidential
PHP導出word方法(一mht)
Test classification in openstack
The tutor put forward 20 pieces of advice to help graduate students successfully complete their studies: first, don't plan to take a vacation
《剑指offer 04》二维数组查找
MCDF实验1