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

基于环境遮挡掩码的物理正确柔和阴影绘制算法
引用本文:陈纯毅,杨华民,李文辉,蒋振刚.基于环境遮挡掩码的物理正确柔和阴影绘制算法[J].吉林大学学报(工学版),2012,42(4):971-978.
作者姓名:陈纯毅  杨华民  李文辉  蒋振刚
作者单位:1. 吉林大学计算机科学与技术学院,长春130012 长春理工大学计算机科学技术学院,长春130022
2. 长春理工大学计算机科学技术学院,长春,130022
3. 吉林大学计算机科学与技术学院,长春,130012
基金项目:国家科技支撑计划项目,中国博士后科学基金项目
摘    要:针对物理正确的柔和阴影绘制问题,提出一种使用环境遮挡掩码来实现面光源可见性计算的方法。在绘制前,预先创建一个环境遮挡掩码立方图。在绘制过程中,利用环境遮挡掩码立方图来计算所有与可见性测试四棱锥相交的三角形面片的环境遮挡掩码,并对它们作"与"运算,再通过遮挡距离测试操作即可求出哪些光源采样光线不受遮挡。与蒙特卡洛积分光照计算方法相比,本文方法不但能绘制出物理正确的柔和阴影,而且避免了大量的阴影光线求交测试操作,提高了绘制方程的求解效率。

关 键 词:计算机应用  柔和阴影  环境遮挡  光源可见性  绘制方程

Algorithm for rendering physically correct soft shadows based on ambient occlusion masks
CHEN Chun-yi,YANG Hua-min,LI Wen-hui,JIANG Zhen-gang.Algorithm for rendering physically correct soft shadows based on ambient occlusion masks[J].Journal of Jilin University:Eng and Technol Ed,2012,42(4):971-978.
Authors:CHEN Chun-yi  YANG Hua-min  LI Wen-hui  JIANG Zhen-gang
Affiliation:1.College of Computer Science and Technology,Jilin University,Changchun 130012,China;2.School of Computer Science and Technology,Changchun University of Science and Technology,Changchun 130022,China)
Abstract:Focusing on the problem of rendering physically correct soft shadows,a method is proposed which uses occlusion masks to evaluate the visibility of an area light source.Prior to the rendering process,a cube map of ambient occlusion masks is computed.In the rendering process,the cube map is employed to compute the ambient occlusion masks of triangles intersecting with a rectangular pyramid,which is used as the bounding volume for light-source sample rays in the visibility testing.Then the "and" bitwise operations are carried out on these ambient occlusion masks.Finally,based on the results of the bitwise operations,the blocking-distance testing is further utilized to determine which light-source sample rays are not blocked.Compared with the lighting computation method via Monte Carlo integration,the proposed method can not only render physically correct soft shadows,but also avoid a large number of intersection-testing operations for shadow rays.This advantage can enhance the efficiency in solving the rendering equation.
Keywords:computer application  soft shadows ambient occlusion light-source visibility renderingequation
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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