摘要
计算机动画模拟的目标是实现仿真的实时性与逼真性,粒子系统作为模拟不规则物体运动的有效算法,在自然现象的仿真方面有着突出的贡献。为了弥补使用填充方式模拟心形烟花的不足,增强模拟的效果,文中提出了一种基于粒子系统的模拟方法。基本原理是采用阿基米德螺线函数来控制爆炸瞬间粒子的属性,同时结合纹理贴图技术绘制烟花粒子。编程上基于OpenGL,采用Visual C++实现了"心"形烟花的模拟。实验结果证明提出的绘制方法具有快速、简单的特点,达到了预期的效果。
The goal of computer-animated simulation is to achieve real-time simulation and realistic, effective algorithm of the particle system as a simulation of irregular movement of objects, outstanding contributions to the simulation of natural phenomena. To compen- sate for the lack of fill simulate the heart-shaped fueworks,and enhance the effect of simulated,presents a simulation method based on particle systems. The basic principle is using Archimedes spiral function to control the explosive properties of the particle moments, com- bined with texture mapping draw fireworks particles. Programming is based on OpenGL, using Visual C + + implementation of the " heart"-shaped fireworks simulation. Experimental results show that the proposed drawing method is fast, simple to achieve the desired results.
出处
《计算机技术与发展》
2012年第11期89-92,96,共5页
Computer Technology and Development
基金
安徽省自然科学基金(090412045)
关键词
粒子系统
“心”形烟花
纹理映射
particle system
heart-shaped fireworks
texture mapping