Elsevier

Computers & Graphics

Volume 86, February 2020, Pages 71-80
Computers & Graphics

Special Section on CAD & Graphics 2019
Two-layer microfacet model with diffraction

https://doi.org/10.1016/j.cag.2019.08.017Get rights and content

Highlights

  • Based on the CTD model, we add two coefficients—σ and σsd—where σ can be used to adjust brightness and σsd to adjust the effect of diffuse diffraction. By adjusting the two coefficients we make a better approximation to the measured data.

  • Three techniques are applied in our experiments—precomputation, convolution computation, and the Gauss–Newton method—to reduce the rendering cost and find the best coefficients.

Abstract

The bidirectional scattering distribution function (BSDF) describes how light is scattered on a surface. Microfacet-based BSDF models assume that surfaces are a collection of randomly oriented microfacets, describe the distribution probabilities of these microfacets, and plausibly approximate their reflective properties using parameterized expressions. Traditional analytic microfacet models, such as Cook–Torrance (CT) and the Oren–Nayar (ON), ignore the effects of diffraction. The Cook–Torrance diffraction model (CTD) combines the traditional Cook–Torrance model with diffraction effects to better approximate the measured reflectance. However, the effects of diffuse diffraction are ignored in this two-layer microfacet reflectance model. In this paper, We propose a two-layer microfacet reflectance model that combines the effects of specular diffraction with those of diffuse diffraction. The upper layer of our model is the Cook–Torrance microfacet model with diffraction, while the lower layer is the Oren–Nayar microfacet model that considers the effects of diffuse diffraction. Our model yields a better approximation than the CTD model, especially for plastic-like multi-layer materials. In contrast to previous models where the effects of diffraction cannot be controlled, those of our model can be easily manipulated by the coefficient of diffraction roughness. The proposed OND model is based on three techniques: precomputation, convolution computation, and the Gauss–Newton method.

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:BSDF=BRDF+BTDF.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:D(θ)=ceθ22σ2cosθ,c=12π0π2eθ22σ2sinθdθ.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:RMSE=1nin(predictedimeasuredi)2,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 R&D 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)

  • N. Holzschuch et al.

    A two-scale microfacet reflectance model combining reflection and diffraction

    ACM Trans Graph

    (2017)
  • W. Matusik et al.

    A data-driven reflectance model

    ACM Trans Graph

    (2003)
  • Jakob W.. Mitsuba documentation version...
  • K. Torrance et al.

    Theory for off-specular reflection from roughened surfaces

    JOptSocAm

    (1967)
  • R. Cook et al.

    A reflectance model for computer graphics

    ACM Trans Graph

    (1982)
  • M. Bagher et al.

    Accurate fitting of measured reflectances using a shifted gamma micro-facet distribution

    Comput Gr Forum

    (2012)
  • B. Smith

    Geometrical shadowing of a random rough surface

    IEEE Trans Antennas Propag

    (1967)
  • E. Heitz et al.

    Multiple-scattering microfacet bsdfs with the smith model

    ACM TransGraph (ProcSIGGRAPH 2016)

    (2016)
  • F. Xie et al.

    Multiple scattering from distributions of specular v-grooves

    ACM Trans Gr (TOG)

    (2018)
  • J. Lee et al.

    Practical multiple scattering for rough surfaces

    ACM Trans Gr (TOG)

    (2018)
  • M. Oren et al.

    Generalization of lambert’s reflectance model

    SIGGRAPH

    (1994)
  • L. Wolff et al.

    Improved diffuse reflection models for computer vision

    Int J Comput Vis

    (1998)
  • J. Harvey

    Light-scattering characteristics of optical surface

    (1975)
  • X. He et al.

    A comprehensive physical model for light reflection

    Comput Graph (ACM)

    (1991)
  • J. Stam

    Diffraction shaders

    SIGGRAPH ’99 ACM

    (1999)
  • T. Cuypers et al.

    Reflectance model for diffraction

    ACM Trans Graph (TOG)

    (2012)
  • J. Low et al.

    Brdf models for accurate and efficient rendering of glossy surfaces

    ACM TransGraph

    (2014)
  • L. Belcour et al.

    A practical extension to microfacet theory for the modeling of varying iridescence

    ACM Trans Graph

    (2017)
  • Z. Dong et al.

    Predicting appearance from measured microgeometry of metal surfaces

    ACM Trans Gr (TOG)

    (2015)
  • Cited by (4)

    • Infrared BRDF measurement based on projection reconstruction with attenuated aperture filter effects

      2023, Measurement: Journal of the International Measurement Confederation
    • Editorial Note

      2020, Computers and Graphics (Pergamon)
    • Physically Based Rendering of Functionally Defined Objects

      2022, Optoelectronics, Instrumentation and Data Processing
    View full text