首页 | 本学科首页   官方微博 | 高级检索  
     

基于GPU的近似软影实时绘制
引用本文:吕伟伟,孟维亮,薛盖超,吴恩华.基于GPU的近似软影实时绘制[J].计算机辅助设计与图形学学报,2009,21(3).
作者姓名:吕伟伟  孟维亮  薛盖超  吴恩华
作者单位:1. 中国科学院软件研究所计算机科学国家重点实验室,北京,100190;中国科学院研究生院,北京,100049
2. 中国科学院软件研究所计算机科学国家重点实验室,北京,100190;澳门大学科学技术学院电脑与资讯科学系,澳门
基金项目:国家重点基础研究发展规划(973计划),国家自然科学基金,Research Grant of University of Macau 
摘    要:通过对阴影图算法进行扩展,提出一种完全基于GPU的近似软影实时绘制算法,它是一种3遍算法:第一遍从光源中心计算场景的深度图;第二遍采用几何着色器提取物体的轮廓边,同时在轮廓边上生成新的几何图元,利用硬件自动插值功能向外绘制线性近似半影图,并根据第一遍得到的深度图在像素着色器中对背面轮廓形成的半影区进行剔除;对于重叠的半影区设定片元的伪深度值,利用硬件进行自动融合.第三遍分别查询深度图和半影图,确定场景的本影区以及半影区中像素的亮度,从而得到面光源照射下场景的近似软影效果.

关 键 词:软影  轮廓边提取  几何着色器

Real-Time Approximate Soft Shadow Rendering on GPU
Lu Weiwei,Meng Weiliang,Xue Gaichao,Wu Enhua.Real-Time Approximate Soft Shadow Rendering on GPU[J].Journal of Computer-Aided Design & Computer Graphics,2009,21(3).
Authors:Lu Weiwei  Meng Weiliang  Xue Gaichao  Wu Enhua
Affiliation:State Key Laboratory of Computer Science;Institute of Software;Chinese Academy of Sciences;Beijing 100190;Graduate University of Chinese Academy of Sciences;Beijing 100049;Department of Computer and Information Science;Faculty of Science and Technology;University of Macau Macao
Abstract:This paper presents a real-time approximate soft shadow rendering algorithm which runs entirely on GPU by extending the shadow mapping algorithm.This is an algorithm with three passes.In the first pass the depth map is generated from the light view point.It is then followed with the second pass to extract the silhouette edge using geometry shader and to generate penumbra map by extending the silhouette vertex along the normal.The new generated primitive is automatically interpolated by GPU.For the part of t...
Keywords:soft shadow  silhouette extraction  geometry shader  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号