基于GPU的后置处理运动模糊算法①.PDFVIP

  • 4
  • 0
  • 约1.84万字
  • 约 5页
  • 2019-01-09 发布于山东
  • 举报
基于GPU的后置处理运动模糊算法①.PDF

2016 年 第 25 卷 第 9 期 计 算 机 系 统 应 用 ① 基于GPU 的后置处理运动模糊算法 陈淑彬 (上海海事大学 信息工程学院, 上海 201306) 摘 要: 针对虚拟现实系统中运动模糊的真实感绘制问题, 着重研究了一种基于图形处理器(GPU)后置处理的 运动模糊改进算法. 该算法通过将场景渲染时前后两帧全分辨率纹理图的深度值存入深度缓存区, 使用其深 度信息与当前帧的映射矩阵提取物体的世界中心坐标, 并获取运动的速度矢量; 沿速度矢量进行采样、高斯滤 波, 最后引入模糊因子, 并对线性化采样值进行加权融合, 力求实现最真实的运动模糊效果. 实验结果表明: 所提算法不仅不会影响大型虚拟现实系统的渲染流畅度, 更改善了过分重影或者拖影, 具有良好的实时性和 真实感. 关键词: 运动模糊; 模糊因子; 深度缓存; 虚拟现实 Post-Processing Blur Algorithm Based on GPU CHEN Shu-Bin (College of Information Engineering, Shanghai Maritime University, Shanghai 201306, China) Abstract: In order to enhance the immersive realism of motion blur in virtual reality system, an improved post-processing algorithm of motion blur based on Graphics Processing Unit (GPU) is proposed. Depth value of full resolution texture maps in before and after frames of scene rendering are stored in the depth buffer in this algorithm. It uses its depth information and mapping matrix of the current frame to extract the world coordinate of the object, and gets the velocity vector. Then along speed vector it samples Gaussian filters. Fuzzy factor is introduced and fused weighted linear sample values to achieve the most realistic motion blur effect. The results show that: the proposed algorithm withgood real-time and realism effect will not only not affect the fluency of rendering large virtual reality system, but also solve over ghosting or streaking. Key words: motion blur; fuzzy factor; depth buffer; virtual reality 当相机拍摄物体时, 相机的自身移动或拍摄物体 观赏时更易投入, 能够真正意义上地实现虚拟环境的 的移动都会产生相对运动, 而相机的快门曝光是有延 真实体验. 迟的, 因此在这段时间范围内, 相机会对物体

文档评论(0)

1亿VIP精品文档

相关文档