Expand this Topic clickable element to expand a topic
Skip to content
Optica Publishing Group

An algorithm of computing 3D geometric attenuation factor

Open Access Open Access

Abstract

Precisely evaluating the geometrical attenuation factor is critical for constructing a more complete bidirectional reflectance distribution function (BRDF) model. Conventional theories for determining the geometrical attenuation factor neglect the correlation between height and slope and the self-shadowing or self-masking effects on microsurfaces, leading to results that are discrepant from reality, apparently. This paper presents a three-dimensional (3D) geometrical attenuation factor formulation on 3D Gaussian random rough surfaces. The proposed numerical analysis of 3D geometrical attenuation factor is much more precise for a practical application, especially near grazing angles. Our proposed numerical analysis of 3D geometrical attenuation factor can precisely evaluate the BRDF model.

© 2019 Optical Society of America under the terms of the OSA Open Access Publishing Agreement

1. Introduction

An important unsolved problem in the research field of computer vision is the evaluation of bidirectional reflectance distribution function (BRDF) on rough surfaces. In particular, the effect of geometrical attenuation factor is quite critical, and the problem becomes significantly challenging.

Microfacet method is often used by researchers to study geometrical attenuation factor. Microfacet models assume that the surface consists of a large quantity of small flat facets, which behave as micro mirrors, reflecting light only in the specular direction. The reflection of incident light by a rough surface can be studied by using either a physical or geometrical method. It has been assumed that, the reflecting surface is a perfect electrical conductor, meaning that the incident lights arrive from a near-normal direction, and the multiple reflections and shadowing by surface asperities almost do not occur.

The geometrical attenuation factor illuminates the shadowing and masking effect, while the shadowing or masking occurs as a part of the incident ray or the outgoing ray is blocked by the neighboring topography. So the geometrical attenuation factor, gauged by the proportion of light that is not attenuated, demonstrates the effect of shadowing, masking, and shadowing-masking on rough surfaces.

In the study of analytical solution to geometrical attenuation factor, theory of the analytical 2D shadowing function has been researched by Beckmann [1], Smith [2], and Wagner [3]. The solving process was simplified with some assumptions. Smith proposed the physical optical shadowing function by neglecting the correlation between the height and slope on Gaussian surfaces, and the visibility of non-backfacing point on the microsurface depending on its height but not on its normal. Torrance and Sparrow [4] presented the microfacet distribution function and the geometric attenuation function, which are based on the V-groove cavity assumption. Blinn [5] simplified the function based on Torrance and Sparrow’s theory, and the final expression is widely adopted in computer graphics or rendering.

Bourlier studied the 2D shadowing properties on monostatic and bistatic on random rough surfaces [6–8]. He extended the approaches developed by Smith and Wagner from 2D to 3D on any height and slope uncorrelated or correlated surfaces. Whatever the assumed surface would be, the slope and height probability density function (PDF) must be defined by integrating over the PDF of surface slope. The shadowing function was performed for Gaussian, Laplacian, and exponential slope PDFs in his research. Moreover, for 2D case, Bourlier explained in detail these different shadowing functions (Smith’s, Wagner’s, and Sto and Ricciardi’s) and noted that Smith’s result was the best. In recent years, Eric Heitz developed the microfacet light reflectance theory, defining one multiple-scattering model with the Smith masking-shadowing function [9].

Tables Icon

Notation. used throughout this paper

Eric Heitz [10–13] and Bruce Walter [14] presented the shadowing functionG1(ωi,ωm), the masking functionG1(ωo,ωm), and the simultaneously occurred shadowing-masking functionG1(ωi,ωo,ωm)for interpreting the diverse situations on rough surfaces. We notice that, the Smith masking function is integrated over the slope on the microsurface and its form is derived with a ray tracing formulation of the masking probability. However, the Smith’s model didn’t emphasize the exactness on its result. Actually, Smith’s solution can be viewed as an approximation. In practice, we consider light scattering on rough surfaces as a spatial problem, the normal on the microfacet is directional, and so the directional scattering pattern matters. The geometrical attenuation factor should be considered in 3D space. In this work, we validate the 3D geometrical attenuation factor by numerical solution on real Gaussian random surfaces. To the best of our knowledge, we are the first in either graphics or physics to derive and investigate the numerical analysis of geometrical attenuation factor on 3D surfaces. In this paper, wave effects (e.g., light strikes the surface twice or more and the mutual reflection) and the volumetric scattering are neglected.

