引用本文:赵沁平,车英慧.基于Harr 小波的动态场景全频阴影绘制算法.软件学报,2011,22(8):1948-1959
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 5222次   下载 7467 本文二维码信息
码上扫一扫!
分享到: 微信 更多
基于Harr 小波的动态场景全频阴影绘制算法
赵沁平, 车英慧
北京航空航天大学 计算机学院 虚拟现实技术与系统国家重点实验室,北京 100191
摘要:
针对现有的预计算辐射传递算法对三维场景限制严格、适合于低频光照环境等问题,提出了一种动态场景的全频阴影绘制算法.在预处理阶段使用球体对三维物体进行拟合,同时对光照函数和BRDF(bidirectional reflectance distribution function)函数进行Harr 小波变换;在运行时阶段利用不同基函数的优势,在像素基空间进行多个球体可见性函数的快速合并,在小波基空间进行光照函数、BRDF 函数和可见性函数的三乘积分,得到最终的光照值.使用CUDA(computed unified device architecture)实现了该算法,充分利用了图形硬件的最新功能.实验结果表明,阴影绘制质量有很大的提高,可以基本达到实时绘制.
关键词:  预计算辐射传递  Harr 小波  三乘积分  CUDA(computed unified device architecture)
DOI:10.3724/SP.J.1001.2011.03865
分类号:
基金项目:国家自然科学基金(60873159); 国家高技术研究发展计划(863)(2006AA01Z333)
All-Frequency Shadows Rendering Algorithm for Dynamic Scenes Based on Harr Wavelets
ZHAO Qin-Ping, CHE Ying-Hui
State Key Laboratory of Virtual Reality Technology and Systems, School of Computer Science, BeiHang University, Beijing 100191, Chin
Abstract:
Current PRT (pre-computed radiance transfer) techniques are limited to having 3D static scene, or large low-frequency lights. In this paper, an all-frequency shadow rendering method for dynamic scenes is proposed. In the preprocessing phase, the blocking geometry is modeled as a set of spheres, according to complex 3D model. The lighting and BRDF (bidirectional reflectance distribution function) are projected onto the Harr wavelet basis. At runtime, with the advantage of different basis functions, the product of visibility vectors is computed for blocker spheres in the pixel basis, while the triple product integral of lighting, BRDF and visibility is computed in the Harr basis. CUDA (computed unified device architecture) is used to implement this method, which sufficiently utilizes the new features of GPU (graphics processing unit). Experiments show that the method greatly improves vision quality and satisfies real-time requirements.
Key words:  pre-computed radiance transfer  Harr wavelet  triple product integral  CUDA (computed unified device architecture)