计算机与现代化 ›› 2013, Vol. 1 ›› Issue (7): 123-126.doi: 10.3969/j.issn.1006-2475.2013.07.033

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

基于粒子系统的爆炸烟雾模拟

陈建刚1,徐守祥2,黄国伟1   

  1. 1.深圳信息职业技术学院计算机学院,广东深圳518172;2.深圳信息职业技术学院数字媒体学院,广东深圳518172
  • 收稿日期:2013-02-20 修回日期:1900-01-01 出版日期:2013-07-17 发布日期:2013-07-17

Explosion Smoke Simulation Based on Particle System

CHEN Jian-gang1, XU Shou-xiang2, HUANG Guo-wei1   

  1. 1. School of Computer, Shenzhen Institute of Information Technology, Shenzhen 518172, China;2. School of Digital Media, Shenzhen Institute of Information Technology, Shenzhen 518172, China
  • Received:2013-02-20 Revised:1900-01-01 Online:2013-07-17 Published:2013-07-17

摘要: 粒子系统是3D技术中模拟烟雾的一种常用方法。本文针对爆炸烟雾的运动方式,通过控制烟雾粒子大小及其运动速度方向以模拟烟雾扩散膨胀,采用粒子法线旋转及粒子采样纹理时顶点旋转来模拟烟雾翻滚效果,通过Alpha混合技术及将粒子四边形转化为球面方法来实现烟雾粒子的绘制过程,使用较少粒子数模拟出较逼真的爆炸烟雾扩散效果。实验表明该方法具有较好的实时性。

关键词: 粒子系统, Alpha混合, 纹理映射, 爆炸烟雾

Abstract: Particle system is a common method of smoke simulation in 3D technology. According to the movement manner of explosion smoke, the expanding of explosion smoke is simulated by controling velocity and size of particles. The rolling effect is simulated by controling normal rotation and sampling texture vertex rotation. The smoke particles are rendered with Alpha blending technology and particle quadrilateral changing to spherical. With few particles, the explosion smoke show perfect simulation effect and real-time performance. Experiments show that this method is of good real-time performance.

Key words: particle system, Alpha blending, texture mapping, explosion smoke