欢迎访问《图学学报》 分享到:

图学学报

• 计算机图形学 • 上一篇    下一篇

城市轨道交通线路的CPU/GPU协同快速建模方法

  

  1. (1. 北京交通大学土木建筑工程学院,北京 100044; 2. 石家庄铁道大学交通运输学院,河北 石家庄 050043)
  • 出版日期:2019-08-31 发布日期:2019-08-30
  • 基金资助:
    国家自然科学基金项目(51278316),北京市自然科学基金项目(8172040)

A Fast CPU/GPU Cooperative Modeling Method of Urban Rail Transport Lines

  1. (1. School of Civil Engineering, Beijing Jiaotong University, Beijing 100044, China; 
    2. School of Traffic and Transportation Engineering, Shijiazhuang Tiedao University, Shijiazhuang Hebei 050043, China)
  • Online:2019-08-31 Published:2019-08-30

摘要: 摘 要:城市轨道交通线路三维可视化设计能有效地改进设计质量。针对传统基于 CPU 的线路三维建模方法存在着建模速度慢、等待设计成果时间长、渲染效率低、场景优化困难等 问题,提出一种基于 CPU 离散-GPU 建模的城市轨道交通线路三维模型快速建模方法。首先, 将线路分为线状模型和点状模型,然后根据线形设计成果利用 CPU 分解线状模型得到离散化 的边界条件,解析点状模型得到空间信息参数,分别形成独立的、数据量极小的离散数据包; 然后利用 GPU 的并行计算能力通过离散数据包实现线路三维模型的快速建立;联合 CPU 的场 景拣选能力和 GPU 的顶点扩展能力,建立了一种用于长线状模型显示的场景优化方法。研究 结果显示:①该方法建模耗时仅为传统方法的 0.55%~1.30%;②浏览体验相比基于传统 CPU 建模和场景管理的方法显著提升,最小帧数在 70 帧以上;③可有效降低内存及 CPU 占用率等 性能指标,释放设计平台计算压力;④为线路三维可视化设计实用化提供了一种可借鉴的方法 和思路。

关键词: 关 键 词:城市轨道交通, 线路设计, 三维线路建模, 快速建模

Abstract: Abstract: Three-dimensional (3D) visualization can greatly improve the quality and efficiency of urban rail lines design. However, the traditional CPU-based method of 3D modeling have some problems in modeling speed, render efficiency, optimization scene, which require to be improved urgently. A fast 3D modeling method of urban rail transport lines based on CPU discrete-GPU modeling is proposed. Firstly, the line is divided into linear models and point models, and then, according to the results of line design, CPU is used to decompose linear models to obtain dataset of discrete boundary conditions. Subsequently, the point models are analysed to obtain dataset of spatial information parameters which can form, independent discrete data packets with a small amount of data respectively. Finally, with these discrete data packets, the fast modeling of 3D line model is achieved owing to the parallel computing ability of GPU. Combining the scene picking ability of CPU with the vertex expansion ability of GPU, a kind of scene optimization method that applies to long linear model display is established. The results show that ① The time-consumed by this method is only 0.55%–1.30% of the time using traditional CPU-based method. ② The proposed method is better than traditional CPU modeling method and scene management in browsing experience, minimum frames per second is higher than 70. ③ The performance indicators such as occupancy of memory and CPU are greatly improved, which help to lessen the pressure of design platform. ④ It provides significant implications for the 3D design of practical urban rail transport lines.

Key words: Keywords: urban rail transport, line design, 3D transport line modeling, fast modeling