摘要
动画仿真问题的研究,是为实现图像逼真实时,采用粒子系统是一种能够有效仿真不规则物体运动的图形生成算法,因上述方法具有灵活性、适应性等特点,被广泛应用在不规则物体运动的仿真中。为了对有形烟花的燃放进行仿真,根据粒子系统的基本原理,对烟花粒子系统的模型和燃放原理进作了深入的研究,对传统的烟花仿真模型进行了改进。采用粒子系统仿真方法,在Vc++和0penGL开发工具上,用纹理映射、色彩混合等技术,设计并对8字动态烟花进行仿真。实验结果表明,在夜色背景下产生的8字烟花形态逼真,实时性较好。
Particle system is a kind of graph generation algorithm which can effectively simulate the scenery of irregular movement,and is widely used in the simulation of irregular object movement,because of its flexibility,adaptability,etc.In order to simulate the shape of fireworks going off,this paper is intended to illustrate the basic principles of particle system and conduct an in-depth research about the basic model of particle system for fireworks and the discharge principle,and the traditional simulation model for the fireworks has been improved.In doing so,according to the simulation method of particle system,the paper attempts to explore and design an 8-word dynamic fireworks simulation based on Vc++and 0penGL,and use of texture mapping,color blending technology,etc.As the experimental result,in the night background of fireworks going off,the 8-word dynamic fireworks can create vivid images and come up to the real-time requirements.
出处
《计算机仿真》
CSCD
北大核心
2010年第10期211-214,249,共5页
Computer Simulation
关键词
粒子系统
纹理映射
色彩混合
Particle system
Texture mapping
Color blending