Our work makes the following contributions:

  • i). A 3D geometrical attenuation factor on real surfaces is defined.
  • ii). A numerical solution for calculating the 3D geometrical attenuation factor with four functions is derived.
  • iii). The shadowing and masking effects on radiation and irradiation are discussed, respectively.
  • iv). An illumination factor to indicate the demarcation as the shadowing or masking occurs is defined.

2. Geometrical attenuation factor

2.1 Smith’s 2D geometrical attenuation factor

Smith shadowing function, being equal to the ratio of illuminated surface to the entire rough surface, is given in [2, (10)]. The model is used to describe the rough surface as a mean smooth surface, upon which the positive and negative undulations of height generated by a stationary random process are superimposed. The density of surface height deviation from the mean plane in the vertical direction is described by a continuous probability function of zero mean. He chose Gaussian for ease of computation.

The shadowing problem is described below:

Since shadows are cast on the surface, it is given by the ratio of illuminated to total area subtending the surface, which for a stationary surface equals the probability that an arbitrary point on the surface is illuminated. Then, a great simplicity is gained by neglecting the correlation between height and slope, after the conditional probability function on the surface is integrated. Smith got the expression of shadowing function as follows,

G(θi)=1-12erfc(μ/2σ)Λ(μ)+1
where θiis the angle of incidence,μ=cotθi and erfc represents the error function complement. The shadowing is independent of the surface height autocorrelation function. Smith’s 2D geometrical attenuation factor depends on the surface slope PDF of root mean square (rms)σ.

2.2 3D geometrical attenuation factor

For a 3D continuous surfacez(x,y), we discretize it asz(x,y),x=(0,1,2,X-1), y=(0,1,2,,Y-1). We take X and Y discrete points along x and y axes, respectively. Sampling intervals are set as τx and τyrespectively, with τx being equal toτy. So z(x,y)can be expressed in term of matrix as follows:

[z(x,y)]=[z(0,0)z(0,1)z(0,Y-1)z(1,0)z(1,1)z(1,Y-1)z(X-1,0)z(X-1,1)z(X-1,Y-1)]
where each elementz(x,y)in the matrix represents the corresponding microfacet on the 3D surface. We evaluate the geometrical attenuation factor on each microfacet to find out whether the microfacet is lighted or not.

Whether the microfacet z(x,y)is illuminated or not depends on its normal orientationωm, which is not backfacing, shadowing function is used to illustrate the incident effect. Although we must consider that the incidence ray towards the local microfacet is not blocked by other microfacets, local shadowing function G1local(ωi,ωm) is raised. Notice that it is binary.

However, we do care the masking function because it is related with the outgoing ray. For the microfacets, the masking function is used to illustrate outgoing ray: whether the local microfacet is visible or not. So it shows that it is a binary discard of backfacing microfacets. Considering the blockage of neighboring microfacets, the local masking function is put forward asG1local(ωm,ωo).

For the specular microfacet-based shadowing and masking function given above, the local shadowing-masking function is defined by:

G1local(ωi,ωm,ωo)=G1local(ωi,ωm)G1local(ωm,ωo)
On the basis of the above analysis, the local shadowing-masking function G1local(ωi,ωm,ωo)is binary, which is further explained as follows:

if G1local(ωi,ωm,ωo)=0, the microfacetz(x,y)is not lighted. That is to say, the incident ray cannot reach the microfacet, or the reflected ray cannot go out, and the blockage of light occurs on the microsurface.

ifG1local(ωi,ωm,ωo)=1, the normal of microfacet is not backfacing(ωm·ωo)>0, incident ray can reach the microfacet and the reflected ray can go out, so the microfacetz(x,y)is illuminated and can be observed finally.

The self-shadowing or self-masking effects by adjacent microfacets on the microsurface are also taking into account. The self-shadowing functionG1dist(ωi), self-masking function G1dist(ωo)and self-shadowing-masking function are presented in section 3.2.

In our work, we use four functions in evaluating the geometrical attenuation factorG2(ωi,ωo): local shadowing functionG1local(ωi,ωm), local masking functionG1local(ωm,ωo), self-shadowing functionG1dist(ωi), and self-masking functionG1dist(ωo). The binary value represents whether the microfacetz(x,y)is illuminated or not. SoG2(ωi,ωo)can be expressed in a matrix as follows:

