[−][src]Module pbrt::core::spectrum
The Spectrum type hides the details of the particular spectral representation used, so that changing this detail of the system only requires changing the Spectrum implementation.
Structs
RGBEnumIter | |
RGBSpectrum |
Enums
RGBEnum | |
SpectrumType |
Constants
CIE_LAMBDA | |
CIE_X | |
CIE_Y | |
CIE_Y_INTEGRAL | |
CIE_Z | |
N_CIE_SAMPLES |
Functions
blackbody | |
blackbody_normalized | |
gamma_correct | |
interpolate_spectrum_samples | Find responsible interval and linearly interpolate between the two sample values. |
inverse_gamma_convert_float | |
rgb_to_xyz | Calculate XYZ representation from RGB coefficients. |
spectrum_samples_sorted | Are the values sorted by wavelength? |
xyz_to_rgb | Calculate RGB coefficients from a XYZ representation. |