Journal of System Simulation ›› 2018, Vol. 30 ›› Issue (7): 2682-2688.doi: 10.16182/j.issn1004731x.joss.201807031

Previous Articles     Next Articles

Real-time Collision Detection of Coastline in Navigation Simulator

Jing Qianfeng, Shen Helong, Yin Yong, Liu Xiuwen   

  1. Key Lab. Of Marine Simulation and Control, Dalian Maritime University, Dalian 116026, China
  • Received:2017-08-06 Online:2018-07-10 Published:2019-01-08

Abstract: In order to develop real-time collision detection module of coastline in navigation simulator, a mesh preprocessing method for coastline data is applied. The principle of meshing is established and the coastline data is meshed based on the clipping algorithm. The mesh data is stored into an appropriate data structure. The collision detection algorithm and test program are developed based on Microsoft Foundation Classes (MFC). The ship contour points and the mesh expansion method are applied to avoid error in special cases which could also improve the accuracy of collision detection. The results show that the method reduces much time compared with the method of traversing the coastline directly, which ensures the real-time performance of the program. The accuracy of the detection algorithm is high, which could enhance the behavior and physical realism of the navigation simulator as a virtual reality system.

Key words: navigation simulator, virtual reality, collision detection, real-time

CLC Number: