• No results found

(Supplemental Material 1/2) Convergence Comparisons

N/A
N/A
Protected

Academic year: 2022

Share "(Supplemental Material 1/2) Convergence Comparisons"

Copied!
6
0
0

Laster.... (Se fulltekst nå)

Fulltekst

(1)

Importance Sampling of Glittering BSDFs based on Finite Mixture Distributions

(Supplemental Material 1/2) Convergence Comparisons

paper 1008

1 Protocol

1.1 Convergence test

We investigate the convergence of the importance sampling procedure and use a Monte Carlo (MC) estimator with importance sampling to solve the equation

Z

f(ωo, ωi)|ωi·ωg|dωi, (1) which corresponds to a white environment, i.e.,L(ωi) = 1, as in the white furnace test. The exact value of this integral is the average value of the shadowing termG1 (0≤G1≤1).

1.2 Raw data

We realise many estimations of Equation 1, i.e. many realisations r of the MC estimator. We collect each estimation as the number of samplesN increases. Our raw data is thus a set of curves

Fr(N;θo, α, K) = 1 N

N

X

j=1

f(ωo, ωij)|ωij ·ωg|

PDF(ωij) , (2)

where

• N is the number of samples,

• r is the index of a realisation, i.e. one estimation / one random seed,

• θo is the incidence angle corresponding toωo,

• K is the number of microfacets in the footprint,

• PDF(ωi)is the distribution used for sampling the incident directionωi. In the graphs below, green curves are obtained by sampling the multi-lobe component of the BSDF (our method), while red curves are obtained by sampling the mono-lobe approximation of the BSDF (previous method), namely the limit of f(ωo, ωi)asK→ ∞.

1.3 Parameters

• 1≤r≤1,000realisations.

(2)

1.4 Pointwise boxplot

Each graph plots the estimator againstN, for a fixed set of parametersθo, α, K. We use semi-log graphs because of the wide range for N. Plotting Fr for all realisations r would be illegible. Aiming at a statistically more representative plot, we use pointwise boxplots, i.e., we draw curves corresponding to pointwise quartiles:

• F0% andF100% are the minimum and maximum (dotted lines in our graphs),

• F50%is the median (solid lines in our graphs),

• F25%and F75% are the first and third quartile (dashed lines in our graphs).

This means that, for any fixedN,50% of the curvesFrare such thatF25%(N)≤Fr(N)≤F75%(N).

2 Results

100 102 104

0 1 2

θ

o

= 0, α = 0.1

100 102 104

0 1 2

θ

o

= 1, α = 0.1

100 102 104

0 1 2

θ

o

= 1.5, α = 0.1

100 102 104

0 1

2

θ

o

= 0, α = 0.25

100 102 104

0 1

2

θ

o

= 1, α = 0.25

100 102 104

0 1

2

θ

o

= 1.5, α = 0.25

100 102 104

0 1 2

θ

o

= 0, α = 0.6

100 102 104

0 1 2

θ

o

= 1, α = 0.6

100 102 104

0 1 2

θ

o

= 1.5, α = 0.6

(3)

100 102 104 0

1 2

θ

o

= 0, α = 0.1

100 102 104

0 1 2

θ

o

= 1, α = 0.1

100 102 104

0 1 2

θ

o

= 1.5, α = 0.1

100 102 104

0 1

2

θ

o

= 0, α = 0.25

100 102 104

0 1

2

θ

o

= 1, α = 0.25

100 102 104

0 1

2

θ

o

= 1.5, α = 0.25

100 102 104

0 1 2

θ

o

= 0, α = 0.6

100 102 104

0 1 2

θ

o

= 1, α = 0.6

100 102 104

0 1 2

θ

o

= 1.5, α = 0.6

Figure 2: K= 148microfacets within the pixel footprint.

(4)

100 102 104 0

1 2

θ

o

= 0, α = 0.1

100 102 104

0 1 2

θ

o

= 1, α = 0.1

100 102 104

0 1 2

θ

o

= 1.5, α = 0.1

100 102 104

0 1

2

θ

o

= 0, α = 0.25

100 102 104

0 1

2

θ

o

= 1, α = 0.25

100 102 104

0 1

2

θ

o

= 1.5, α = 0.25

100 102 104

0 1 2

θ

o

= 0, α = 0.6

100 102 104

0 1 2

θ

o

= 1, α = 0.6

100 102 104

0 1 2

θ

o

= 1.5, α = 0.6

Figure 3: K= 2,379microfacets within the pixel footprint.

(5)

100 102 104 0

1 2

θ

o

= 0, α = 0.1

100 102 104

0 1 2

θ

o

= 1, α = 0.1

100 102 104

0 1 2

θ

o

= 1.5, α = 0.1

100 102 104

0 1

2

θ

o

= 0, α = 0.25

100 102 104

0 1

2

θ

o

= 1, α = 0.25

100 102 104

0 1

2

θ

o

= 1.5, α = 0.25

100 102 104

0 1 2

θ

o

= 0, α = 0.6

100 102 104

0 1 2

θ

o

= 1, α = 0.6

100 102 104

0 1 2

θ

o

= 1.5, α = 0.6

Figure 4: K= 41,624microfacets within the pixel footprint

(6)

100 102 104 0

1 2

θ

o

= 0, α = 0.1

100 102 104

0 1 2

θ

o

= 1, α = 0.1

100 102 104

0 1 2

θ

o

= 1.5, α = 0.1

100 102 104

0 1

2

θ

o

= 0, α = 0.25

100 102 104

0 1

2

θ

o

= 1, α = 0.25

100 102 104

0 1

2

θ

o

= 1.5, α = 0.25

100 102 104

0 1 2

θ

o

= 0, α = 0.6

100 102 104

0 1 2

θ

o

= 1, α = 0.6

100 102 104

0 1 2

θ

o

= 1.5, α = 0.6

Figure 5: K= 166,496microfacets within the pixel footprint. Here, the glittering NDF has converged and is a Gaussian. The last level of detail is reached, and there are no more glints. In both cases, the sampled PDF is the same, and this PDF has a shape very close to the BSDF.

Referanser

RELATERTE DOKUMENTER

Using an average of 10 percent as an estimate (this is an approximation as clearance rates might also vary slightly with the number of the sequence) and setting the

While we managed to test and evaluate the MARVEL tool, we were not able to solve the analysis problem for the Future Land Power project, and we did not provide an answer to

This study presents one of the very few datasets of biochemical biomarkers measured in hagfish, and the first one performed on individuals captured from a known CWA munition

However, a shift in research and policy focus on the European Arctic from state security to human and regional security, as well as an increased attention towards non-military

Still, one can reasonably assume that for Iran the key goals were to gain formal recognition for its status as an advanced nuclear hedger, to legitimately retain (and

There had been an innovative report prepared by Lord Dawson in 1920 for the Minister of Health’s Consultative Council on Medical and Allied Services, in which he used his

For the computation of the curvature map, we use Rusinkiewicz’s per face estimation method [Rus04]. 1) for each vertex as well as the two cor- responding principal directions. As

The runtime complexity of the GCM algorithm is O(n log n) where n is the number of vertices in the final mesh [AB10]. In the following we will approximately de- termine the