实时半透明材质编辑方法是近几年兴起的研究课题.然而在已有的编辑方法中,有的受限于静态光源;有的只能处理多次散射效果,而不能处理单次散射效果.针对此,提出一种动态光照下的半透明材质编辑方法,将环境光源和材质函数在各自的基函数上分解近似表示,预计算出材质传输矩阵,采用缓存技术对渲染进行加速.文中方法可以同时考虑多次散射和单次散射效果,并可以动态改变光源.实验结果表明,该方法可以达到实时的绘制帧率.
Real-time translucent material editing is a hot research topic in recent years. However, current editing methods can either handle only static illumination or simulate multiple scattering effects while ignoring the effects of single scatterings. A new translucent material editing method is presented which gets rid of these limitations. Our method approximates both the environment light and the material reflectance function with basis functions, precomputes the material transfer matrices, and employs cache to accelerate the rendering process. Experimental results demonstrate that the proposed method achieves real-time framerates.