• 查询稿件
  • 获取最新论文
  • 知晓行业信息
周徐熠, 郎诚廉. 基于Unity3D的地铁线路三维模型自动生成的研究[J]. 铁路计算机应用, 2022, 31(5): 71-76. DOI: 10.3969/j.issn.1005-8451.2022.05.14
引用本文: 周徐熠, 郎诚廉. 基于Unity3D的地铁线路三维模型自动生成的研究[J]. 铁路计算机应用, 2022, 31(5): 71-76. DOI: 10.3969/j.issn.1005-8451.2022.05.14
ZHOU Xuyi, LANG Chenglian. Automatic generation of 3D metro line models based on Unity3D[J]. Railway Computer Application, 2022, 31(5): 71-76. DOI: 10.3969/j.issn.1005-8451.2022.05.14
Citation: ZHOU Xuyi, LANG Chenglian. Automatic generation of 3D metro line models based on Unity3D[J]. Railway Computer Application, 2022, 31(5): 71-76. DOI: 10.3969/j.issn.1005-8451.2022.05.14

基于Unity3D的地铁线路三维模型自动生成的研究

Automatic generation of 3D metro line models based on Unity3D

  • 摘要: 地铁线路三维模型的自动生成有助于快速实现三维视景仿真。以线路平面和纵断面数据为基础,研究了线路路径点的坐标计算方法;采用Unity3D和C#程序,结合数据库技术,实现了数据读取与路径生成;采用线渲染器组件和生成Mesh网格的方法,实现了轨道、道岔等模型的创建;并通过Douglas–Peucker算法,实现对轨道三维模型的简化,有效提升了画面渲染速度和帧率;运用碰撞检测、消息广播等技术,实现了虚拟场景漫游和列车运行模拟。基于该研究开发的软件可快速构建地铁线路模型并进行驱动,为地铁运营场景仿真提供三维视景基础。

     

    Abstract: The automatic generation of the 3D models of metro line is beneficial to the rapid realization of 3D visual simulation. Based on the route plan and profile data, this paper researched on the coordinate calculation of the route path point, implemented data reading and path generation by using Unity3D and C# program and database technology, used the line renderer component and the method of generating mesh to create models such as tracks and turnouts, and simplified the 3D models of the track by the Douglas–Peucker algorithm, which effectively improved the rendering speed and frame rate, used technologies like collision detection, message broadcasting to implement virtual scene roaming and train operation simulation. The software developed based on this research can quickly construct and drive metro line models, provided a 3D visual basis for the simulation of metro operation scenarios.

     

/

返回文章
返回