首页> 中文期刊> 《桂林电子科技大学学报》 >基于粒子系统的Direct3D火焰模拟改进算法

基于粒子系统的Direct3D火焰模拟改进算法

         

摘要

It is difficult to accurately describe the dynamic characteristics of an irregular uncertain on the flame,an improved algorithm for simulating real-time fire based on classic particle system is presented.Firstly,when new particles are initial-ized,a hemispherical flame particle emitter is designed to optimize their positions.Then,in order to increase time perform-ance,five color models are required to simplify those complex actions of fire by Nguyen′s blue core model,and the midpoint wizard of Direct3D technology is used.To solve the problem of the reality of flame simulation,dynamic motion fields are hi-erarchically controlled to realize the dynamic change in flame shape,and alpha blending levels of the flame in different colors mixed are started.Experimental results show that the real-time and reality are optimized,and the performance is significant-ly increased.%针对火焰难于精确描述的不规则、不确定动态特性,提出了一种改进的实时火焰模拟算法。在初始化火焰粒子的位置属性时,设计半球面火焰粒子发射器,优化火焰粒子的初始位置;将火焰模型设计成5层颜色模型,简化火焰的复杂运动;采用Direct3D点精灵技术,提高系统的时间性能;分层控制运动场的运动,实现火焰形状的动态改变。同时启动 Alpha混合处理,使火焰在不同颜色层次混合,极大地增强了火焰的真实感。实验结果表明,改进后的算法大大减少了粒子数量,降低系统运行时间,达到了实时的要求,而且所生成的火焰具有较强真实感的颜色变化和动态摇曳等特性。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号