首页 | 本学科首页   官方微博 | 高级检索  
     

基于波环粒子的实时水波仿真方法
引用本文:顾浩杰,张军.基于波环粒子的实时水波仿真方法[J].计算机应用,2022,42(12):3876-3883.
作者姓名:顾浩杰  张军
作者单位:江南大学 人工智能与计算机学院,江苏 无锡 214122
江苏省媒体设计与软件技术重点实验室,江苏 无锡 214122
基金项目:国家自然科学基金资助项目(61772013)
摘    要:为了降低水波模拟过程中的计算成本并提高其扩散现象的逼真度,提出一种基于波环粒子包的实时二维平面水波仿真方法。该方法采用波环粒子为基本计算单元,粒子内部继承“波包”的概念,使用多个频段水波叠加的方式再现水波视觉效果。在计算水波反射过程时,通过添加镜像波源的形式减少碰撞计算,避免复杂几何判定。为适应不同硬件的计算性能差异,该方法提供额外的计算精度参数,可针对不同硬件计算能力调节水波反射计算复杂度。实验结果表明,该方法可使用较少的粒子模拟出较为真实的水波运动,且避免了碰撞反射后水波断裂的问题。在相同硬件平台上的性能测试显示,所提波环仿真方法的渲染帧率比传统波包算法高出至少60%,在一些水波状态特别复杂的情况下可达到400%以上的加速效果。

关 键 词:水波仿真  波环粒子  波包  粒子系统  渲染帧率  
收稿时间:2021-09-29
修稿时间:2022-01-31

Real-time water wave simulation method based on wave annulus particles
Haojie GU,Jun ZHANG.Real-time water wave simulation method based on wave annulus particles[J].journal of Computer Applications,2022,42(12):3876-3883.
Authors:Haojie GU  Jun ZHANG
Affiliation:College of Artificial Intelligence and Computer Science,Jiangnan University,Wuxi Jiangsu 214122,China
Jiangsu Key Laboratory of Media Design & Software Technology,Wuxi Jiangsu 214122,China
Abstract:A real-time two-dimensional water wave simulation method based on wave annulus particle packet was proposed to reduce computational cost in the water wave simulation process and improve its diffusion phenomenon's fidelity. In this method, wave annulus particle was used as primary calculation unit, the concept of “wave packet” was inherited inside particles, and visual effect of water waves was reproduced by using superposition of water waves in multiple frequency bands. Collision calculation was reduced by adding a mirror wave source to avoid complex geometric judgment when calculating the water wave reflection process. Additional calculation accuracy parameters were provided so that the algorithm could adjust calculation complexity of water wave reflection according to different hardware calculation capabilities. Experimental results show that the proposed method can use fewer particles to simulate natural water wave motion and avoid problem of water wave fracture after collision reflection. The performance test on the same hardware platform shows that rendering frame rate of the proposed wave annulus simulation algorithm is at least 60% higher than that of traditional wave packet algorithm and even achieves an acceleration effect of more than 400% in some cases with particularly complex water wave states.
Keywords:water wave simulation  wave annulus particle  wave packet  particle system  rendering frame rate  
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号