摘要
以粒子系统为基础、线元为基本绘图单位,应用牛顿运动定律分析并建立瀑布运动方程,进行了瀑布场景的模拟。采用包围盒与粒子聚类检测相结合的方式以及参考射线反射原理实现了瀑布与障碍物的碰撞,并运用OpenGL中的混合技术生成半透明场景,使可视化场景更加真实。实验结果表明粒子系统在模拟瀑布等不规则物体时具有很大优势。
This paper presented a method of waterfall simulation, which based on the particle system, chose short line as basic unit, and used the Newton' s principle to analyze particles' motion and then established equations. In order to make the scene more vivid, it used the bounding box method and cluster particles to detect collisions between particles and obstacles, and used the principle of light reflection to make response. Besides, it introduced the blend operation to produce a translucent scene. The results demonstrate that the particle system represents more superiority on simulating irregular objects.
出处
《计算机应用研究》
CSCD
北大核心
2008年第7期2194-2196,共3页
Application Research of Computers
关键词
粒子系统
碰撞检测
粒子聚类
混合技术
particle system
collision detecting
cluster particles
blend operation