[(G2(ωi,ωo))(x,y)]=[G2(0,0)G2(0,1)G2(0,Y-1)G2(1,0)G2(1,1)G2(1,Y-1)G2(X-1,0)G2(X-1,1)G2(X-1,Y-1)]
where the number of zeros isNs, that is to say, the local point is not lighted, maybe it is shadowed or masked for the given incident ray. And the geometrical attenuation factor on 3D surface is
G2(ωi,ωo)=1-NsXY
which is physically based sinceG2(ωi,ωo)=1when Ns=0,andωi=ωg, denoting the surface is entirely illuminated, whileG2(ωi,ωo)=0as the incidence angle goes to 90, ωi=(0,1,0), the tile of the incidence light θi= 90, andNs=XY, denoting the entire surface is invisible.

We have presented a method for calculating the 3D geometrical attenuation factor. Our method makes no assumptions about microsurface, and so the numerical solution can be used on arbitrary surface.

3. Algorithms of computing 3D geometric attenuation factor

3.1 Generation of a Gaussian random surface

By assuming that the surface is a perfect electrical conductor, only single scattering is modeled, and wave effects and light striking the surface twice or more are ignored. The formulation is based on geometrical optics and applies when (σ/λ)1, whereλis the wavelength of the radiation, andσ is rms height of the rough surface. The ray theory is valid only when the surface roughness is larger than the wavelength of the radiation.

For convenience of comparison with the Smith’s result, we generate a random rough Gaussian surfacez(x,y), which is essentially a random stationary process [15–20]. The simplified algorithm is in the following:

Tables Icon

Algorithm 1. Generation of a Gaussian random surface z(x,y)

In this paper, the generation of a random rough surface by defining truncation length Lx = Ly = 12.8, correlation length lx = ly = 0.5, discrete intervalτx=τy = 0.05. A set of isotropic random rough surfacesσ = 0.1, 0.2, 0.3,∙∙∙,1.0 is generated. As depicted in Fig. 1, the rsm height of a random rough surface can significantly affect its shape on the surface.

 figure: Fig. 1

Fig. 1 Gaussian random rough surface. We generated the surface by using Algorithm 1, and by defining truncation length Lx = Ly = 12.8, correlation length lx = ly = 0.5, discrete intervalτx=τy = 0.05 andσ = 0.1.

Download Full Size | PDF

3.2 Algorithms

The coordinate system used to describe directions is shown in Fig. 1 which demonstrates the Gaussian random rough surface. The microfacets are assumed with ideal specular reflection while the microsfacet acts as a collection of tiny flat mirrors. We use four functions to denote the geometrical attenuation factor above mentioned, and the following sections will discuss them in detail.

3.2.1. Local shadowing function

Figure 2(a) shows the shadowing and masking effects. The incident ray casts shadow on the rough surface, and shadowing functionG1local(ωi,ωm) illustrates the shadowing of the point with a local normal ωm: it evaluates to 0 if the point is shadowed and to 1 if it is visible. So the shadowing function has binary values:

G1local(ωi,ωm)=χ+(i·m)χ+(m·n)
The microfacet with a back-facing normal is invisible, and the shadowing function concerns about the direction between incident light and the normal on the local point of the microsurface.

 figure: Fig. 2

Fig. 2 (a) Illustration of the shadowing effect: the incident ray can reach the surface, and (b) Illustration of the masking effect: the outgoing ray is blocked by adjacent microsurfaces.

Download Full Size | PDF

The analysis on local shadowing function is shown in Algorithm 2.

Tables Icon

Algorithm 2. Local shadowing functionG1local(ωi,ωm)

3.2.2. Local masking function

The masking functionG1local(ωm,ωo)illustrates whether the outgoing light is masked by adjacent microfacets or not. The masking effect is shown in Fig. 2(b). If the microfacet is masked it is 0 while if visible it is 1. There is a precondition on masking functions: the microfacet is visible. We concern the direction between local normal and the outgoing reflected light. The explanation is shown in Fig. 3. Because the reflected light is not masked, the following conditions must be satisfied:

 figure: Fig. 3

Fig. 3 Illustration on masking function. The outgoing ray o can be seen depending on two conditions: i). the incident ray can illuminate the microfacet, ii). the outgoing ray o is not blocked by adjacent microfacets.

Download Full Size | PDF

  • i). The reflected light lies on the upper half plane,
  • ii). The angle between the local normal and the reflected light is less than 90.
    • The masking function is defined as:
      G1local(ωm,ωo)=χ+(n·o)χ+(m·n)χ+(m·o)
Tables Icon

Algorithm 3. Local masking functionG1local(ωm,ωo)

3.2.3. Parallel incident light plane

The calculation about self-shadowing and self-masking functions involves constructing the parallel incident light source. Now we construct a matrix M0 to simulate the incident parallel light source as coaxial light source. The height of the top surface M0 has the same height, the height value is the maximum of the generated Gaussian surface, and it can be moved along the y axis. The initial state is that the projection of M0 onto the xoy plane is coincident with the bottom surface M1. As shown in Fig. 4, M0 simulates the movement of the light source. M0 and M1 are matrixes with the same size. As shown in Fig. 6, every point on M0 emits light and penetrates the Gaussian surface Z, and arrives at the corresponding point of M1.As shown in Fig. 4.

 figure: Fig. 4

Fig. 4 Top surface M0 and the bottom surface M1. The top surface simulates a coaxial light source, and so the parallel incidence light emitting out from it can be moved along y axis. The M1 is the orthographic projection of surface Z on xoy plane.

Download Full Size | PDF

3.2.3. Self-shadowing function

In Fig. 5(a), L is a ray emitted from the simulated incident source. Light L will intersect surface Z and it may have several intersection points. Figure 5(b) shows three intersection points P1, P2 and P3 of incident L. Actually reflectance occurs at point P1, where it is the first bounce of incidence on Z. P0 is the highest point on the surface Z, parallel incident light casts a shadow between P0P0’ and Z.

 figure: Fig. 5

Fig. 5 Illustration on self-shadowing. (a) L intersects Z. L represents an incident ray coming from the parallel light source M0, assuming it intersects surface Z and reached at the bottom surface M1 at the same index of matrix of M0 and M1. (b) Reflection occurs at points P0 and P1 in the first bounce. Assuming an incident ray intersects the surface Z with several intersections, apparently the reflectance occurs at P1.

Download Full Size | PDF

Our self-shadowing algorithm aims to figure out the intersections between incident light and the surface. We count the number of intersections, if there is one intersection and the incident line on M0 arrives at the corresponding point of M1, and while the intersection point satisfies the reflection condition, no self-shadowing will happen. If there are two or more intersections, self-shadowing occurs. So P0’, P0, P2 and P3 on the surface Z are all in shadow, as shown in Fig. 5(b). Then these points in shadow on the surface Z are invisible and need to be marked.

Tables Icon

Algorithm 4. Self-shadowing functionG1dist(ωi)

3.2.4. Self-masking function

Our self-masking algorithm aims to find out the reflected lights which are blocked by microfacets on the surface Z. Actually, some points do not satisfy the reflection condition, so they are marked by masking function as mentioned earlier. If the reflectance ray intersects the surface Z, it forms self-masking. As shown in Fig. 6, the surface Z blocked the reflected light on P3. So, we mark P3 in self-masking algorithm. P3 is invisible.

 figure: Fig. 6

Fig. 6 Illustration on self-masking. At point P1, the incidence ray L and the reflectance ray R go without shadowing and masking. At point P2,the reflectance ray is blocked by the surface Z at point P3, the self-shadowing occurs.

Download Full Size | PDF

Tables Icon

Algorithm 5. Self-masking function G1dist(ωo)

Now, we combine the four functions together to evaluate the 3D geometrical attenuation factor.

Tables Icon

Algorithm 6. Geometrical attenuation factorG2(ωi,ωo)

The combining algorithm uses four sub-functions to calculate points which do not satisfy illumination condition. These points, either shadowed or marked, are marked with NaN, and we can calculate the 3D geometrical attenuation factorG2(ωi,ωo) at last. These four functions include: local shadowing, local masking, self-shadowing and self-masking functions.

In our algorithm, the subscript i means that we get the geometrical attenuation factor with a given incident direction. The top surface M0 simulates the variation of the tilt of the incidence, while ωi is from (0, 0, 1) to (0, 1, 0). The tilt of incident is from 0to 90. The observation orientation is set as (0, 0, 1).

4. Data and simulation

For given parameters, truncation length Lx = Ly = 12.8, correlation length lx = ly = 0.5, discrete intervalτx=τy=0.05, we generated various Gaussian random surfaces via the different values of rsm height σ from 0.1 to 1.0.. And for a given rms valueσ, different surface Z we obtained, though. So in order to ensure the accuracy of the data, we conducted the repeated experiments.

For the given parameters in one experiment, such as truncation length, correlation length, discrete interval and the rsm height, we generated the surface Z for 20 times, and computed our proposed algorithm to get the geometrical attenuation factors and get the average of the results as the final data.

During the simulation, the Gaussian random surface is generated with ten different σvalues. We mark the points that are invisible on the microsurface. In fact, we use NaNs to mark them out on the surface Z with MATLAB.

5. Results and discussions

