sky.cpp File Reference

#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"
Include dependency graph for sky.cpp:

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")

Function Documentation

static float PerezBase ( const float  lam[6],
float  theta,
float  gamma 
) [static]
float RiAngleBetween ( float  thetav,
float  phiv,
float  theta,
float  phi 
) [inline]
static const RegularSPD S0 ( S0Amplitudes  ,
300.  f,
830.  f,
54   
) [static]
static const RegularSPD S1 ( S1Amplitudes  ,
300.  f,
830.  f,
54   
) [static]
static const RegularSPD S2 ( S2Amplitudes  ,
300.  f,
830.  f,
54   
) [static]

Variable Documentation

const float S0Y = S0.Y() [static]

Definition at line 134 of file sky.cpp.

Referenced by lux::SkyLight::ChromaticityToSpectrum().

const float S1Y = S1.Y() [static]

Definition at line 135 of file sky.cpp.

const float S2Y = S2.Y() [static]

Definition at line 136 of file sky.cpp.

Generated by  doxygen 1.6.2-20100208