Parametric BSDFs (Bidirectional Scattering Distribution Functions) are pervasively used because of their flexibility to represent a large variety of material appearances by simply tuning the parameters. While efficient evaluation of parametric BSDFs has been well-studied, high-quality importance sampling techniques for parametric BSDFs are still scarce. Existing sampling strategies either heavily rely on approximations and result in high variance, or solely perform sampling on a portion of the whole BSDF slice. Moreover, many of the sampling approaches are specifically paired with certain types of BSDFs. In this paper, we seek an efficient and general way for importance sampling parametric BSDFs. We notice that the nature of importance sampling is the mapping between a uniform distribution and the target distribution. Specifically, when BSDF parameters are given, the mapping that performs importance sampling on a BSDF slice can be simply recorded as a 2D image that we name as importance map. Following this observation, we accurately precompute the importance maps using a mathematical tool named optimal transport. Then we propose a lightweight neural network to efficiently compress the precomputed importance maps. In this way, we have completely brought parametric BSDF importance sampling to the precomputation stage, avoiding heavy runtime computation. Since this process is similar to light baking where a set of images are precomputed, we name our method importance baking. Together with a BSDF evaluation network and a PDF (probability density function) query network, our method enables full MIS without any revision to the rendering pipeline. Our method essentially performs perfect importance sampling. Compared with previous methods, we demonstrate reduced noise levels on rendering results with a rich set of appearances, including both conductors and dielectrics with anisotropic roughness.
翻译:BSDF (双向散射分布函数) 被广泛使用, 这是因为它们具有灵活性, 能够通过对参数进行简单的调整来代表大量物质外观。 虽然对参数 BSDF 的有效评估已经得到了很好地研究, 但用于参数 BSDF 的高质量取样技术仍然稀缺。 现有的取样战略要么严重依赖近似值, 导致差异很大, 要么仅仅对整个 BSDF 切片的一部分进行取样。 此外, 许多采样方法都与某些类型的 BSDF 具体配对。 在本文中, 我们寻求一种高效和一般的方式, 用于对精选精密的精选管道进行取样。 我们注意到, 对 BSDF 进行量性评估的性质是统一分布和目标分布之间的映射。 具体地说, 当 BSDF 参数被给出了, 对BS 之前切片进行重要取样的绘图可以简单地记录为2DF 图像 。 观察之后, 我们精确地用一个名为最佳运输的数学工具对重要性进行比重的地图进行校准。 然后, 我们提出一个轻量的网络网络网络网络,, 基本地将一个比重的测算方法 。