作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (24): 252-255. doi: 10.3969/j.issn.1000-3428.2010.24.091

• 开发研究与设计技术 • 上一篇    下一篇

一种延期着色的快速反走样算法

王 豪a,b,段 茗a,b,李西猴a,b,杨红雨a,b   

  1. (四川大学 a. 计算机学院;b. 视觉合成图形图像技术国防重点学科实验室,成都 610065)
  • 出版日期:2010-12-20 发布日期:2010-12-14
  • 作者简介:王 豪(1986-),男,硕士研究生,主研方向:虚拟现实,并行绘制;段 茗、李西猴,硕士研究生;杨红雨,教授、博士、博士生导师
  • 基金资助:

    国家“863”计划基金资助项目(2009AA01Z332)

Fast Antialiasing Algorithm for Deferred Shading

WANG Hao a,b, DUAN Ming a,b, LI Xi-hou a,b, YANG Hong-yu a,b   

  1. (a. School of Computer Science; b. State Key Laboratory of Fundamental Science on Synthetic Vision, Sichuan University, Chengdu 610065, China)
  • Online:2010-12-20 Published:2010-12-14

摘要:

使用延期着色技术,无法应用硬件对图形进行反走样处理。针对该问题,提出一种延期着色的快速反走样算法。利用缓存的位置和法线信息准确高效地在缓存中进行边缘检测,对边缘部分采用加权抖动采样方法进行平滑处理。实验表明,该算法能够快速地获得效果较好的反走样结果。

关键词: 延期着色, 反走样, 边缘检测, 超采样, 抖动采样

Abstract:

A deferred render is incompatible with current hardware-assisted antialiasing. This paper proposes a fast antialiasing algorithm for deferred shading. It does edge detection by using the information in buffers, such as position and normal. The final deferred shading image is sampled by the blur factor for all pixels which returns true by edge detection. Simulation shows that, the antialiasing algorithm can effectively diminish objects jagged edges.

Key words: deferred shading, antialiasing, edge detection, super sampling, jittered sampling

中图分类号: