Please wait a minute...
J4  2013, Vol. 47 Issue (6): 1031-1035    DOI: 10.3785/j.issn.1008-973X.2013.06.014
    
A ruts visualization method for driving simulator
TANG Fang, ZHOU Xiao-jun, WEI Yan-ding
Department of Mechanical Engineering, Zhejiang University, Hangzhou 310027, China
Download:   PDF(0KB) HTML
Export: BibTeX | EndNote (RIS)      

Abstract  

A realization method of rendering ruts based on triangle strip was described in order to improve the fidelity of visual simulation in driving simulator. Ruts texture format was introduced and triangle strip was chosen to form ruts geometry. According to the relative position invariance between new ruts geometry and vehicle body, matrix transformation was used to calculate the ruts geometry vertex array coordinate. Then the ruts drawing process was presented. New and previous ruts geometries were connected by displacing ruts vertex array, and the vertex array sequence was modified to avoid ruts confusion when vehicle moved backward. This method was encapsulated as f function to improve the reusability of drawing ruts. Visual simulation of driving simulator was built with Vega Prime. The result indicated that using f function twice could correctly render two ruts, and satisfying visual view was presented when the vehicle was moving forward straightly, steering and backward. The problem of ruts confusion was solved after changing the vertex array sequence. Average simulation frame rate reached higher than 30 Hz. This method has no effect on the real time capability of simulation and meets the requirement of visual simulation, so it can be applied to driving simulator to improve the visual view fidelity.



Published: 22 November 2013
CLC:  TP 391.9  
Cite this article:

TANG Fang, ZHOU Xiao-jun, WEI Yan-ding. A ruts visualization method for driving simulator. J4, 2013, 47(6): 1031-1035.

URL:

http://www.zjujournals.com/eng/10.3785/j.issn.1008-973X.2013.06.014     OR     http://www.zjujournals.com/eng/Y2013/V47/I6/1031


驾驶模拟器中的一种车辙可视化方法

为了增强驾驶模拟器视景仿真的逼真性,提出一种基于三角形带绘制车辙的实现方法.介绍车辙纹理格式并采用三角形带构成车辙面.根据新车辙面与车身相对位置的不变性,应用矩阵变换计算构成车辙面顶点数组的坐标.给出绘制车辙的步骤.通过平移顶点数组的方式连接新旧车辙面,修改顶点数组的顺序避免车辆倒退时车辙错乱.将该方法封装为f函数,提高绘制车辙时的重用性.采用Vega Prime建立驾驶模拟器视景仿真.仿真结果表明:当车辆直行、转弯、倒退时,调用2次f函数即可正确渲染出2条车辙,且车辙具有良好的视觉效果;修改顶点数组顺序后解决了车辙错乱问题;仿真平均刷新频率达到30 Hz以上.该方法不影响仿真实时性,满足视景仿真要求|能用于驾驶模拟器提高视觉逼真性.

[1] KATZOURAKIS D I, ABBINK D A, HAPPEE R, et al. Steering force feedback for human machine interface automotive experiments[J]. IEEE Transactions on Instrumentation and Measurement, 2011, 60(1): 32-43.

[2] HIRATA T, YAI T, TAKAGAWA T. Development of the driving simulation system MOVIC-T4 and its validation using field driving data[J]. Tsinghua Science and Technology, 2007, 12(2): 141-150.

[3] HEYDINGER G J, SALAANI M K, GARROTT W R, et al. Vehicle dynamics modelling for the national advanced driving simulator[J]. Journal of Automobile Engineering, 2002, 216(D4): 307-318.

[4] PRESAGIS. Vega Prime Solutions[EB/OL]. http:∥www.presagis.com/solutions/military_ground_vehicle_simulation/. 2011.

[5] COSSALTER V, LOT R, MASSARO M, et al. Development and validation of an advanced motorcycle riding simulator[J]. Journal of Automobile Engineering, 2011, 225: 705-720.

[6] 黄争舸,陈建军,郑耀.基于不规则三角网的分块地形网格生成算法[J].浙江大学学报:工学版,2009,43(10): 1939-1944.