5.1 Computing result of 3D geometrical attenuation factor

We follow the algorithm step by step to calculate the four functions, and the evaluation of 3D geometrical attenuation factors with different σvalues has been shown in Fig. 7. As the tilt of incident is zero, the geometrical attenuation factor is 1; while as the tilt of incident is 90, the factor is zero. The curve is concentrated in the center as the surface roughness becomes larger. For a generated Gaussian random surface with a small σvalue, e.g., σ = 0.1, the shadow is very weak. As the incident angle is very large, e.g., the incident is 85.8, the average illumination factor equals 1. This means that the whole surface is still illuminated, and no shadow occurs. But the occurred shadowing is coming strong when the incident angle is larger than 85.8, while the geometrical attenuation factor decreases rapidly to 0, as the incident increases to 90. The comparation between our 3D geometrical attenuation factor and the Smith’s for σ = 0.1, 0.3, 0.5 is shown in Fig. 8.

 figure: Fig. 7

Fig. 7 Our proposed algorithm is applied to ten rough surfaces with σ = 0.1 to 1.0. The numerical solutions for geometrical attenuation factor curves are continuous, coinciding with the law of physics. As the incidence angle is 0, the geometrical attenuation factor is 1. The surface is illuminated, the incidence angle is 90, while the surface is invisible, and the factor is 0. From the result, demarcation point, between the lighted and not lighted surfaces, is given.

Download Full Size | PDF

 figure: Fig. 8

Fig. 8 Our 3D geometrical attenuation factor and the Smith’s. σ = 0.1, 0.3, 0.5 respectively.

Download Full Size | PDF

5.2 Illumination factor

As for the surface Z with a largerσ, shadowing is even observed. For an example withσ = 0.5 as shown in Fig. 7, the tilt of incident is larger than 21.4, and the shadow becomes more obvious. Whenσ = 0.9 and the tilt of incident is larger than 15.6, the geometrical attenuation factor decreases rapidly. We name the demarcation point as an illumination factor, which is between the lighted and shadow occurred surfaces as shown in Table 1, compared with Smith model.

Tables Icon

Table 1. Illumination factor

The data in Table 1 illustrates the illumination factor we get by the approach of the Smith method, are larger than our algorithms start with σis larger than 0.2. The illumination factor is important for the demarcation of the incident ray, denoting that the surface is between illuminated and shadow, occurs for a given observation direction. The surface is entirely illuminated when the incident angle is less than the critical point, while shadow occurs when the incident angle is bigger than the critical point. The illumination factor is put forward to illustrate the illumination on the surface of an object.

The Cook-Torrance BRDF of the surface is given as follows:

f(ωi,ωm)=F(ωo)G2(ωi,ωo)D(ωm)4|ωi·ωg||ωo·ωg|
whereF(ωo) is the Fresnel factor which is 1 such as metal in this paper.D(ωm)represents the distribution of visible normals.

Note that, as the surface is without shadow, the BRDF is relevant with the incident and the outgoing directions and the distribution of visible normal, when the incident angle is less than the evaluated illumination factor. However, when the incident angle is larger than the demarcation angle, the geometrical attenuation factor must be taken into account. The illumination factor makes the decision whether to introduce the geometrical attenuation factor into the BRDF or not. So the Smith model overestimates the geometrical attenuation factor with σvalue is larger than 0.2.

Our method considers the local shadowing and local masking effects, and the self-shadowing and self-masking effects. The generated Gaussian random surface is calculated directly with our four corresponding algorithms, and the result shows that the curves are continuous and more physically reasonable. From the procedure of our solution, we consider not only the correlation between height and slope, but also the self-shadowing and self-masking effects. It is a better prediction of BRDF and it will make the BRDF model closer to reality and more accurate.

5.3 Discussion about grazing angles

The value of the geometrical attenuation factor is between 0 and 1. When the tile of the incident is 0 the factor is 1 and the tile of the incident is 90 the factor is 0. When conducting the geometrical attenuation factor into the BRDF model, the geometrical attenuation factor begins to pull down the BRDF model when the tilt of the incident increases. That is to say, shadowing or masking occurs.

The research work of Becca E. Ewing showed a wide variety of materials were used to test three methods for fitting the BRDF with emphasis on improving the accuracy near grazing angles [21]. Models are the traditional Cook-Torrance, a modified Cook-Torrance and the new model which neglected the geometrical attenuation factor term. And the adopted the geometrical attenuation factor is the Blinn model based on the V-grooved assumption. The result has shown that the general trend over all materials is that Model 3, by neglecting the geometric attenuation factor and using the Butler’s S approximation, produces a better fit of the BRDF data at near grazing angles [22].

