基于OSG的实时烟雾模拟的研究与应用
侯美华;吴志红;陈楷民
【期刊名称】《计算机工程与设计》 【年(卷),期】2011(032)006
【摘要】为了模拟出具有实时性和真实感的烟雾效果,分析了传统烟雾的模拟方法,提出了一种基于OSG平台下的实时烟雾模拟方法.该方法采用流体力学纳维-斯托克斯方程组作为基本物理模型,通过添加漩涡约束力来达到真实性的要求.由于NS方程求解的复杂性和CPU计算的限制性,在方程解算上,提出一种基于GPU的采用半拉格朗日方法、雅克比迭代法等稳定的求解方法,并结合体绘制技术来实现实时烟雾的模拟.实验结果表明,该方法能快速模拟出实时、逼真的烟雾效果.%To simulate a real-time and realistic smoke effects, an OSG platform-based method to simulate the fog in real-time is proposed,by analyzing the traditional simulation methods of fog. Navier-Stokes equations as the basic physical model are used, and a vorticity confinement force is added to achieve authenticity. Because of the complexity of the Navier-Stokes equations and the restrictive of CPU calculation, in numerical calculation, a graphic processing unit (GPU) -based method which realized the real-time simulation by using such stable solving method as Semi-Lagrangian scheme, Jacobi iteration method is designed. The experimental results show that the method is able to simulate smoke quickly with real-time and realistic characteristic. 【总页数】4页(2088-2091)