首页 | 官方网站   微博 | 高级检索  
     

基于GPU的屏幕空间镜头水滴实时渲染
引用本文:叶万方,邵鑫,黄煜,张建伟.基于GPU的屏幕空间镜头水滴实时渲染[J].计算机技术与发展,2014(5):11-14,19.
作者姓名:叶万方  邵鑫  黄煜  张建伟
作者单位:[1]四川大学计算机学院,四川成都610065 [2]视觉合成图形图像技术国防重点学科实验室,四川成都610065 [3]四川川大智胜软件股份有限公司,四川成都610045
基金项目:基金项目:国家“863”高技术发展计划项目(2012AA011804)
摘    要:为了实时模拟真实性高的镜头水滴,提出一种在可编程图形硬件中实现的镜头水滴渲染新方法。首先三维场景被渲染到一张场景纹理,然后在GPU着色器中为镜头水滴产生不规则边缘接触曲线,使用该曲线快速构建水滴的曲面,最后采用曲面的表面信息并根据水滴的光学属性渲染出水滴的折射效果。采用该方法,可以实时地在屏幕上渲染出镜头水滴效果。使用GPU着色器进行渲染,可以在渲染出效果逼真的水滴的情况下,获得实时的帧率。采用光线折射物理方法渲染出的水滴的效果比直接使用纹理贴图方式获得的水滴的效果更逼真。

关 键 词:实时渲染  水滴  屏幕空间  自然特效  着色语言

Real-time Rendering of Screen-space Water Drops for Camera Lens Based on GPU
YE Wan-fang,SHAO Xin,HUANG Yu,ZHANG Jian-wei.Real-time Rendering of Screen-space Water Drops for Camera Lens Based on GPU[J].Computer Technology and Development,2014(5):11-14,19.
Authors:YE Wan-fang  SHAO Xin  HUANG Yu  ZHANG Jian-wei
Affiliation:1. College of Computer Science, Sichuan University,Chengdu 610065 ,China; 2. Key Laboratory of Fundamental Science on Synthetic Vision, Sichuan University, Chengdu 610065, China; 3. Wisesoft Co. ,Ltd. of Sichuan University,Chengdu 610045 ,China)
Abstract:One new approach was proposed to simulate realistic water drops on lens in real time using the programmable graphics hard-ware. First,the three-dimensional scene was rendered to a scene texture. Then the irregular edge curves of water drops on the screen were produced in the GPU shader. Surfaces of water drops were constructed quickly by using the curves. Lastly the refraction effect of water drops was rendered by using the information of the surface based on the optical properties of droplets. By using this method,can render the lens effect of water droplets on the screen with real-time. Using the GPU shader for rendering,can obtain real-time frame rate under the condition of rendering the realistic water droplets. The droplets effect rendered by light refraction physical methods is more realistic than by texture mapping methods.
Keywords:real-time rendering  water drops  screen space  natural effects  shading language
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号