HUANG Zheng-ge, CHEN Jian-jun, ZHENG Yao. Triangulated irregular network based chunk gridding algorithm for terrain rendering[J]. Journal of Zhejiang University: Engineering Science, 2009,43(10): 1939-1944.

[7] 施松新,叶修梓,张三元,等.基于分块的大规模地形实时渲染方法[J].浙江大学学报:工学版,2007,41(12): 2002-2006.

SHI Song-xin, YE Xiu-zi, ZHANG San-yuan, et al. Partition based real-time rendering method for large-area terrain data[J]. Journal of Zhejiang University :Engineering Science, 2007,41(12): 2002-2006.

[8] 蔡兴泉,李凤霞,战守义.复杂战场环境中基于规则格网的动态地形的研究[J].系统仿真学报,2005,17(3): 650-652.

CAI Xing-quan, LI Feng-xia, ZHAN Shou-yi. Research of dynamic terrain based on regular triangles in complex battlefield environments[J]. Journal of System Simulation, 2005, 17(3): 650-652.

[9] 蔡兴泉,李凤霞,李立杰,等.基于三角带模板的车辙实时可视化方法[J].系统仿真学报,2006,18(10): 2843-2846.

CAI Xing-quan, LI Feng-xia, LI Li-jie, et al. Real-time visualization of ruts based on strip masks[J]. Journal of System Simulation, 2006,18(10): 2843-2846.

[10] 王乘,周均清,李利军.Creator可视化仿真建模技术[M].武汉:华中科技大学出版社,2005: 309-312.

[11] 张琪,付飞.OpenGL超级宝典[M].4版.北京:人民邮电出版社,2010: 69-75.

[12] 熊有伦.机器人技术基础[M].武汉:华中科技大学出版社,2010: 15-17.

[13] 费少梅,彭艳莹,陆国栋,等.基于粒子系统的湍流燃烧火焰的可视化研究[J].计算机辅助设计与图形学学报,2005,17(3): 461-466.

 FEI Shao-mei, PENG Yan-ying, LU Guo-don, et al. Visualization of turbulent combustion flame based on particle system[J]. Journal of Computer-Aided Design and Computer Graphics, 2005, 17(3): 461-466.

[1] WANG Bei, LI Ji-tuo, LU Guo-dong. Spatial-trend-curve guided mesh stitching[J]. J4, 2013, 47(11): 2003-2009.
[2] ZHAO Zhen,ZHANG Shu-you. Technique of breaking current solving of low-voltage molded
case circuit breaker based on multi-step regression
[J]. J4, 2012, 46(11): 1943-1952.
[3] LIU Ji, ZHU Qing-sheng, HUANG Xiao-feng, ZENG Ling-qiu, LI Song-yang. Plant growth simulation based on GPU[J]. J4, 2012, 46(10): 1803-1809.
[4] LI Qiang, LIU Shu-lian , YING Guang-yao, ZHENG Shui-ying. Numerical simulation for drop impact of PET bottle
considering fluid-structure interaction
[J]. J4, 2012, 46(6): 980-986.
[5] ZHAO Zhen, ZHANG Shu-you. Hybrid current model of breaking cycle and its application[J]. J4, 2012, 46(2): 301-308.
[6] ZHAO Zhen,ZHANG Shu-you. Study of the electromagnetic-dynamics interaction of the breaking
process of low-voltage molded case circuit breaker
[J]. J4, 2011, 45(11): 1913-1921.
[7] LIN Xiao-xia,ZHANG Shu-you,CHEN Jing,ZHAO Zhen. Time varying load course model for co-simulation of
multibody dynamics and finite element
[J]. J4, 2011, 45(9): 1643-1649.
[8] FANG Xi-wu, LIU Zhen-yu, TAN Jian-rong. Algorithm with hybrid method based for sphere packing in
two-dimensional region
[J]. J4, 2011, 45(4): 650-655.
[9] LI Chong-Shi, YAN Dan-Dan, SHU Shan-An, Bin He. [J]. J4, 2010, 44(3): 463-467.
[10] OU Hai-Yang, LI Xiao-Yu, FU Zhan-Beng. Nonlinear principal axis mapping method applied in design optimization[J]. J4, 2010, 44(1): 87-93.