计算机应用 ›› 2013, Vol. 33 ›› Issue (05): 1428-1431.DOI: 10.3724/SP.J.1087.2013.01428

• 多媒体处理技术 • 上一篇    下一篇

一种真实感雪场景模拟方法

徐元金,曾亮,陈世龙   

  1. 国防科学技术大学 计算机学院,长沙 410073
  • 收稿日期:2012-10-29 修回日期:2012-12-10 出版日期:2013-05-01 发布日期:2013-05-08
  • 通讯作者: 徐元金
  • 作者简介:徐元金(1985-),女,山东临朐人,硕士研究生,主要研究方向:虚拟现实;曾亮(1970-),男,湖南洞口人,研究员,博士,主要研究方向:科学计算可视化、虚拟现实。
  • 基金资助:

    国家自然科学基金资助项目(61272009)

Method of simulating realistic snow scene

XU Yuanjin,ZENG Liang,CHEN Shilong   

  1. College of Computer, National University of Defense Technology, Changsha Hunan 410073, China
  • Received:2012-10-29 Revised:2012-12-10 Online:2013-05-08 Published:2013-05-01
  • Contact: XU Yuanjin

摘要: 探讨已有降雪和积雪模拟方法,针对粒子系统难以同时兼得真实性与实时性的问题,提出一种真实感较强的雪场景实时绘制算法。算法用矩形基本粒子进行纹理叠加映射来建模雪粒子,用温度调节控制雪粒子大小及雪密度大小,归一化生命周期并用于颜色混合。飘雪阶段,引入层次细节(LOD)技术,根据雪粒子真实受力特点模仿其运动过程,并将其受力全面综合考虑并简化,提高降雪模拟效果真实度,并降低计算复杂度。积雪阶段,获取场景模型暴露面及其高度场,以暴露面中点的高度及其点坐标为基础,得到雪粒子落地位置,进而模拟积雪高度变化效果;将整个地面作为地面雪粒子发射器,模拟积雪融化效果,提高真实性。

关键词: 粒子系统, 降雪模拟, 积雪模拟, 高度场, 层次细节

Abstract: The particle system can hardly simulate the natural features effectively and real-time at the same time. Based on the analysis of traditional simulation methods, a real-time rendering algorithm was presented. The algorithm used rectangular elementary to simulate snow particles,added texture mapping based on superposition,normalized snow lifecycle for color blending,and regulated the size of snow particle and snow density according to the size of temperature. In the snow-falling stage, this algorithm introduced Level Of Detail (LOD) technology, imitated the movement effect according to the whereabouts of the snow particles moving force characteristics, took the force comprehensive consideration and simplified to reduce the computational complexity and improve the snow simulation authenticity.In the snow-accumulating stage, this method obtained the exposed surface of the scene model and its height field. And then based on a point coordinates and the point height in the field in a plane, it got the position of snow particles steadily to simulate the height change effect. This new method used the whole surface as ground-object emitter and superimposed the corresponding particle texture to improve authenticity.

Key words: particle system, falling snow simulation, accumulating snow simulation, height field, Level Of Detail (LOD)

中图分类号: