针对当前公路虚拟仿真系统在逼真度和实时性存在的不足,以及缺少生成数字地面模型数据的情况,采用施工图为数据源,借助AutoCAD软件进行建模,通过polytrans转化模块进行数据格式转化,得到标准的数据格式;然后将实体模型导入Creator/Vega,进行粘贴纹理和仿真系统场景合成,在这一过程中,可以人为定制和更改公路景观设计方案,并可以借助二次开发平台开发数据分析模块进行扩展应用。搭建了基于AutoCAD和Creator/Vega的虚拟仿真系统总体框架,分析了地形转换算法的适用范围,提取传统的平面图、纵断面图和横断面图所含的信息应并用于公路主体三维建模,最终实现实时仿真,仿真效果逼真,并能实时的进行调整。
In view of the shortcomings of the current simulation systems in fidelity and real-time capability, and the lack of data for generating a digital terrain model, the construction drawing is used for a data source, with Auto CAD to be used for modeling. By a data conversion module of polytrans, the data in the standard format are obtained. Then, the solid model is imported into Creator/Vega to do the texture paste and scene synthesis for the simulation system. In the process, the landscape design scheme can be customized and changed, and a secondary development platform can be used to extend the applications of the data analysis module. The overall framework of the virtual simulation system based on AutoCAD and Creator/Vega is thus constructed. The application scopes of four terrain conversion algorithms are analyzed. The traditional information of design files, such as floor plan, longitudinal section and cross section, is extracted and used in the three-dimensional modeling of the main road. At last, the real-time simulation is achieved. Simulation results are realistic, and can be adjusted in real time.