Importance Sampling BRDF Derivatives

04/08/2023
by   Yash Belhe, et al.
0

We propose a set of techniques to efficiently importance sample the derivatives of several BRDF models. In differentiable rendering, BRDFs are replaced by their differential BRDF counterparts which are real-valued and can have negative values. This leads to a new source of variance arising from their change in sign. Real-valued functions cannot be perfectly importance sampled by a positive-valued PDF and the direct application of BRDF sampling leads to high variance. Previous attempts at antithetic sampling only addressed the derivative with the roughness parameter of isotropic microfacet BRDFs. Our work generalizes BRDF derivative sampling to anisotropic microfacet models, mixture BRDFs, Oren-Nayar, Hanrahan-Krueger, among other analytic BRDFs. Our method first decomposes the real-valued differential BRDF into a sum of single-signed functions, eliminating variance from a change in sign. Next, we importance sample each of the resulting single-signed functions separately. The first decomposition, positivization, partitions the real-valued function based on its sign, and is effective at variance reduction when applicable. However, it requires analytic knowledge of the roots of the differential BRDF, and for it to be analytically integrable too. Our key insight is that the single-signed functions can have overlapping support, which significantly broadens the ways we can decompose a real-valued function. Our product and mixture decompositions exploit this property, and they allow us to support several BRDF derivatives that positivization could not handle. For a wide variety of BRDF derivatives, our method significantly reduces the variance (up to 58x in some cases) at equal computation cost and enables better recovery of spatially varying textures through gradient-descent-based inverse rendering.

READ FULL TEXT

page 1

page 4

page 5

page 6

page 8

page 9

page 10

page 11

research
06/28/2023

Deciding Predicate Logical Theories of Real-Valued Functions

The notion of a real-valued function is central to mathematics, computer...
research
09/08/2021

The convergence of the Regula Falsi method

Regula Falsi, or the method of false position, is a numerical method for...
research
08/23/2018

Learning to Importance Sample in Primary Sample Space

Importance sampling is one of the most widely used variance reduction st...
research
11/13/2021

Multiset Signal Processing and Electronics

Multisets are an intuitive extension of the traditional concept of sets ...
research
11/28/2022

On the Rellich eigendecomposition of para-Hermitian matrices and the sign characteristics of *-palindromic matrix polynomials

We study the eigendecompositions of para-Hermitian matrices H(z), that i...
research
12/13/2021

On using the complex step method for the approximation of Fréchet derivatives of matrix functions in automorphism groups

We show, that the complex step approximation Im(f(A+ihE))/h to the Fréch...
research
06/04/2021

W-RST: Towards a Weighted RST-style Discourse Framework

Aiming for a better integration of data-driven and linguistically-inspir...

Please sign up or login with your details

Forgot password? Click here to reset