J4 ›› 2011, Vol. 29 ›› Issue (02): 135-.

• 论文 • 上一篇    下一篇

多光源实时全局光照算法的实现

李伟伟1,董 杰1,李海霞1,张桂连2   

  1. 1. 山东青年政治学院 信息工程系, 济南 250014;2. 山东师范大学 信息科学与工程学院, 济南 |250014
  • 出版日期:2011-03-25 发布日期:2011-04-25
  • 通讯作者: 李伟伟(1981— ),女,山东泰安人, 山东青年政治学院助教,硕士,主要从事计算机图形图像处理、游戏动画研究,(Tel)86-15169022720 E-mail:liweiwei1012@qq.com
  • 作者简介:李伟伟(1981— )|女|山东泰安人| 山东青年政治学院助教|硕士|主要从事计算机图形图像处理、游戏动画研究|(Tel)86-15169022720(E-mail)liweiwei1012@qq.com
  • 基金资助:

    国家自然科学基金资助项目(60905022);山东青年政治学院教改基金资助项目(2010JG01)

Realization of Many\|Light Real\|Time Global Illumination

LI Wei-wei1,DONG Jie1,LI Hai-xia1,ZHANG Gui-lian2   

  1. 1. Department of Information Engineering, Shandong Youth University of Political Science, Jinan 250014, China;2. College of Information Science and Engineering, Shandong Normal University,Jinan 250014|China
  • Online:2011-03-25 Published:2011-04-25

摘要:

针对全局光照尤其是多光源的全局光照的复杂性使其一直局限于离线应用的问题。对能量大的能代表多个光源的主光源,采用立即辐射度的方法,跟踪其光线产生虚拟点光源(VPLs:Virtual Point Lights),这些VPLs再照亮场景实现实时的一次反射的间接光照。对场景中其他非主光源采用预计算光照图的方式计算其直接光照,动态主光源的直接光照及其间接光照与预算的光照图结合。在牺牲少许渲染质量的前提下,用CPU(Central Processing Unit)预计算光照图,GPU(Graphics Processing Unit)计算间接光照,,并结合光照图合成最后的图像,实现了动态主光源、动态摄像机的多光源场景全局光照交互级绘制。

关键词: 立即辐射度, 光照图, 实时全局光照, 多光源, 抛物面映射

Abstract:

The complexity of many\|light global illumination has been limiting its use only to off\|line applications.We firstly approximates many light by a single brighter light,and the light paths are traced from this representative light, and VPLs(Virtual Point Lights) are generate at the vertices of these paths. Then, those VPLs are used to illuminating the scene, thus single\|bounce indirect illumination can be rendered on currently available graphics hardware at real time rates. The direct illumination of other lights are pre\|computed and stored in lightmaps, the contribution of dynamic lights and the resulting indirect illumination from that are computed and then combined with the lightmaps. At last, with little sacrifices in quality, the rendering of global illumination of the many\|lights scene with dynamic representative light and dynamic camera achieves interactive rates.

Key words: instant radiosity, lightmaps, real-time global illumination, many lights, paraboloid mapping

中图分类号: 

  • TP391