›› 2012, Vol. 42 ›› Issue (04): 971-978.
陈纯毅1,2, 杨华民2, 李文辉1, 蒋振刚2
CHEN Chun-yi1,2, YANG Hua-min2, LI Wen-hui1, JIANG Zhen-gang2
摘要: 针对物理正确的柔和阴影绘制问题,提出一种使用环境遮挡掩码来实现面光源可见性计算的方法。在绘制前,预先创建一个环境遮挡掩码立方图。在绘制过程中,利用环境遮挡掩码立方图来计算所有与可见性测试四棱锥相交的三角形面片的环境遮挡掩码,并对它们作"与"运算,再通过遮挡距离测试操作即可求出哪些光源采样光线不受遮挡。与蒙特卡洛积分光照计算方法相比,本文方法不但能绘制出物理正确的柔和阴影,而且避免了大量的阴影光线求交测试操作,提高了绘制方程的求解效率。
中图分类号:
[1] 过洁,徐晓旸,潘金贵. 基于阴影图的阴影生成算法研究现状[J]. 计算机辅助设计与图形学学报, 2010, 22(4):579-591. Guo Jie, Xu Xiao-yang, Pan Jin-gui. Present status of shadow algorithms based on shadow maps[J]. Journal of Computer-Aided Design & Computer Graphics, 2010, 22(4):579-591. [2] Hasenfratz J M, Lapierre M, Holzschuch N, et al. A survey of real-time soft shadows algorithms[J]. Computer Graphics Forum, 2003, 22(4):753-774. [3] Yang B, Dong Z, Feng J, et al. Variance soft shadow mapping[J]. Computer Graphics Forum, 2010, 29(7):2127-2134. [4] Sintorn E, Eisemann E, Assarsson U. Sample based visibility for soft shadows using alias-free shadow maps[J]. Computer Graphics Forum, 2008, 27(4):1285-1292. [5] Nguyen K T, Jang H, Han J. Layered occlusion map for soft shadow generation[J]. Visual Computer, 2010, 26(12):1497-1512. [6] Yang B, Feng J, Guennebaud G, et al. Packet-based hierarchal soft shadow mapping[J]. Computer Graphics Forum, 2009, 28(4):1121-1130. [7] Assarsson U, Akenine-Mller T. A geometry-based soft shadow volume algorithm using graphics hardware[J]. ACM Transactions on Graphics, 2003, 22 (3):511-520. [8] Eisemann E, Assarsson U, Schwarz M, et al. Casting shadows in real time.. http://www.mpi-inf.mpg.de/resources/ShadowCourse/coursenotes.pdf. [9] Cook R, Porter T, Carpenter L. Distributed ray tracing[J]. Computer Graphics, 1984, 18(3):137-144. [10] Benthin C, Wald I. Efficient ray soft shadows using multi-frusta tracing//Proceedings of the Conference on High Performance Graphics, New York:ACM, 2009. [11] Lehtinen J, Laine S, Aila T. An improved physically-based soft shadow volume algorithm[J]. Computer Graphics Forum, 2006, 25(3):303-312. [12] Laine S, Aila T, Assarsson U. Soft shadow volumes for ray tracing[J]. ACM Transactions on Graphics, 2005, 24(3):1156-1165. [13] Laine S, Karras Tero. Two methods for fast ray-cast ambient occlusion[J]. Computer Graphics Forum, 2010, 29(4):1325-1333. [14] McGuire M. Ambient occlusion volumes//Proceedings of the Conference on High Performance Graphics, Aire-la-Ville:Eurographics Association, 2010. [15] Schneider Philip J, Eberly David H. Geometric Tools for Computer Graphics[M]. San Fransisco:Morgan Kaufmann Publishers, 2002:624-626. [16] Kautz Jan, Lehtinen Jaakko, Aila Timo. Hemispherical rasterization for self-shadowing of dynamic objects//Proceedings of the 15th Eurographics Workshop on Rendering Techniques, Aire-la-Ville:Eurographics Association, 2004. |
[1] | 刘富,宗宇轩,康冰,张益萌,林彩霞,赵宏伟. 基于优化纹理特征的手背静脉识别系统[J]. 吉林大学学报(工学版), 2018, 48(6): 1844-1850. |
[2] | 王利民,刘洋,孙铭会,李美慧. 基于Markov blanket的无约束型K阶贝叶斯集成分类模型[J]. 吉林大学学报(工学版), 2018, 48(6): 1851-1858. |
[3] | 金顺福,王宝帅,郝闪闪,贾晓光,霍占强. 基于备用虚拟机同步休眠的云数据中心节能策略及性能[J]. 吉林大学学报(工学版), 2018, 48(6): 1859-1866. |
[4] | 赵东,孙明玉,朱金龙,于繁华,刘光洁,陈慧灵. 结合粒子群和单纯形的改进飞蛾优化算法[J]. 吉林大学学报(工学版), 2018, 48(6): 1867-1872. |
[5] | 刘恩泽,吴文福. 基于机器视觉的农作物表面多特征决策融合病变判断算法[J]. 吉林大学学报(工学版), 2018, 48(6): 1873-1878. |
[6] | 欧阳丹彤, 范琪. 子句级别语境感知的开放信息抽取方法[J]. 吉林大学学报(工学版), 2018, 48(5): 1563-1570. |
[7] | 刘富, 兰旭腾, 侯涛, 康冰, 刘云, 林彩霞. 基于优化k-mer频率的宏基因组聚类方法[J]. 吉林大学学报(工学版), 2018, 48(5): 1593-1599. |
[8] | 桂春, 黄旺星. 基于改进的标签传播算法的网络聚类方法[J]. 吉林大学学报(工学版), 2018, 48(5): 1600-1605. |
[9] | 刘元宁, 刘帅, 朱晓冬, 陈一浩, 郑少阁, 沈椿壮. 基于高斯拉普拉斯算子与自适应优化伽柏滤波的虹膜识别[J]. 吉林大学学报(工学版), 2018, 48(5): 1606-1613. |
[10] | 车翔玖, 王利, 郭晓新. 基于多尺度特征融合的边界检测算法[J]. 吉林大学学报(工学版), 2018, 48(5): 1621-1628. |
[11] | 赵宏伟, 刘宇琦, 董立岩, 王玉, 刘陪. 智能交通混合动态路径优化算法[J]. 吉林大学学报(工学版), 2018, 48(4): 1214-1223. |
[12] | 黄辉, 冯西安, 魏燕, 许驰, 陈慧灵. 基于增强核极限学习机的专业选择智能系统[J]. 吉林大学学报(工学版), 2018, 48(4): 1224-1230. |
[13] | 傅文博, 张杰, 陈永乐. 物联网环境下抵抗路由欺骗攻击的网络拓扑发现算法[J]. 吉林大学学报(工学版), 2018, 48(4): 1231-1236. |
[14] | 曹洁, 苏哲, 李晓旭. 基于Corr-LDA模型的图像标注方法[J]. 吉林大学学报(工学版), 2018, 48(4): 1237-1243. |
[15] | 侯永宏, 王利伟, 邢家明. 基于HTTP的动态自适应流媒体传输算法[J]. 吉林大学学报(工学版), 2018, 48(4): 1244-1253. |
|