[][src]Module pbrt::core::interpolation

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

Functions

catmull_rom_weights

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

fourier

Evaluates the weighted sum of cosines.

sample_catmull_rom_2d

Importance sampling of 2D functions via spline interpolants.

sample_fourier

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