Mentions légales du service

Skip to content

WIP: Spectral sampling

Alban Fichet requested to merge af_spectral_sampling_refactor into master

Subsample within a bin. This breaks discrete path generation with wavelength depend paths (e.g. dielectrics). The parameters are interpolated between bounds.

This is in an unfinished stage.

Reference (old code base with 1 wavelength per path, sampling at 1nm interval)
ref

Old code base
old

Proposed subsampling scheme
new

TODO:

  • Add the subsampling for monochromatic renderer
  • Upload N+1 wavelengths to the assets to a proper interpolation for each bin
Edited by Alban Fichet

Merge request reports