摘要
传统的基于流体动力学和光滑粒子动力学的烟雾绘制方法能模拟出逼真的爆炸烟雾,但性能太低使得其很难满足实时性要求;而一般的基于粒子系统的模拟算法主要针对一般烟雾,需要大量粒子数目且不能得到真实立体的爆炸烟雾效果。提出一种基于法线贴图的爆炸烟雾模拟算法,使用法线贴图模拟烟雾粒子的空间立体属性,对其进行随机光照计算,并根据时间衰减颜色,采用简单运动控制模型模拟爆炸烟雾的翻滚与扩散。实验表明,该算法使用很少粒子便能产生极高真实感的爆炸烟雾效果,具有很好的实时性。
Conventional smoke rendering methods based on computational fluid dynamics(CFD) and smooth particle hydrodynamics(SPH) can achieve vivid explosion smoke,however,they can hardly meet the real-time requirements because of the low performance,what's more,common simulation methods based on particle system aim at the general smoke mostly,which need large number of particles,fail to create realistic and stereoscopic explosion smoke effects.Proposed an explosion smoke simulation algorithm based on normal-map,used the normal-map to simulate the 3D property of the smoke particles,based on which,random lights are employed to process lighting calculations,the rolling and expanding of explosion smoke are simulated by use of simple movement control model.The experiments show that this algorithm can produce high-realistic and animating explosion smoke effects with few particles and good real-time performance.
出处
《计算机应用研究》
CSCD
北大核心
2011年第3期1173-1175,共3页
Application Research of Computers
基金
国家"863"计划资助项目(2009AA01Z332)
关键词
爆炸烟雾
法线贴图
随机光照
explosion smoke
normal-map
randomly lighting