首页> 中文期刊> 《计算机工程与设计》 >基于GPU粒子系统的可交互水波实时模拟

基于GPU粒子系统的可交互水波实时模拟

         

摘要

针对在基于波动方程的水波模拟中存在计算量大的问题,分析大规模场景中的可交互水波实时模拟的特点,提出对波动方程进行近似建模,进行水面高度场建模;采用离散化的构建方式,设计垂直偏移函数和水平偏移函数,结合粒子系统,根据波浪的运动规律进行水面高度场更新。对粒子系统属性进行合理设计,使其可以在GPU上进行属性更新;对粒子进行二维组织,加快粒子系统的遍历速度;设计一组具有4个绘制遍的GPU绘制管道,利用GPU的并行计算能力进行水面高度场的构建。实验结果表明,该算法能够模拟出具有高真实感的可交互水波,绘制效率较高,达到了实时模拟的效果。%For the problem of huge computation derived from the simulation of water wave based on wave equation ,characteris-tics of large-scale and complex virtual scene were analyzed .An analysis solution to approximate wave equations was proposed , and the water height field was constructed .According to the discretization idea ,a pair of local vertical and horizontal deviation function was designed ,together with the particle system to simulate the waves .Further more ,a group of reasonable attributes were given ,with which the updating of particle system was done mostly on GPU .And the particles were organized into two di-mensions to make the particle system iterating quickly .The GPU rendering pipeline was designed with four passes ,and the wa-ter height field was designed on GPU .The experiment results show that the algorithm can simulate the real time interactive wa-ter w aves realistically and efficiently .

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号