Computer Engineering and Applications ›› 2010, Vol. 46 ›› Issue (2): 174-176.DOI: 10.3778/j.issn.1002-8331.2010.02.052

• 图形、图像、模式识别 • Previous Articles     Next Articles

Real time global illumination using importance faces sampling

CHAI Xue-liang1,WU Xiang-yang1,WANG Yi-gang1,DAI Da-meng2   

  1. 1.Institute of Graphics and Image,Hangzhou Dianzi University,Hangzhou 310018,China
    2.College of Computer Science & Engineering,Wenzhou University,Wenzhou,Zhejiang 325027,China
  • Received:2008-07-28 Revised:2008-10-24 Online:2010-01-11 Published:2010-01-11
  • Contact: CHAI Xue-liang

采用重要性面片采样的实时全局光照

柴学梁1,吴向阳1,王毅刚1,戴大蒙2   

  1. 1.杭州电子科技大学 图形图像研究所,杭州 310018
    2.温州大学 计算机科学与工程学院,浙江 温州 325027
  • 通讯作者: 柴学梁

Abstract: This paper presents a real-time global illumination computation method.One-bound indirect illumination can be computed by this method in dynamic light source and dynamic view point environment,and the materials of object surface can be modified in real-time.This method pre-computes the form factor of all faces to solve the occlusion problem and records some importance faces with larger form factor as indirect light sources.During the real-time rendering,the method generates an extend shadow map of the scene through the direction of light source,which records the id and flux of the faces,and then computes indirect illumination from the sampled indirect light sources.The whole indirect illumination computation is implemented in GPU using CUDA,so this method can render the static scene in real-time and reach the realistic result.

Key words: importance faces sampling, global illumination, occlusion, Graphic Processing Unit(GPU), Compute Unified Device Architecture(CUDA)

摘要: 提出了一种实时全局光照的计算方法。该方法支持任意视点下动态光源的一次间接光照计算,并且物体表面材质可实时编辑,该算法预计算了各面片上的形状因子来解决遮挡问题,并记录形状因子较大的重要性面片作为间接光源。渲染时先从光源方向对场景记录了一个扩展的阴影图,包含了光源照射到的面片ID和其光通量,再根据采样好的间接光源来计算间接光照。使用CUDA,整个光照计算过程在GPU中完成,可以对静态场景进行实时渲染,并能达到逼真的渲染效果。

关键词: 重要性面片采样, 全局光照, 遮挡, 图形处理器, 统一计算架构

CLC Number: