基于GPU加速的辐射度光照算法的研究及应用
DOI:
作者:
作者单位:

河北省气象技术装备中心 石家庄 050000

作者简介:

通讯作者:

中图分类号:

TP391.41

基金项目:


Research and application on radiosity illumination based on GPU hardware acceleration
Author:
Affiliation:

Hebei Province Meteorological Technical Equipment Center, Shijiazhuang 050000, China

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    辐射度光照算法作为一种广泛应用的全局光照模型,直接影响了闭合场景的光照渲染效率和真实感程度。传统辐射度算法求解复杂、计算量大,改进的逐步求精辐射度算法可以即时地计算面片形状因子,但是对于面片数目较多的复杂场景,求解仍然非常耗时。为此提出了一种利用图形处理器(GPU)来实现逐步求精辐射度光照的算法,该算法充分利用GPU的并行计算能力和可编程性,将算法中面片可见性的判断和形状因子的计算完全在GPU中完成。采用GLSL着色器语言编制特定的着色器程序,片段着色器程序实现形状因子的计算和每个面片辐射度的求解。通过应用程序创建自己的帧缓冲区对象,利用离屏渲染、纹理缓存等技术来进行渲染和中间结果存储。改进后的算法对于简单场景的光照渲染可以达到交互的速度,对于复杂场景会大大提高其计算速度,减少光照渲染时间,改进其光照渲染的效果。

    Abstract:

    Radiosity is a widely used technique for global illumination,which makes a direct impact on the illumination rendering efficiency and realism in the indoor scene.The traditional radiosity requires huge computation. Although the improved progressive refinement radiosity can instantly calculate the form factor, the whole process is still very timeconsuming when the number of patches is large.For the above reasons, the progressive refinement radiosity based on GPU hardware acceleration is proposed,which takes advantage of the parallel computing capabilities of GPU. The judgment of patch visibility and the calculation of form factor are completely achieved in the GPU .The calculation of form factor and the solution of patch radiosity are accomplished in the fragment shader. The application create the frame buffer object, which can carry out the off screen rendering and render to texture. This improved method can reach the speed of interaction for a simple scene, and it will greatly enhance the calculation speed and improve the illumination rendering effect for a complex scene.

    参考文献
    相似文献
    引证文献
引用本文

于平.基于GPU加速的辐射度光照算法的研究及应用[J].国外电子测量技术,2016,35(11):46-52

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2016-12-13
  • 出版日期: