J4

• 论文 •    

火 焰 实 时 模 拟 的 新 算 法

李伟伟a,王 健b,陈 轶a,王钲旋a,b
  

  1. 吉林大学 a. 计算机科学与技术学院;b. 软件学院, 长春 130012
  • 收稿日期:2008-09-07 修回日期:1900-01-01 出版日期:2008-11-20 发布日期:2008-11-20
  • 通讯作者: 王钲旋

New Idea of Flame Simulation in Real-Time

LI Wei-weia,WANG Jianb,CHEN Yia,WANG Zheng-xuana,b
  

  1. a. College of Computer Science and Technology;

    b.College of Software, Jilin University, Changchun 130012, China

  • Received:2008-09-07 Revised:1900-01-01 Online:2008-11-20 Published:2008-11-20
  • Contact: WANG Zheng-xuan

摘要: 为了解决火焰动画的计算机模拟难以实现真实感和实时性的问题,提出了一种新的火焰实时模拟算法。该方法吸收了数学物理方法真实感强和粒子系统思想方法简单的优点,通过著名的Navier-Stokes方程对流体进行控制,采用半拉格朗日法对其进行求解,并引入粒子系统的思想对原方程的平流项进行修改。对火焰颜色的控制采用密度场和配色原理,进行简单而有效的实现,并在图形处理器(GPU:Graphics Processing Unit)上加速实现,成功地实现了真实感和实时性并举的火焰动画的计算机模拟。

关键词: 火焰模拟, 图形处理器, Navier-Stokes方程, 计算机动画, 粒子系统

Abstract: To solve the problem of the flame simulation on computer, a new algorithm of flame simulation in real-time was proposed. This idea absorbs the merits of physical method and particle system. The animation of the flame is controlled by the Navier-Stokes equations which is solved by the semi-lagrange method. The idea of using particle system to modify the Navier-Stokes equations was raised。 And using density field and the principle of color to control the color of the flame. The animation is accelerated realized on GPU (Graphics Processing Unit). The simulation of flame which has the character of realistic and real-timing were realized .

Key words: Navier-Stoke equations, computer animation, particle system, flame simulation, graphics processing unit(GPU)

中图分类号: 

  • TP391