Some researchers ignore data with incident or outgoing angle larger than 80 as measurements close to extreme grazing angles are in general unreliable [23]. The|ωi·ωg||ωo·ωg|term on the denominator in Eq. (8) we called the cosine factor, leads the BRDF value goes to infinity when incident or outgoing angle converges to grazing angles. Neumann made some appropriate modification of the Cook-Torrance model for improving the behavior at grazing angles [24], we call it as the Neumann-Cook-Torrance model in this paper.

Now we adopt the traditional Cook-Torrance and the Neumann-Cook-Torrance model, the geometrical attenuation term is Smith and ours respectively. As shown in Fig. 9.

 figure: Fig. 9

Fig. 9 The comparison between the Cook-Torrance BRDF model (black) and the Neumann- Cook-Torrance BRDF model (blue). The geometrical attenuation factor is Smith (dotted markers) and ours (solid curves).

Download Full Size | PDF

Figure 9 had shown the comparison between the traditional Cook-Torrance BRDF model and the Neumann-Cook-Torrance BRDF model. The Neumann-Cook-Torrance BRDF model eliminated the undesired behavior of the traditional Cook-Torrance BRDF model near the grazing angle on some extent. The Smith geometrical attenuation factor used in the two models made the BRDF value would be unacceptable high at grazing angles and the energy balance could not be preserved. Our geometrical attenuation factor is computed from a brute force computation algorithm, so the BRDF model using our geometrical attenuation factor is energy preserved.

Figure 10 has shown the comparison between Smith geometrical attenuation factor and ours. The value of the geometrical attenuation factor decreases when the surface becomes rougher. When incident angle is close to the grazing angle, the value of our geometrical attenuation factor (solid line) is close to 0. Our result is much smaller than Smith’s on some extent. And the result is more accurate by comparing with Smith’s geometrical attenuation factor.

 figure: Fig. 10

Fig. 10 Smith geometrical attenuation factor (dotted markers) and Ours(solid line) are shown forθi = 30(black), θi = 45 (bottle green), θi = 60 (blue), θi = 75 (rose red) andθi = 85 (grass green) . σis from 0.1 to1.0 respectively.

Download Full Size | PDF

6. Conclusion

This paper presents a 3D geometrical attenuation factor formulation for calculating the effects of shadowing, masking, self-shadowing and self-masking. The analytical Smith’s method neglected the correlation between height and slope, and the self-shadowing or self-masking effects on microsurfaces. So, their result leads to an overestimation of the geometrical attenuation factor. Our proposed numerical analysis of 3D geometrical attenuation factor can precisely evaluate the BRDF model.

Funding

Education Department of Shaanxi Province (2013JK1023); Key Lab of Computer Networks and Information Integration, Southeastern University, Ministry of Education, China (K93-9-2017-03); Natural Science Foundation of Shaanxi Province (2016JM8034); Key Research and Development Projects of Shaanxi Province (2018ZDXM-GY-091); Key Laboratory of High Performance Complex Manufacturing, Central South University (Kfkt2016-12).

Acknowledgements

The authors would like to sincerely thank all reviewers for their helpful comments and suggestions.

References

1. P. Beckmann, “Shadowing of random rough surfaces,” IEEE Trans. Antenn. Propag. 13(3), 384–388 (1965). [CrossRef]  

2. B. G. Smith, “Geometrical shadowing of a random rough surface,” IEEE Trans. Antenn. Propag. 15(5), 668–671 (1967). [CrossRef]  

3. R. J. Wagner, “Shadowing of randomly rough surfaces,” J. Acoust. Soc. Am. 41(1), 138–147 (1967). [CrossRef]  

4. K. E. Torrance and E. M. Sparrow, “Theory for off-specular reflection from roughened surfaces,” J. Opt. Soc. Am. 57(9), 1105–1114 (1967). [CrossRef]  

5. J. F. Blinn, “Models of light reflection for computer synthesized pictures,” in Proceedings of the 4th Annual Conference on Computer Graphics and Interactive Techniques, (1977), pp. 192–198. [CrossRef]  

6. C. Bourlier, G. Berginc, and J. Saillard, “One- and two-dimensional shadowing functions for any height and slope stationary uncorrelated surface in the monostatic and bistatic configurations,” IEEE Trans. Antenn. Propag. 50(3), 312–324 (2002). [CrossRef]  

