Computer Engineering and Applications ›› 2011, Vol. 47 ›› Issue (14): 174-176.

• 图形、图像、模式识别 • Previous Articles     Next Articles

Real-time simulation of 3D smoke

SUI Liansheng1,GE Jingqing1,CHENG Ronggang2   

  1. 1.College of Computer Science and Engineering,Xi’an University of Technology,Xi’an 710048,China
    2.College of Electronics and Information Engineering,Xidian University,Xi’an 710071,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-05-11 Published:2011-05-11

三维烟雾的实时模拟

隋连升1,葛靖青1,程荣刚2   

  1. 1.西安理工大学 计算机科学与工程学院,西安 710048
    2.西安电子科技大学 电子信息工程学院,西安 710071

Abstract: An algorithm based on fluid dynamics equations is proposed,and it simulates three-dimensional realistic smoke by Euler equations.It establishes physical model of smoke fluid filed in order to ensure reality in the human vision by Navier-
Stokes equations.Smoke fluid field is divided into three-dimensional grid space,and each center point of cubic grids is defined by the distribution of velocity field;Finally,smoke density in each pixel of the whole image can be accessed by linear interpolation.Smoke simulation techniques will be used to display images especially to generate images to dissipate smoke in the human vision,which can get satisfactory results of simulation.

Key words: smoke simulation, Navier-Stokes equations, velocity field, density field, fluid dynamics

摘要: 提出了一种基于流体力学方程并采取欧拉法实时模拟三维真实感烟雾的算法。通过Navier-Stokes方程建立烟雾流场的物理模型,以保证视觉的真实感。为了保证运算的实时性,烟雾流场划分为三维网格空间,并将烟雾速度场的分布定义于每个立方网格单元的中心点;通过线性插值获取整幅图像中每个像素的烟雾浓度。将烟雾模拟技术用于图像的显示特技中,以产生图像消散成烟雾的视觉效果,得到了比较满意的模拟效果。

关键词: 烟雾模拟, Navier-Stokes方程, 速度场, 浓度场, 流体力学