当前位置:网站首页>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
边栏推荐
- OpenGL shader use
- (构造笔记)ADT与OOP
- Oracle advanced (I) realize DMP by expdp impdp command
- "Jianzhi offer 04" two-dimensional array search
- C language improvement article (wchar_t) character type
- The tutor put forward 20 pieces of advice to help graduate students successfully complete their studies: first, don't plan to take a vacation
- pragma-pack语法与使用
- Visual studio 2022 downloading and configuring opencv4.5.5
- Download address and installation tutorial of vs2015
- Hongmeng third training (project training)
猜你喜欢
随机推荐
Why can't my MySQL container start
Dart: about Libraries
OpenGL 着色器使用
Simple factory and factory method mode
MySQL union和union all区别
Go language to realize static server
Ripper of vulnhub
Vulnhub's presidential
(database authorization - redis) summary of unauthorized access vulnerabilities in redis
(数据库提权——Redis)Redis未授权访问漏洞总结
Experience container in libvirt
laravel 时区问题timezone
Visual studio 2022 downloading and configuring opencv4.5.5
(数据库提权——Redis)Redis未授权访问漏洞总结
Basic knowledge of OpenGL (sort it out according to your own understanding)
pragma-pack语法与使用
OpenStack中的测试分类
Raven2 of vulnhub
DNS多点部署IP Anycast+BGP实战分析
vulnhub之momentum