7. C. Bourlier, G. Berginc, and J. Saillard, “Theoretical study on two-dimensional Gaussian rough sea surface emission and reflection on the infrared frequencies with shadowing effect,” IEEE Trans. Geosci. Remote Sens. 39(2), 379–392 (2001). [CrossRef]  

8. C. Bourlier, “Unpolarized infrared emissivity with shadow from anisotropic rough sea surfaces with non-Gaussian statistics,” Appl. Opt. 44(20), 4335–4349 (2005). [CrossRef]   [PubMed]  

9. E. Heitz, “Understanding the masking-shadowing function in microfacet-based BRDFs,” J. Computer Graphics Techniques 3(2), 32–91 (2014).

10. E. Heitz, J. Hanika, E. d’Eon, and C. D. Achsbacher, “Multiple-scattering microfacet BSDFs with the Smith model,” ACM Trans. Graph. 35(4), 1–14 (2016).

11. V. Schüssler, E. Heitz, J. Hanika, and C. Dachsbacher, “Microfacet-based normal mapping for robust Monte Carlo path tracing,” ACM Trans. Graph. 36(6), 1–12 (2017). [CrossRef]  

12. E. Heitz, J. Dupuy, C. Crassin, and C. Dachsbacher, “The SGGX microflake distribution,” ACM Trans. Graph. 34(4), 48 (2015). [CrossRef]  

13. E. Heitz, J. Dupuy, S. Hill, and D. Neubelt, “Real-time polygonal-light shading with linearly transformed cosines,” ACM Trans. Graph. 35(4), 1–8 (2016). [CrossRef]  

14. B. Walter, S. R. Marschner, H. Li, and K. E. Torrance, “Mircofacet models for refraction through rough surfaces,” in Eurographics Symposium on Rendering Techniques, (2007), pp.195–206.

15. Y. Kuga and P. Phu, “Experimental studies of millimeter-wave scattering in discrete random media and from rough surfaces,” Prog. Electromagnetics Res. 14(3), 37–88 (1996). [CrossRef]  

16. R. L. Wagner, J. Song, and W. C. Chew, “Monte Carlo simulation of electromagnetic scattering from two-dimensional random rough surfaces,” IEEE Trans. Antenn. Propag. 45(2), 235–245 (1997). [CrossRef]  

17. K. Tang and R. O. Buckius, “The geometric optics approximation for reflection from two-dimensional random rough surfaces,” Int. J. Heat Mass Transf. 41(13), 2037–2047 (1998). [CrossRef]  

18. M. Tembely, M. N. O. Sadiku, S. M. Musa, J. O. Attia, and P. Obiomon, “Electromagnetic scattering by random two-dimensional rough surface using the joint probability distribution function and Monte Carlo integration,” J. Multidiscip. Eng. Science Tech. 3(9), 5587–5592 (2016).

19. E. I. Thorsos and D. R. Jackson, “The validity of the perturbation approximation for rough surface scattering using a Gaussian roughness spectrum,” J. Acoust. Soc. Am. 86(1), 261–277 (1989). [CrossRef]  

20. T. Chan, Y. Kuga, A. Ishimaru, and C. T. C. Le, “Experimental studies of bistatic scattering from two-dimensional conducting random rough surfaces,” IEEE Trans. Geosci. Remote Sens. 34(3), 674–680 (1996). [CrossRef]  

21. B. E. Ewing and S. D. Butler, “Grazing angle experimental analysis of modification to microfacet BRDF Model for improved accuracy,” Proc. SPIE 10644, 1–14 (2018).

22. S. D. Butler, S. E. Nauyoks, and M. A. Marciniak, “Comparison of microfacet BRDF model to modified Beckmann-Kirchhoff BRDF model for rough and smooth surfaces,” Opt. Express 23(22), 29100–29112 (2015). [CrossRef]   [PubMed]  

23. A. Ngan, F. Durand, and W. Matusik, “Experimental analysis of brdf models,” in Eurographic Symposium on Rendering (Academic, 2005), pp.117–126.

24. L. Neumann, A. Neumann, and L. Szirmay-Kalos, “Compact metallic reflectance models,” Comput. Graph. Forum 18(3), 161–172 (1999). [CrossRef]  

Cited By

Optica participates in Crossref's Cited-By Linking service. Citing articles from Optica Publishing Group journals and other participating publishers are listed here.

Alert me when this article is cited.


Figures (10)

