Expand description

Spline-based interpolation to reconstruct BSDF values (instead of using large lookup tables).

Functions

Calculates an offset and four weights for Catmull-Rom spline interpolation.

Evaluates the weighted sum of cosines.

Importance sampling of 2D functions via spline interpolants.

Returns the value of the Fourier expansion at the sampled position.