#include "sky.h"
#include "mc.h"
#include "spectrumwavelengths.h"
#include "paramset.h"
#include "regular.h"
#include "reflection/bxdf.h"
#include "dynload.h"
#include "data/skychroma_spect.h"
Go to the source code of this file.
Classes | |
class | SkyBxDF |
class | SkyPortalBxDF |
Functions | |
static float | PerezBase (const float lam[6], float theta, float gamma) |
static const RegularSPD | S0 (S0Amplitudes, 300.f, 830.f, 54) |
static const RegularSPD | S1 (S1Amplitudes, 300.f, 830.f, 54) |
static const RegularSPD | S2 (S2Amplitudes, 300.f, 830.f, 54) |
float | RiAngleBetween (float thetav, float phiv, float theta, float phi) |
Variables | |
static const float | S0Y = S0.Y() |
static const float | S1Y = S1.Y() |
static const float | S2Y = S2.Y() |
static DynamicLoader::RegisterLight < SkyLight > | r ("sky") |
static float PerezBase | ( | const float | lam[6], | |
float | theta, | |||
float | gamma | |||
) | [static] |
Definition at line 125 of file sky.cpp.
References cimg_library::cos(), and cimg_library::exp().
Referenced by lux::SkyLight::GetSkySpectralRadiance(), and lux::SkyLight::SkyLight().
float RiAngleBetween | ( | float | thetav, | |
float | phiv, | |||
float | theta, | |||
float | phi | |||
) | [inline] |
Definition at line 574 of file sky.cpp.
References cimg_library::acos(), cimg_library::cos(), M_PI, and cimg_library::sin().
Referenced by lux::SkyLight::GetSkySpectralRadiance().
static const RegularSPD S0 | ( | S0Amplitudes | , | |
300. | f, | |||
830. | f, | |||
54 | ||||
) | [static] |
Referenced by lux::SkyLight::ChromaticityToSpectrum().
static const RegularSPD S1 | ( | S1Amplitudes | , | |
300. | f, | |||
830. | f, | |||
54 | ||||
) | [static] |
Referenced by lux::SkyLight::ChromaticityToSpectrum().
static const RegularSPD S2 | ( | S2Amplitudes | , | |
300. | f, | |||
830. | f, | |||
54 | ||||
) | [static] |
DynamicLoader::RegisterLight<SkyLight> r("sky") [static] |
const float S0Y = S0.Y() [static] |
Definition at line 134 of file sky.cpp.
Referenced by lux::SkyLight::ChromaticityToSpectrum().