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

基于流场的流动水体仿真
引用本文:杨在兴,芮小平,梁明,赖晗,陆瑾.基于流场的流动水体仿真[J].计算机工程与设计,2012,33(6):2392-2397.
作者姓名:杨在兴  芮小平  梁明  赖晗  陆瑾
作者单位:1. 西安科技大学 测绘科学与技术学院,陕西西安,710054
2. 中国科学院研究生院 资源与环境学院,北京,100049
3. 中国矿业大学(北京)地球科学与测绘工程学院,北京,100083
4. 中国水利水电科学研究院水环境研究所,北京,100038
基金项目:国家水体污染控制与治理科技重大专项基金项目
摘    要:为了逼真地模拟自然河道中的流动水体,提出了一种基于流场的流动水体仿真方法.应用流体力学原理,实时计算稳定水流的速度,构建河流的流场,然后运用流场驱动并约束满足泊松碟分布的块状纹理在河道内移动,通过对块状纹理进行混合与渲染,构成了一种自然水体的动态流动效果.水面渲染采用GLSL (opengl shading language)着色器进行渲染,实际运用GPU可编程渲染管线进行图形计算,减少了CPU的实时运算量,提高程序的整体效率,实践表明,应用以上方法可以有效地模拟流域内的动态流动水体.

关 键 词:流动水体仿真  流场  泊松碟分布  块状纹理  着色器

Simulation of flowing water based on flow field
YANG Zai-xing , RUI Xiao-ping , LIANG Ming , LAI Han , LU Jin.Simulation of flowing water based on flow field[J].Computer Engineering and Design,2012,33(6):2392-2397.
Authors:YANG Zai-xing  RUI Xiao-ping  LIANG Ming  LAI Han  LU Jin
Affiliation:1.Science and Technology College of Geomatics,Xi’an University of Science and Technology,Xi’an 710054,China; 2.College of Resources and Environment,Graduate University of Chinese Academy of Science,Beijing 100049,China; 3.College of Geoscience and Surveying Engineering,China University of Mining and Technology(Beijing),Beijing 100083,China;4.Department of Water Environment,China Institute of Water Resources and Hydropower Research,Beijing 10038,China)
Abstract:To simulate the flowing water in the natural river realistically,a method of the simulation of the flowing water based on the flow field is presented.Firstly,the velocity of steady flowing water is calculated in real-time,the river flowing field is built through Principles of fluid mechanics,and then the lump textures which meet Poisson-disk distribution are advected and restricted,through the blending and rendering of the lump textures,the dynamic and flowing effects of the water is constructed.GLSL(OpenGL shading language)shaders are used to render the dynamic effect of water,GPU programmable rendering pipeline is used for graphics calculations,and the CPU real-time computation is reduced and the overall efficiency of the program is improved.The practice shows that the method can simulate the dynamic flowing water within the basin.
Keywords:flowing water simulation  flow field  Poisson-disk distribution  lump texture  shader
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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