摘要
采用圆盘对物体表面进行近似,对每个圆盘形成的遮挡使用椭圆遮挡域表示,预计算过程中根据每个椭圆遮挡域参数进行采样并用球面调和系数表示,同时将其转换为对数,对采样数据采用主元分析方法进行压缩;在绘制的过程中,根据圆盘的法线、半径以及和阴影接收点之间的相对位置确定其椭圆遮挡域的值,然后采用球面调和指数算法进行累积.该方法将圆盘近似算法和球面调和指数算法相结合,能够灵活地描述柔性物体以及较薄的物体形成的柔和阴影.
We present a real-time rendering method for soft shadows in dynamic scenes by approximating the model surface using circle splats. The occlusion of each of the splats can be approximated using an elliptical occlusion field which is sampled in the pre-computation process. In each sample point, an occlusion cube-map of single ellipse represented by spherical harmonic coefficients is got and we transferred them to logarithm using spherical harmonic logarithm algorithm. During the rendering, we first got the log SH coefficients of each circle splat according to the its normal, radius and the distance between the splat and the receiving point, which is precomputed. We accumulate the total occlusion coefficients in log space and compute the final SH coefficients using spherical harmonic exponentiation algorithm. The algorithm combines the circle splats approximating method and spherical harmonic exponentiation algorithm. It is so flexible that it can easily render soft shadow generated by both soft objects and dynamic solid objects.
出处
《计算机辅助设计与图形学学报》
EI
CSCD
北大核心
2007年第12期1587-1592,共6页
Journal of Computer-Aided Design & Computer Graphics
基金
国家"九七三"重点基础研究发展规划项目(2002CB312102)
国家自然科学基金(60223005
60473105)
Research Grant of University of Macao.