摘要
由于自然现象的不规则性,真实地对自然现象仿真是有难度的,该文系统地介绍了基于粒子系统的雨景仿真的方法。通过分析模型中粒子的属性及其变化,提出了粒子系统的雨景模拟算法结构,实现粒子在复杂受力环境下的实时动态模拟;再结合OpenGL技术,运用SPH方法对雨滴的运动交界面迸溅、自由表面融合进行仿真;最后利用纹理映射技术进行渲染,可在复杂的三维场景中实时地模拟降雨现象,仿真效果逼真。
Because of natural phenomenon irregularities,simulation of natural phenomenon truly is difficult.This paper introduces the model based on particle system of rain scene simulation method.Through the analysis of the model’s particle and its attributes’changes,put forward the rain of particle system simulation algorithm structure and realize particles in the complex stress environment of real-time dynamic simulation.Combined with OpenGL platform,using SPH method,the movement of rain and free surface fusion was simulated.Finally,using the texture mapping rendering technology,the model can simulate real-time rainfall phenomenon in complex 3d scene.The simulation results realistic.
出处
《电脑知识与技术(过刊)》
2012年第5X期3357-3358,共2页
Computer Knowledge and Technology
基金
河南师范大学大学生创新性实验计划资助国家级项目(101047608)
项目名称:基于粒子系统的雨景仿真