摘要
针对沙尘暴仿真中出现的实时性和高效性不能满足用户需求等问题,提出了基于软粒子的沙尘暴仿真方法。采用可编程技术,在GPU上对粒子进行软化,在粒子和场景交互时,能够达到平滑过渡的效果,使其有更强的真实感。在视点周围产生和绘制软粒子,在顶点着色器中对软粒子的属性进行更新,能够达到实时性绘制。根据粒子运动的半径,利用线性插值方法使其能淡入淡出,有效避免了闪烁现象,最终达到实时、逼真、高效的沙尘暴仿真,大幅度提高了三维场景的渲染效率和真实感。
To deal with the problems that the effects of real-time and efficiency cannot meet the needs of the users appeared in the sandstorm simulation, a solution based on soft particles is put forward, which can simulate real-time sandstorm. Firstly, the particles is softened in the GPU by using programmable technology, when the soft particles intersect with the scene, the effect will be more smooth and verisimilar. Secondly, particles around the viewpoint is produced and rendered, and the attributes of particles is updated in the vertex shader, which can achieve real-time rendering. Finally, according to the radius of soft particles moving, using the linear interpolation method makes them gradually change, which avoids flashing phenomenon. In the end, real-time, verisimilar and efficient sandstorm simulation is improved.
出处
《计算机工程与设计》
CSCD
北大核心
2013年第7期2503-2506,共4页
Computer Engineering and Design
基金
国家自然科学基金项目(60903118
60832011)
关键词
软粒子
沙尘暴
逼真性
实时性
高效性
着色语言
soft particle
sandstorn
verisimilar
real-time
efficiency
shading language