摘要
为了真实地模拟火焰在风中摇曳的动态效果,提出一种新的风场作用下粒子系统火焰的动态模拟方法。该方法将风场视为一个包含全域和区域两种类型风场的随机风场,利用Perlin噪音函数生成给定条件下的风速矢量场;进而通过风场影响范围的判定,采用动力学方程实时计算风力作用下火焰粒子的速度和位置,最终实现不同风场作用下火焰的动态模拟。实验结果表明,该方法不仅能绘制出风场中火焰随风摇曳的逼真效果,同时对模拟的实时性有很好的支持。
In this paper, in order to realistically simulate the dynamic effect of flame flickering in the wind, we propose a new dynamic simulation method for the flame emulated with particle system in wind field. In the method, the wind field is deemed as a stochastic wind field containing two types of wind filed, the global and the local. It uses Perlin noise function to generate wind speed vector field in given condition, then uses wind field to affect the judgment of influence scope, and employs dynamical equations to timely calculate the speed and position of flame particles under wind force action, and eventually achieves dynamic flame simulation in different wind field actions. Experimental results show that this method can not only render the verisimilar effect of the flame flickering with wind in wind field, but can also well support the real-time of simulation.
出处
《计算机应用与软件》
CSCD
北大核心
2013年第1期132-135,175,共5页
Computer Applications and Software
基金
四川省科技厅科技支撑项目(2009GZ0033)
四川师范大学校级青年项目(09GNL09
10QNL05)