Special Section on CAD & Graphics 2019Two-layer microfacet model with diffraction
Graphical abstract
Introduction
Diffraction is a well-known property of light waves, but is seldom mentioned in physical rendering. Parametric microfacet models, such as Cook–Torrance and Oren–Nayar, create plausible approximations using the corresponding coefficients but do not consider the effects of consideration. A two-scale diffraction model [1] based on Cook–Torrance (CTD) model was proposed that combines reflection with diffraction to fit empirical surfaces, but ignores the lower-layer diffraction effects of dielectrics. To better fit most plastic materials in the MERL database [2], we propose an Oren–Nayar model with diffraction (OND) using a two-layer structure to fit plastic materials. Moreover, we integrate the CTD and OND into plastic-like [3] layered surface fitting (shown in Fig. 1). The remainder of this paper is organized as follows: In Section 2, we review past work on material modeling. Section 3 presents the theories of BSDF, the Cook–Torrance model, and the Cook–Torrance diffraction model. In Section 4, our two-layer reflectance model is detailed. The Gauss–Newton method and convolution computation method are also discussed. Section 5 presents the validation of the proposed OND model, including the classification of plastic materials, comparisons with the CTD model, and the adjustment of coefficients. The Conclusions of this study and directions for the future work are provided in Section 6
The main contributions of this paper are as follows: 1. We add two coefficients to the CTD model, σ and σsd. They can adjust the brightness and diffuse diffraction effects respectively. We thus better approximate plastic-like materials than the CTD model. 2. The proposed OND model is established based on three techniques: precomputation and convolution computation to lower rendering cost, and the Gauss–Newton method used to find the regression function and the values of the coefficient to improve the accuracy of the proposed OND model.
Section snippets
Microfacet models
Torrance and Sparrow proposed the Torrance–Sparrow model using the assumption that the surface is composed of numerous V-shaped grooves [4], based on which Cook and Torrance proposed the Cook–Torrance model [5]. Various functions, including the Gaussian, Beckmann, Blinn, shift-Gamma distribution [6], and exponential power distribution (EPD) have been subsequently introduced to microfacet models to describe the distribution probabilities of numerous microfacets. The Smith model is widely used as
BSDF
The BRDF describes reflection on a surface while the bidirectional transmission distribution function (BTDF) describes transmission on it. The BSDF [21] encompasses these two components:Materials can be divided into conductors and dielectrics according to their transmission properties. Conductors do not have a transmission effect while dielectrics have both reflection and transmission effects. There are 100 materials in the MERL database, are were divided into three categories by
Oren–Nayar diffraction model
The normal distribution function of the Oren–Nayar model is Gaussian distribution, which is given by the following equation:We precompute coefficient c based on different values of σ and store the result in a 3.91-KB array. As shown in Fig. 2, as σ increases, the peak of the Gaussian function gradually becomes π/2, and h turns toward the horizontal direction. Oren and Nayar synthesized a diffuse reflection microfacet model with only one coefficient, σ,
Classification of plastic materials
After fitting the coefficients, we compared the images of the proposed OND model with those of the CTD model. The RMSE and SMAPE were the main criteria of assessment for this comparison, and RMSE is defined in the following equation:where predicted represents the learning models and measured represents the ground truth. RMSE is the principal criterion of evaluation of the predicted models. The images shown in Fig. 9 were rendered with the Cook–Torrance and
Conclusion and future work
In this paper, we proposed a two-layer model combining the specular with the diffuse microfacet models. We use the Gauss–Newton method to find the best roughness values of the plastic materials and implemented the diffuse diffraction effects by computing the convolutions. Based on the CTD model, we introduced two coefficients σ and σsd to represent the values of m-level and nm-level roughness, respectively, at the bottom layer. The proposed OND model achieved a better approximation to the
Declaration of Competing Interest
None.
Acknowledgments
We thank the reviewers for their valuable comments. This work was partially supported by the National Key RD Program of China (under grant No. 2017YFB0203000), the Key R & D project of Shandong Province (No. 2017CXGC0606), the National Natural Science Foundation of China (under grant Nos. 61872223, 61,802,187 and 61702311), the Young Scholars Program of Shandong University (under grant No. 2015WLJH41), and the Special Funds of the Taishan Scholar Construction Project.
References (38)
- et al.
A two-scale microfacet reflectance model combining reflection and diffraction
ACM Trans Graph
(2017) - et al.
A data-driven reflectance model
ACM Trans Graph
(2003) - Jakob W.. Mitsuba documentation version...
- et al.
Theory for off-specular reflection from roughened surfaces
JOptSocAm
(1967) - et al.
A reflectance model for computer graphics
ACM Trans Graph
(1982) - et al.
Accurate fitting of measured reflectances using a shifted gamma micro-facet distribution
Comput Gr Forum
(2012) Geometrical shadowing of a random rough surface
IEEE Trans Antennas Propag
(1967)- et al.
Multiple-scattering microfacet bsdfs with the smith model
ACM TransGraph (ProcSIGGRAPH 2016)
(2016) - et al.
Multiple scattering from distributions of specular v-grooves
ACM Trans Gr (TOG)
(2018) - et al.
Practical multiple scattering for rough surfaces
ACM Trans Gr (TOG)
(2018)
Generalization of lambert’s reflectance model
SIGGRAPH
Improved diffuse reflection models for computer vision
Int J Comput Vis
Light-scattering characteristics of optical surface
A comprehensive physical model for light reflection
Comput Graph (ACM)
Diffraction shaders
SIGGRAPH ’99 ACM
Reflectance model for diffraction
ACM Trans Graph (TOG)
Brdf models for accurate and efficient rendering of glossy surfaces
ACM TransGraph
A practical extension to microfacet theory for the modeling of varying iridescence
ACM Trans Graph
Predicting appearance from measured microgeometry of metal surfaces
ACM Trans Gr (TOG)
Cited by (4)
Infrared BRDF measurement based on projection reconstruction with attenuated aperture filter effects
2023, Measurement: Journal of the International Measurement ConfederationEditorial Note
2020, Computers and Graphics (Pergamon)Foreword to the special section on the international conference on computer-aided design and computer graphics (CAD/Graphics) 2019
2020, Computers and Graphics (Pergamon)Physically Based Rendering of Functionally Defined Objects
2022, Optoelectronics, Instrumentation and Data Processing