交通运输工程

航海模拟器中基于物理方法实现旗子的动态仿真

  • 李振宝 ,
  • 刘春雷 ,
  • 张秀凤 ,
  • 戴树龙
展开
  • 大连海事大学 a.航海训练与研究中心; b.航海学院, 辽宁 大连116026
李振宝(1987 - ),男,助理实验师, E-mail:373930777@qq.com.

收稿日期: 2012-12-20

  网络出版日期: 2023-05-25

Dynamic simulation of the flags in marine simulator based on physical methods

  • LI Zhen-bao ,
  • LIU Chun-lei ,
  • ZHANG Xiu-feng ,
  • DAI Shu-long
Expand
  • a. Nautical Training and Research Center;b.Navigation College, Dalian Maritime University, Dalian 116026,China

Received date: 2012-12-20

  Online published: 2023-05-25

摘要

为提高模拟器中旗子仿真视景的真实性,基于物理方法,考虑风向、船速和航向等因素对旗子的影响,编写C++程序实现旗子的动态模拟.根据简化的弹簧-质点模型,实时分析每个质点的受力,运用显示欧拉法计算质点的三维空间位置,使用OpenGL纹理映射技术实现旗子在不同风级下的飘扬效果.

本文引用格式

李振宝 , 刘春雷 , 张秀凤 , 戴树龙 . 航海模拟器中基于物理方法实现旗子的动态仿真[J]. 大连海事大学学报, 2013 , 39(2) : 33 -36 . DOI: 10.16411/j.cnki.issn1006-7736.2013.02.006

Abstract

In order to improve the authenticity of the flag simulation in visual system of marine simulator, this paper compiles a C++ program to realize the dynamic simulation of the flag based on physical methods, under the conditions including the factors such as the wind direction, vessel speed and heading’s influence on the flags. According to the simplified mass-spring model, each particle’s total force is analyzed in real-time, and Explicit Euler method is used to calculate the position of each particle in the three-dimensional space. At last the OpenGL texture mapping technique is used to achieve the flag simulation in different wind scale.

参考文献

[1]PROVOT X. Deformation constraints in a mass-spring model to describe rigid cloth behavior[C]//Graphics Interface. [S.l.]: Canadian Information Processing Society, 1995: 147-147. 

[2]苏新新.基于物理方法的布料仿真技术的研究与实现[D].济南:山东大学,2009. SU Xin-xin. Research and implementation of a physically-based cloth simulation algorithm[D].Jinan:Shandong University,2009.( in Chinese) 

[3]文静.基于GPU的布料实时运动仿真研究[D].成都:电子科技大学,2009. WEN Jing. Research on real-time cloth simulation based on GPU[D].Chengdu:University of Electronic Science and Technology of China,2009.( in Chinese) 

[4]张东,贾世宇,王亮.布料仿真中基于精确力学公式的粒子模型[J].系统仿真技术,2008(2):138-142. ZHANG Dong, JIA Shi-yu, WANG Liang. Particle model with accurate mechanical formulation in cloth simulation[J]. System Simulation Technology, 2008(2): 138-142.( in Chinese) 

[5]沈照功.基于弹簧-质点模型的布料仿真研究[D].青岛:青岛大学,2005. SHEN Zhao-gong. Cloth simulation research based on mass-spring system[D].Qingdao:Qingdao University,2005.(in Chinese)

文章导航

/