计算机与现代化 ›› 2022, Vol. 0 ›› Issue (04): 97-102.

• 模式识别 • 上一篇    下一篇

基于Web的风场三维动态可视化设计与仿真

  

  1. (珠江水利科学研究院,广东广州510611)
  • 出版日期:2022-05-07 发布日期:2022-05-07
  • 作者简介:田茂春(1988—),男,贵州遵义人,工程师,硕士,研究方向:计算机图形学,水利信息化,E-mail: 346380533@qq.com; 邹显勇(1981—),男,江西南昌人,高级工程师,硕士,研究方向:地理信息系统,水利信息化,E-mail: 147130736@qq.com; 杨跃(1984—),男,吉林长春人,高级工程师,硕士,研究方向:智能设备,水利信息化,E-mail: 26970948@qq.com; 范光伟(1980—),男,吉林长春人,高级工程师,硕士,研究方向:计算机软件,水利信息化,E-mail: 18288247@qq.com; 赖杭(1992—),男,福建龙岩人,助理工程师,硕士研究生,研究方向:智能算法,水利信息化。
  • 基金资助:
    国家重点研发计划项目(2018YFC0407805, 2017YFC0405900)

3D Dynamic Visualization Design and Simulation of Wind Field on Web

  1. (Pearl River Water Resources Research Institute, Guangzhou 510611, China)
  • Online:2022-05-07 Published:2022-05-07

摘要: 针对在Web端难以快速直观表达风场问题,提出一种基于Web的风场三维动态可视化设计与仿真方法。首先,为解决风场数据不易获取、处理不便问题,给出风场数据的获取、转换、应用流程。其次,设计使用Web Worker多线程技术并行计算生成流线的方法,减少风场流线寻迹生成时间,提高流线生成效率。然后,结合颜色映射技术,设计对流线进行Alpha颜色通道动态修改的方法,以表征风场动态流动。最后,扩展基于WebGL的可视化引擎Cesium进行风场三维可视化渲染,直观表达风场。结果表明,该方法能有效提高在Web端进行风场可视化仿真的效率,可为防风减灾提供支撑。

关键词: 风场可视化, 流线, 颜色映射, 防风减灾

Abstract: In view of the difficulty in displaying the wind field quickly and visually on the Web, a Web-based 3D dynamic wind field visualization design and simulation method was proposed. Firstly, in order to solve the problem that wind field data is difficult to obtain and inconvenient to deal with, the process of wind field data acquisition, conversion, and application was given. Secondly, a method was designed to use Web Worker multi-threading technology to calculate and generate streamlines in parallel to reduce the generation time of wind field streamline tracing and improve the efficiency of streamline generation. Thirdly, combined with color mapping technology, a method to dynamically modify the streamline’s Alpha color channel to characterize the wind field movement was designed. Finally, the WebGL-based visualization engine Cesium was extended to perform the three-dimensional visualization rendering of the wind field, which can directly demonstrate the wind field. The results show that this method not only improves the efficiency of wind field visualization simulation on the Web, but also helps mitigating windstorm disaster.

Key words: wind field visualization, streamlines, color mapping, windstorm disaster mitigation