计算机工程与应用 ›› 2016, Vol. 52 ›› Issue (14): 215-219.

• 图形图像处理 • 上一篇    下一篇

新型烟花模拟方法

孙劲光,侯加利   

  1. 辽宁工程技术大学 电子与信息工程学院,辽宁 葫芦岛 125105
  • 出版日期:2016-07-15 发布日期:2016-07-18

Simulation method of new fireworks

SUN Jinguang, HOU Jiali   

  1. School of Electronics and Information Engineering, Liaoning Technical University, Huludao, Liaoning 125105, China
  • Online:2016-07-15 Published:2016-07-18

摘要: 在分析现有的烟花模拟方法的基础上,引入渲染到纹理技术。以多次绘制屏幕纹理的方式,渲染烟花运动过程中产生的尾焰,结合粒子系统方法,使得烟花的模拟速度得到了有效提升;用该方法以及曲线数学模型模拟出了树形、海豚形状的新型烟花。实验结果证明,该方法在模拟烟花数量较多的情况下,较传统方法能够体现出更好的实时性。

关键词: 粒子系统, 新型烟花, 渲染到纹理, 模糊纹理, 实时性

Abstract: This paper introduces the rendering to texture technology, based on the analysis of the existing fireworks simulation methods. It renders the tail flame in the fireworks movement process through drawing the screen texture repeatedly, and combines with the method of particle system. All these make the fireworks simulation speed has been effectively promoted. Finally the paper simulates the tree, dolphin in the shape of fireworks with this method and mathematical model of the curve. Experimental results show that when simulating the fireworks with more number of cases, this method can reflect better real-time performance comparing with the traditional one.

Key words: particle system, new type of fireworks, render to texture, fuzzy texture, real-time