当前位置:网站首页>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 cereal
Oracle advanced (I) realize DMP by expdp impdp command
Kibana - installation and configuration of kibana
(数据库提权——Redis)Redis未授权访问漏洞总结
(構造筆記)從類、API、框架三個層面學習如何設計可複用軟件實體的具體技術
ftp登录时,报错“530 Login incorrect.Login failed”
previous permutation lintcode51
Laravel time zone timezone
shardingSphere分库分表<3>
vulnhub之presidential
During FTP login, the error "530 login incorrect.login failed" is reported
Use of QT OpenGL camera
Solutions to the failure of installing electron
Pragma pack syntax and usage
[official MySQL document] deadlock
typeScript
Raven2 of vulnhub
Wechat applet development - page Jump transfer parameters
Experience container in libvirt
Hongmeng fourth training







![Capturing and sorting out external Fiddler -- Conversation bar and filter [2]](/img/04/e9cc027d753e7049f273d866eefdce.png)

