首页 | 官方网站   微博 | 高级检索  
     

基于物理模型的实时烟雾模拟
引用本文:汪继文,杨贤达. 基于物理模型的实时烟雾模拟[J]. 微机发展, 2014, 0(1): 122-125
作者姓名:汪继文  杨贤达
作者单位:[1]安徽大学计算机智能与信号处理教育部重点实验室,安徽合肥230039 [2]安徽大学计算机科学与技术学院,安徽合肥230039
基金项目:安徽省高等学校省级自然科学研究项目(KJ2013A009)
摘    要:针对使用直接绘制法渲染烟雾时,在高网格分辨率下实时性差的问题,文中提出了一种新的基于纹理的烟雾渲染算法。该算法采用不可压缩的Navier—Stokes方程作为烟雾模拟的基本物理计算模型,从而保证烟雾物理运动的真实性,同时利用OpenGL中的纹理映射技术渲染烟雾,保证了烟雾渲染效果真实,烟雾模拟细节更能体现出来;另外文中还给出了在烟雾中添加障碍物时边界条件的计算方式。模拟实验结果表明,该算法既能满足烟雾模拟的实时性,又能真实有效地模拟烟雾流动情况。

关 键 词:流体动力学  烟雾模拟  N—S方程  实时渲染  边界条件

Real-time Smoke Simulation Based on Physics Model
WANG Ji-wen,',YANG Xian-da. Real-time Smoke Simulation Based on Physics Model[J]. Microcomputer Development, 2014, 0(1): 122-125
Authors:WANG Ji-wen    YANG Xian-da
Affiliation:2 ( 1: Ministry of Education Key Laboratory of Computing & Signal Processing, Anhui University, Hefei 230039 ,China; 2. College of Computer Science & Technique, Anhui University, Hefei 230039, China)
Abstract:In order to avoid the limitations of direct rendering for high grid smoke simulation, a texture rendering method is presented in this paper. This algorithm adopts incompressible Navier-Stokes equations as the basic physics computing model of smoke simulation to guarantee the realistic of smoke movement, simultaneously applies texture mapping in OpenGL to determine the smoke rendering effect. A calculation method of boundary conditions is also presented when obstacle is added in the smoke. The simulation experiment of the smoke phenomenon shows that the algorithm can both run in real-time for high grid sizes and efficiently simulate realistic movement of smoke.
Keywords:fluid dynamics  smoke simulation  N-S equations  real-time rendering  boundary conditions
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号