LLKillerSky Class Reference

List of all members.

Static Public Member Functions

static void getRaleighCoefficients (float eye_sun_dp, float density, float *coefficients)
static void getMieCoefficients (float eye_sun_dp, float density, float *coefficient)

Static Public Attributes

static F32 sRaleighGroundDensity = 0.013f
static F32 sMieFactor = 50
static F32 sNearFalloffFactor = 1.5f
static F32 sSkyContrib = 0.06f

Detailed Description

Definition at line 2321 of file llvosky.cpp.


Member Function Documentation

static void LLKillerSky::getMieCoefficients ( float  eye_sun_dp,
float  density,
float *  coefficient 
) [inline, static]

Definition at line 2338 of file llvosky.cpp.

References f, and llclamp().

Referenced by LLVOSky::generateScatterMap().

static void LLKillerSky::getRaleighCoefficients ( float  eye_sun_dp,
float  density,
float *  coefficients 
) [inline, static]

Definition at line 2329 of file llvosky.cpp.

References INV_WAVELENGTH_B_POW4, INV_WAVELENGTH_G_POW4, and INV_WAVELENGTH_R_POW4.

Referenced by LLVOSky::generateScatterMap().


Member Data Documentation

F32 LLKillerSky::sMieFactor = 50 [static]

Definition at line 2325 of file llvosky.cpp.

F32 LLKillerSky::sNearFalloffFactor = 1.5f [static]

Definition at line 2326 of file llvosky.cpp.

F32 LLKillerSky::sRaleighGroundDensity = 0.013f [static]

Definition at line 2324 of file llvosky.cpp.

F32 LLKillerSky::sSkyContrib = 0.06f [static]

Definition at line 2327 of file llvosky.cpp.


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:27 2010 for Second Life Viewer by  doxygen 1.4.7