喷泉、瀑布、火焰、水流、雨、雪等自然景物具有不规则性、动态性和随机性,模拟十分复杂。模拟自然景物的方法有两种:基于物理建模技术的方法与基于粒子系统建模的方法。运用粒子系统建模方法分析了喷泉水体模型,研究了喷泉水珠粒子产生、运动和消亡的机理,构建出三维喷泉粒子系统模型。采用了三维立体显示技术和纹理映射技术增强喷泉绘制过程中的渲染和真实感。基于OpenGL,采用Visual C++6.0编程实现了三维喷泉模拟。实验结果表明,该方法模拟效果真实,在普通的PC平台上即可满足一般动画的实时需求。
The nature sceneries, such as fountain, waterfall, fire, water-stream, rain, and snow, possess anomalistic, dynamic and stochastic character, which are extremely challenging. There are two methods to simulate these: one is based on physics modeling; another is founded on particle system modeling. The fountain simulation was analysed based on Particle System Modeling. As for the mechanism of the bead producing, moving and dying out, an approach of three dimensional fountain simulation was presented. The three-dimensional display and texture mapping methods were used to enhance the romance and reality. The system of three-dimensional fountain simulation is developed on Windows XP by using Visual C++ 6.0 as the programming tools and the three--dimensional animation is supported by Open- GL. Experiment demonstrates that the method can achieve satisfied effect to both reality and real-- time simulation in consumer PC platform.