摘要
针对国内外目前学术界的3种主要火焰模拟方法所存在的问题,提出了一种基于GPU的火焰实时模拟算法,本方法有机地结合了粒子系统方法和基于数学物理的方法,能够同时满足计算机图形学一直以来孜孜以求的"实时性"与"真实性"两大目标.通过实验仿真得出结论:火焰模拟结果显示能够达到每秒60帧,符合实时模拟的要求,能够得到更加接近于真实状态的火焰动画,尤其是细节更为清晰.
Aiming at the problems existing in the current three main flame simulation methods in academia at home and abroad,a flame real-time simulation algorithm based on GPU was proposed. This method combined organically the particle system method and the mathematical physics method. Satisfying the two goals of "realtime"and "authenticity"that computer graphics have been pursuing for a long time,we have reached the conclusion through experiments,the flame simulation results could reach 60 frames per second,which meet the requirements of real-time simulation,and could get closer to the reality. The state of the flame animation,especially the details was more clear.
引文
[1]周洁琼,邹北骥,朱岳,等.一种改进的实时火焰模拟算法[J].计算机工程与科学,2006,7(28):73-76.
[2]罗勇,文建国.面向对象的通用粒子系统设计及其在火焰模拟中的应用[J].科学技术与工程,2008,21(15):178-183.
[3]于鑫,韩勇,陈戈.基于动态纹理和粒子系统的火焰效果模拟[J].信息与电脑(理论版),2009,15(11):109-114.
[4]赵春霞,张艳,战守义.基于粒子系统方法的三维火焰模拟[J].计算机工程与应用,2004,20(28):167-170.
[5]洪义,朱登明,邱显杰,等.逼真可控的火焰动画框架设计与实现[J].计算机应用,2011,16(1):143-146.
[6]贾彦国,张伟,唐勇.基于层次化结构粒子系统的实时火焰模拟[J].系统仿真学报,2016,18(S1):155-159.
[7]梁志剑,张永梅.基于GPU和粒子系统的三维火焰模拟[J].电脑开发与应用,2009,22(4):59-61.
[8]WU E H,LIU Y Q. General purpose computation on GPU[J]. Journal of Computer Aided Design&Computer Graphics,2004,16(5):601-612.
[9]NGUYEN D Q,FEDKIW R,JENSEN. Physically based modeling and animation of fire[J]. ACM T Graphic,2002,21(3):721-728.
[10]SOMASEKARAN S. Using particle systems to simulate real-time fire[DB/OL].[2008-01]. http://undergraduate. csse. uwa. edu. au/year4/Current/Students/Files/2005/SanandananSomase karan/Corrected Dissertation. pdf.
[11]WILLIAM T R. A Technique for modeling a class of fuzzy objects[J]. ACM Computer Graphics,1983,17(3):359-376.