摘要
下雪和积雪是农业场景中常见的自然现象。提出了一种下雪和积雪过程模拟的方法,算法采用粒子系统对雪粒子建模来模拟下雪过程,同时加入了风吹的效果。在模拟积雪时,通过在地面和屋顶构造一层三角形网格来保存雪的堆积信息,避免了保存雪粒子作为积雪实体的内存开销,同时考虑了雪飘落过程中与温室墙壁的碰撞检测。在渲染时,采用了平均法向量和混合顶点颜色的方法来获得平滑的效果。模拟结果表明,该方法能有效地再现农业场景中下雪和积雪场景,在满足实时交互漫游的前提下表现出较强的真实感。
Snow failing and accumulation are common natural phenomena in agricultural scene. A method is presented to simulate snow falling and accumulation, the algorithm simulates the snow failing process and models snowflake particles based on analyzing particle system, with the effects of wind-blown snow, in the simulation of snow accumulation, a blanket of triangulation mesh are constructed to store information about snow depth on the ground and roof, the memory cost for storing snowflake particles as snow accumulation therefore is avoided, the collision detection between snowflakes and the wall of greenhouse is considered in the falling process at the same time, a method of averaging normal and blending the color of vertex is adopted to obtain the smooth effect in snow rendering. The simulation results have proven that the proposed method is more effective for simulating snow falling and accumulation in agricultural scene, and it satisfy basic need for real-time interactive navigation with realistic effects.
出处
《计算机工程与设计》
CSCD
北大核心
2008年第24期6350-6352,6357,共4页
Computer Engineering and Design
基金
国家十一五科技支撑计划基金项目(2006BAD10A07)