吉林大学学报(工学版) ›› 2013, Vol. 43 ›› Issue (增刊1): 230-234.

• 论文 • 上一篇    下一篇

质点弹簧水面与Metaball结合的雨场景渲染算法

吕梦雅1,2, 郑玄1, 唐勇1,2   

  1. 1. 燕山大学 信息科学与工程学院,河北 秦皇岛 066004;
    2. 河北省计算机虚拟技术与系统集成重点实验室,河北 秦皇岛 066004
  • 收稿日期:2012-06-05 发布日期:2013-06-01
  • 通讯作者: 唐勇(1964-),男,博士,教授.研究方向:虚拟现实技术及其应用.E-mail:tangyong@ysu.edu.cn E-mail:tangyong@ysu.edu.cn
  • 作者简介:吕梦雅(1965-),女,博士,教授.研究方向:计算机图形学、计算机多媒体技术.E-mail:xjlmy@ysu.edu.cn
  • 基金资助:

    河北省自然科学基金项目(F2012203084);国家自然科学基金项目(60970073).

Rain scenes rendering algorithm combining metaball with mass-spring surface

LYU Meng-ya1,2, ZHENG Xuan1, TANG Yong1,2   

  1. 1. College of Information Science and Engineering, Yanshan University, Qinhuangdao 066004, China;
    2. The Key Laboratory for Computer Virtual Technology and System Integration of HeBei Province, Qinhuangddao 066004, China
  • Received:2012-06-05 Published:2013-06-01

摘要:

为解决雨场景细节展现不真实和不完善问题,提出一种Metaball技术与质点弹簧水面结合的算法模拟雨滴撞击水面的效果。首先,以粒子系统结合基于图像的绘制方法建立雨滴模型,以质点弹簧建立任意形状的水面模型;其次,采用质点弹簧水面结合Metaball技术模拟雨滴撞击水面起泡的过程;再次,采用粒子系统和逐渐淡化融合的方法表现了水花的产生和消失;最后,使用Cg语言实现了水面和泡泡的反射和折射效果,完成场景渲染。实验结果表明,所提出的方法能够快速且比较真实表现雨滴撞击水面的效果。

关键词: 雨场景, 质点弹簧, Metaball技术, 粒子系统, 动态纹理

Abstract:

To solve the problems such as unreal effects,incomplete details in the rain scene,an algorithm to simulate water surface after rain hitting by combining Meatball with mass-spring water surface was presented.First,the raindrops model was estabished with particle system combining textures,and the water surface model was established with the mass-spring model.Secondly,the algorithm animated half globular bubbles after rain hitting with Meatball.Thirdly,water splash was simulated by means of the particle system and a gradual thinning and syncretizing technique.Finally,with the help of Cg language,the reflection and the refraction effect on the water surface,globular bubbles and water splash were simulated.The experiment shows that this approach can be used to simulate rain scenes efficiently and realistically.

Key words: rain scenes, mass-spring, model Metaball, particle system, dynamic texture

中图分类号: 

  • TP156

[1] Niniane Wang,Bretton Wade.Rendering falling rain and snow[C]//ACM SIGGRAPH,Sketches,NY,USA,2004:14-15.

[2] Marcos Slomp,Matthew W Johnson,Toru Tamaki,et al.Photorealistic real-time rendering of spherical raindrops with hierarchical reflective and refractive maps[J].Computer Animation and Virtual Worlds,2011,22(4):393-404.

[3] Coutinho B B,Oliveira A A F,Atencio Y P,et al.Rain scene animation through particle systems and surface flow simulation by SPH[C]//23th SIBGRAPI,Gramado,Brazil,2010:255-262.

[4] Thürey N,Wojtan C,Gross M,et al.A multiscale approach to mesh-based surface tension flows[J].ACM Transactions on Graphics,2010,29(4):48-56.

[5] Cleary P,Hyoung S.Bubbling and frothing liquid[J].ACM Transactions on Graphics,2007,26(3):971-976.

[6] Kim D,Song Y.A practical simulation of dispersed bubble flow[J].ACM Transactions on Graphics (TOG),Proceedings of ACM,2010,29(4):70.

[1] 吕梦雅, 韩育芳, 唐勇. 虚拟手术中缝合过程的相关技术[J]. 吉林大学学报(工学版), 2013, 43(增刊1): 16-20.
[2] 佟志忠,姜洪洲,韩俊伟 . 面向飞行模拟的云仿真及其实时绘制[J]. 吉林大学学报(工学版), 2008, 38(06): 1434-1440.
[3] 陈 蕾,, 陈贺新, 王润杰, 李松维. 在飞行模拟器中实现雪的实时模拟[J]. 吉林大学学报(工学版), 2005, 35(02): 163-0165.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!