摘要
提出了一种基于流体力学方程并采取欧拉法实时模拟三维真实感烟雾的算法。通过Navier-Stokes方程建立烟雾流场的物理模型,以保证视觉的真实感。为了保证运算的实时性,烟雾流场划分为三维网格空间,并将烟雾速度场的分布定义于每个立方网格单元的中心点;通过线性插值获取整幅图像中每个像素的烟雾浓度。将烟雾模拟技术用于图像的显示特技中,以产生图像消散成烟雾的视觉效果,得到了比较满意的模拟效果。
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 de- fined 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.
出处
《计算机工程与应用》
CSCD
北大核心
2011年第14期174-176,179,共4页
Computer Engineering and Applications