摘要
粒子系统是实现喷泉效果的有效方法,运用Direct3D中的点精灵作为粒子图元渲染喷泉粒子具有一定的灵活性。首先介绍3D图形函数库Direct3D及粒子系统的基本原理,然后运用物理动力学分析现实生活中的喷泉运动,构建出喷泉粒子系统模型并实现喷泉的三维效果。提出伪粒子黏度的方法,使多个粒子"黏合"形成不同大小的水珠,增强了喷泉的真实效果。
Particle system is an efficient way to implement fountain effect, Making use of the point-sprite of Direct3D by way of particle primitive to render fountain particle system possesses definite agility, First of all, 3D graphics function library Direct3D was introduced and the basic principles of particle system were described. Secondly the fountain movement in the true life was analyzed by physics dynamics, then fountain particle system model was constructed and 3D effect of fountain was implemented. The way of fake particle viscosity was proposed, so lots of particles could be agglutinated to form different big or small water beads. This way enhances reality effect of fountain,
出处
《计算机应用》
CSCD
北大核心
2008年第4期1070-1073,共4页
journal of Computer Applications
基金
国家973规划项目(2002CB312103)