摘要
为了实现喷泉的实时模拟,构建出一种基于粒子系统的喷泉系统模型。分析模型中粒子的属性及其变化,加入风力和阻力等粒子属性,实现粒子在复杂受力情况下的实时动态模拟。采用Visual C++6.0为编程工具,三维动画环境由OpenGL支持,在Windows XP环境下开发了基于粒子系统的三维喷泉模拟系统。实验证明该算法实现简单,模拟的喷泉效果满足实时性和逼真性的要求。
To implement three-dimensional fountain simulation, a new fountain simulation method based on particle system is proposed. The attribute and change of particle are analyzed in the particle system, and wind and resistance are added to draw a three-dimension foundation that object to complex environment. By using Visual C + + 6.0 as the programming tools and the three-dimensional animation is supported by OpenGL, the full system of three-dimensional fountain simulation based on particle system was developed on Windows XP operating system. Simulation result demonstrates that the method is simple to implement and can meet the requirements of real-time and reality.
出处
《重庆邮电大学学报(自然科学版)》
2008年第6期749-753,共5页
Journal of Chongqing University of Posts and Telecommunications(Natural Science Edition)
关键词
喷泉模拟
粒子系统
水波
fountain simulation
particle system
ripple