摘要
从自然燃烧的火焰的现象出发,采用面向对象的方法,提出了一种基于粒子系统的自然燃烧的火焰的快速数值模拟算法。首先,讨论了形成火焰燃烧的动态场景图像的基本原理,给出了火焰图像与背景图融合的算法,并建立了用于火焰仿真的两种火焰颜色模型。然后,建立了用于火焰仿真的火焰粒子、火苗与火焰系统的面向对象模型,给出了各对象的燃烧行为的快速模拟方法。接着,对实现动感火焰的方法进行了讨论,指出了算法。最后给出了通过该文算法进行模拟实验的效果图。该算法准确度较高,速度快,效果较好。
To decrease the computational complexity in the simulation of flame, according to the phenomenon of naturally burning flame, its speedy simulation technique is proposed by using object - oriented method. First, after the forming principle of dynamic buming scene is analyzed, two models for blending flame image and background im- age are provided, and two color models used for flame simulation are also presented. Then, the object - oriented models of flame particle, tongue of flame, and flame system are described, and the fast implementing technique of buming behavior of each object is offered too. Next, the technique for realizeing the dynamic flame and its algorithm are discussed. Finally, the experimental results, which show that the proposed algorithm is accurate, speedy, and effective, are illustrated.
出处
《计算机仿真》
CSCD
2005年第11期193-197,共5页
Computer Simulation
关键词
图像融合
颜色模型
火焰
粒子
火苗
数值模拟
快速算法
Image blending
Color model
Flame
Particle
Tongue of fire
Numerical simulation
Fast algorithm