Fig. 1
Fig. 1 Gaussian random rough surface. We generated the surface by using Algorithm 1, and by defining truncation length Lx = Ly = 12.8, correlation length lx = ly = 0.5, discrete interval τ x = τ y = 0.05 andσ = 0.1.
Fig. 2
Fig. 2 (a) Illustration of the shadowing effect: the incident ray can reach the surface, and (b) Illustration of the masking effect: the outgoing ray is blocked by adjacent microsurfaces.
Fig. 3
Fig. 3 Illustration on masking function. The outgoing ray o can be seen depending on two conditions: i). the incident ray can illuminate the microfacet, ii). the outgoing ray o is not blocked by adjacent microfacets.
Fig. 4
Fig. 4 Top surface M0 and the bottom surface M1. The top surface simulates a coaxial light source, and so the parallel incidence light emitting out from it can be moved along y axis. The M1 is the orthographic projection of surface Z on xoy plane.
Fig. 5
Fig. 5 Illustration on self-shadowing. (a) L intersects Z. L represents an incident ray coming from the parallel light source M0, assuming it intersects surface Z and reached at the bottom surface M1 at the same index of matrix of M0 and M1. (b) Reflection occurs at points P0 and P1 in the first bounce. Assuming an incident ray intersects the surface Z with several intersections, apparently the reflectance occurs at P1.
Fig. 6
Fig. 6 Illustration on self-masking. At point P1, the incidence ray L and the reflectance ray R go without shadowing and masking. At point P2,the reflectance ray is blocked by the surface Z at point P3, the self-shadowing occurs.
Fig. 7
Fig. 7 Our proposed algorithm is applied to ten rough surfaces with σ = 0.1 to 1.0. The numerical solutions for geometrical attenuation factor curves are continuous, coinciding with the law of physics. As the incidence angle is 0, the geometrical attenuation factor is 1. The surface is illuminated, the incidence angle is 90, while the surface is invisible, and the factor is 0. From the result, demarcation point, between the lighted and not lighted surfaces, is given.
Fig. 8
Fig. 8 Our 3D geometrical attenuation factor and the Smith’s. σ = 0.1, 0.3, 0.5 respectively.
Fig. 9
Fig. 9 The comparison between the Cook-Torrance BRDF model (black) and the Neumann- Cook-Torrance BRDF model (blue). The geometrical attenuation factor is Smith (dotted markers) and ours (solid curves).
Fig. 10
Fig. 10 Smith geometrical attenuation factor (dotted markers) and Ours(solid line) are shown for θ i = 30(black), θ i = 45 (bottle green), θ i = 60 (blue), θ i = 75 (rose red) and θ i = 85 (grass green) . σis from 0.1 to1.0 respectively.

Tables (8)

Tables Icon

Notation used throughout this paper

Tables Icon

Algorithm 1. Generation of a Gaussian random surface z(x,y)

Tables Icon

Algorithm 2. Local shadowing function G 1 local ( ω i , ω m )

Tables Icon

Algorithm 3. Local masking function G 1 local ( ω m , ω o )

Tables Icon

Algorithm 4. Self-shadowing function G 1 dist ( ω i )

Tables Icon

Algorithm 5. Self-masking function G 1 dist ( ω o )

Tables Icon

Algorithm 6. Geometrical attenuation factor G 2 ( ω i , ω o )

Tables Icon

Table 1 Illumination factor

Equations (8)

Equations on this page are rendered with MathJax. Learn more.

G( θ i )= 1- 1 2 erfc(μ/ 2 σ) Λ(μ)+1
[z(x,y)]=[ z(0,0) z(0,1) z(0,Y-1) z(1,0) z(1,1) z(1,Y-1) z(X-1,0) z(X-1,1) z(X-1,Y-1) ]
G 1 local ( ω i , ω m , ω o )= G 1 local ( ω i , ω m ) G 1 local ( ω m , ω o )
[( G 2 ( ω i , ω o ))(x,y)]=[ G 2 (0,0) G 2 (0,1) G 2 (0,Y-1) G 2 (1,0) G 2 (1,1) G 2 (1,Y-1) G 2 (X-1,0) G 2 (X-1,1) G 2 (X-1,Y-1) ]
G 2 ( ω i , ω o )=1- N s XY
G 1 local ( ω i , ω m )= χ + (i·m) χ + (m·n)
G 1 local ( ω m , ω o )= χ + (n·o) χ + (m·n) χ + (m·o)
f( ω i , ω m )= F( ω o ) G 2 ( ω i , ω o )D( ω m ) 4| ω i · ω g || ω o · ω g |
Select as filters


Select Topics Cancel
© Copyright 2024 | Optica Publishing Group. All rights reserved, including rights for text and data mining and training of artificial technologies or similar technologies.