Cesium,浏览器/服务器,漫游算法,帧率,网络延迟
," /> Cesium,浏览器/服务器,漫游算法,帧率,网络延迟
,"/> <p class="MsoNormal"> 三种基于Cesium的重庆市漫游飞行算法及其对比分析

吉林大学学报(地球科学版) ›› 2024, Vol. 54 ›› Issue (2): 709-720.doi: 10.13278/j.cnki.jjuese.20230029

• 地球探测与信息技术 • 上一篇    

三种基于Cesium的重庆市漫游飞行算法及其对比分析

李莹,赵宁曦   

  1. 南京大学地理与海洋科学学院,南京210023
  • 出版日期:2024-03-26 发布日期:2024-04-10
  • 基金资助:

    国家自然科学基金项目(41771417)


Three Roaming Algorithms of Chongqing City Based on Cesium and Their Comparative Analyses

Li Ying, Zhao Ningxi   

  1. School of Geography and Ocean Science, Nanjing University, Nanjing 210023, China

  • Online:2024-03-26 Published:2024-04-10
  • Supported by:
    Sopported by the National Natural Science Foundation of China (41771417)

摘要: 漫游飞行在数字地球、虚拟现实和仿真等领域有着广泛的应用。以往的研究多集中于客户机/服务器(client/server,C/S)结构的桌面端应用程序,本文以浏览器/服务器(browser/server,B/S)结构下的Web端开源三维地理框架Cesium为基础构建虚拟地球,设计了三种不同的漫游算法:常规漫游算法、回调函数漫游算法、拉格朗日插值漫游算法,并在地球表面成功加载了重庆市主城区的倾斜摄影模型以实现漫游飞行功能,从帧率(frames per second, FPS)和网络延迟(network latency, NL)两方面对比分析三种算法的有效性。结果表明,常规漫游算法、回调函数漫游算法、拉格朗日插值漫游算法前50 s的平均FPS分别为70、74、80 Hz,平均NL分别为14.145、13.166、12.419 ms。就FPS而言,回调函数漫游算法较常规漫游算法提升了5.714%,拉格朗日插值漫游算法较常规漫游算法提升了14.286%。就NL而言,回调函数漫游算法较常规漫游算法缩短了6.921%,拉格朗日插值漫游算法较常规漫游算法缩短了12.202%。总体而言,算法运行效率从大到小最终排序为:拉格朗日插值漫游算法、回调函数漫游算法、常规漫游算法,即在漫游飞行过程中,回调函数漫游算法、拉格朗日插值漫游算法较常规漫游算法有一定的提升,拉格朗日插值漫游算法可实现更高效、流畅的渲染效果。

关键词: Cesium')">

Cesium, 浏览器/服务器, 漫游算法, 帧率, 网络延迟

Abstract:

The roaming function is widely used in the fields of digital earth, virtual reality and simulation. Previous researches mostly focused on desktop applications under client/server(C/S) structure. This paper constructs a virtual Earth based on Cesium, an open-source 3D geography framework on the Web side under browser/server(B/S) structure and designs three different roaming algorithms: conventional algorithm, callback function algorithm and Lagrange interpolation algorithm. Then, the tilting photography model of downtown Chongqing was successfully loaded on the virtual Earth’s surface to realize the roaming functions of the three different algorithms. Finally, the effectiveness of the three algorithms was compared in terms of frames per second (FPS) and network latency (NL). The results show that the average FPS in the first 50 s for conventional algorithm, callback function algorithm and Lagrange interpolation algorithm are 70, 74 and 80 Hz, respectively; The average NL in the first 50 s for conventional algorithm, callback function algorithm and Lagrange interpolation algorithm are 14.145, 13.166 and 12.419 ms, respectively. In terms of FPS, callback function algorithm is 5.714% higher than conventional algorithm, while Lagrange interpolation algorithm is 14.286% higher than conventional algorithm. In terms of NL, callback function algorithm is 6.921% shorter than conventional algorithm, while Lagrange interpolation algorithm is 12.202% shorter than conventional algorithm. Overall, the final order of the three algorithms’ running efficiency from largest to smallest is: Lagrange interpolation algorithm, callback function algorithm, and conventional algorithm. Namely, callback function algorithm and Lagrange interpolation algorithm have certain improvements compared with conventional algorithm in the process of roaming, and Lagrange interpolation algorithm can achieve the most efficient and smooth operation and rendering effects.

Key words: Cesium, B/S, roaming algorithms, FPS, NL

中图分类号: 

  • P208
No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
[1] 刘建峰,迟效国,周燕,王铁夫,金巍,周建波,董春艳,黎广荣. 小兴安岭东北部金林岩体全岩-角闪石Rb-Sr年龄[J]. J4, 2005, 35(06): 690 -0693 .
[2] 黄冠星, 孙继朝, 张英, 刘景涛, 张玉玺, 荆继红. 珠江三角洲污灌区地下水重金属含量及其相互关系[J]. J4, 2011, 41(1): 228 -234 .
[3] 肖长来,梁秀娟,崔建铭,兰盈盈,张君,李书兰,梁瑞奇,郑策. 确定含水层参数的全程曲线拟合法[J]. J4, 2005, 35(06): 751 -0755 .
[4] 郭振华,王璞珺,印长海,黄玉龙. 松辽盆地北部火山岩岩相与测井相关系研究[J]. J4, 2006, 36(02): 207 -0214 .
[5] 孙永河,付晓飞,吕延防,付广,阎冬. 地震泵抽吸作用与油气运聚成藏物理模拟[J]. J4, 2007, 37(1): 98 -0104 .
[6] 谢忠雷,陈卓,孙文田,尹波. 不同茶园茶叶氟含量及土壤氟的形态分布[J]. J4, 2008, 38(2): 293 -0298 .
[7] 贾军涛,王璞珺,邵 锐,程日辉,张 斌,侯景涛,李金龙,边伟华. 松辽盆地东南缘营城组地层序列的划分与区域对比[J]. J4, 2007, 37(6): 1110 -1123 .
[8] 康立明,任战利. 多参数定量研究流动单元的方法--以鄂尔多斯盆地W93井区为例[J]. J4, 2008, 38(5): 749 -0756 .
[9] 薛永超, 程林松. 白豹油田长8油藏成岩储集相[J]. J4, 2011, 41(2): 365 -371 .
[10] 姜纪沂, 张宇东, 谷洪彪, 左兰丽. 基于灰色关联熵的地下水环境演化模式判别模型研究[J]. J4, 2009, 39(6): 1111 -1116 .