#include <llvosky.h>
Inheritance diagram for LLVOSky:
Definition at line 511 of file llvosky.h.
anonymous enum |
LLVOSky::LLVOSky | ( | const LLUUID & | id, | |
const LLPCode | pcode, | |||
LLViewerRegion * | regionp | |||
) |
Definition at line 501 of file llvosky.cpp.
References ATM_HEIGHT, EARTH_RADIUS, f, FACE_COUNT, FALSE, gAgent, LLControlGroup::getBOOL(), LLAgent::getCameraPositionAgent(), LLControlGroup::getColor3(), LLControlGroup::getF32(), LLViewerImageList::getImage(), LLControlGroup::getVector3(), gImageList, gMoonTextureID, gSavedSettings, gSunTextureID, i, IMG_BLOOM1, init(), initSunDirection(), mAmbientScale, mAtmHeight, LLViewerObject::mbCanSelect, mBloomTexturep, mCameraPosAgent, mEarthCenter, mFace, mFogColor, mFogRatio, mInitialized, mMoon, mMoonTexturep, mNightColorShift, mSkyTex, mSun, mSunDefaultPosition, mSunTexturep, mUpdateTimer, LLColor4::mV, LLVector3::mV, NULL, LLFrameTimer::reset(), S32, LLHeavenBody::setIntensity(), SUN_INTENSITY, TRUE, updateHaze(), VALPHA, VBLUE, VGREEN, and VRED.
LLVOSky::~LLVOSky | ( | ) | [protected] |
Definition at line 608 of file llvosky.h.
References f.
Referenced by calcInScatter(), and calcSkyColorInDir().
void LLVOSky::calcBrightnessScaleAndColors | ( | ) |
Definition at line 989 of file llvosky.cpp.
References calcHitsEarth(), calcSkyColorInDir(), LLTranspMapSet::calcTransp(), calculateColors(), color_intens(), color_max(), color_norm_abs(), e, f, LLHeavenBody::getIntensity(), LLHaze::getSigSca(), getToMoonLast(), getToSunLast(), i, llmax(), mBrightestPoint, mBrightestPointGuess, mBrightestPointNew, mBrightnessScale, mBrightnessScaleGuess, mBrightnessScaleNew, mCameraPosAgent, mHaze, mHazeConcentration, mMoon, mNightColorShift, mSkyTex, mSun, mTransp, LLVector3::mV, LLHeavenBody::renewColor(), LLHeavenBody::renewDirection(), S32, LLHeavenBody::setColor(), LLColor3::setToBlack(), toHorizon(), and updateBrightestDir().
Referenced by init(), restoreGL(), and updateSky().
Definition at line 601 of file llvosky.h.
References dist_vec(), EARTH_RADIUS, and mEarthCenter.
Referenced by calcInScatter(), calcRadianceAtPoint(), and calcSkyColorInDir().
Definition at line 959 of file llvosky.cpp.
References EARTH_RADIUS, mAtmHeight, and mEarthCenter.
Referenced by calcSkyColorInDir().
Definition at line 940 of file llvosky.cpp.
References EARTH_RADIUS, and mEarthCenter.
Referenced by calcBrightnessScaleAndColors(), calcInScatter(), and calcSkyColorInDir().
void LLVOSky::calcInScatter | ( | LLColor3 & | res, | |
LLColor3 & | transp, | |||
const LLVector3 & | P, | |||
F32 | exag | |||
) | const |
Definition at line 872 of file llvosky.cpp.
References calcAirPhaseFunc(), LLHaze::calcAirSca(), calcHeight(), calcHitsEarth(), LLHaze::calcPhase(), LLHaze::calcSigSca(), LLTranspMapSet::calcTransp(), calcUpVec(), color_avg(), color_div(), color_pow(), LLHeavenBody::getIntensity(), getToSunLast(), mCameraPosAgent, mHaze, mSun, mTransp, LLVector3::mV, LLVector3::normVec(), LLColor3::setToBlack(), LLColor3::setToWhite(), and VZ.
Definition at line 568 of file llvosky.h.
References calcHeight(), LLTranspMapSet::calcTransp(), calcUpVec(), LLHeavenBody::getIntensity(), getToSunLast(), mBrightnessScaleGuess, mSun, and mTransp.
Definition at line 815 of file llvosky.cpp.
References calcAirPhaseFunc(), LLHaze::calcAirSca(), calcHeight(), calcHitsAtmEdge(), calcHitsEarth(), LLHaze::calcPhase(), LLHaze::calcSigSca(), LLTranspMapSet::calcTransp(), calcUpVec(), LLColor3::exp(), f, F_PI, FIRST_STEP, LLHaze::getAbsCoef(), LLHeavenBody::getIntensity(), getToSunLast(), gFastLn, LL_FAST_EXP, LLFastLn::ln(), mCameraPosAgent, mHaze, mSun, mTransp, NO_STEPS, s, S32, LLColor3::setToBlack(), and LLColor3::setToWhite().
Definition at line 777 of file llvosky.cpp.
References color_max(), f, llmax(), mBrightestPointNew, mBrightnessScaleNew, mFogColor, LLColor3::mV, LLVector3::mV, powf, VZ, and x.
Referenced by calcBrightnessScaleAndColors(), createSkyTexture(), updateBrightestDir(), and updateFog().
void LLVOSky::calculateColors | ( | ) |
Definition at line 1064 of file llvosky.cpp.
References LLTranspMapSet::calcTransp(), color_norm(), color_norm_pow(), f, gAgent, LLHeavenBody::getIntensity(), getToMoonLast(), getToSunLast(), LLAgent::inPrelude(), llmax(), llmin(), mAmbientScale, mBrightestPointGuess, mBrightnessScaleGuess, mFadeColor, min_intens_factor(), mMoonAmbient, mMoonDiffuse, mNightColorShift, mSun, mSunAmbient, mSunDiffuse, mTotalAmbient, mTransp, LLVector3::mV, LLColor4U::setAlpha(), LLColor4::setAlpha(), LLColor3::setToBlack(), LLColor4::setToBlack(), sNighttimeBrightness, and TRUE.
Referenced by calcBrightnessScaleAndColors(), and updateSky().
Definition at line 594 of file llvosky.h.
References mEarthCenter, and v.
Referenced by calcInScatter(), calcRadianceAtPoint(), and calcSkyColorInDir().
void LLVOSky::cleanupGL | ( | ) |
Definition at line 646 of file llvosky.h.
References EARTH_RADIUS, f, mCameraPosAgent, and LLVector3::mV.
Referenced by toHorizon(), updateGeometry(), and updateReflectionGeometry().
LLDrawable * LLVOSky::createDrawable | ( | LLPipeline * | pipeline | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 1301 of file llvosky.cpp.
References LLPipeline::allocDrawable(), FACE_BLOOM, FACE_MOON, FACE_SIDE0, FACE_SUN, FALSE, LLPipeline::getPool(), gPipeline, i, mBloomTexturep, LLViewerObject::mDrawable, mFace, mMoon, mMoonTexturep, mSkyTex, mSun, mSunTexturep, NULL, LLDrawPool::POOL_SKY, LLPipeline::RENDER_TYPE_SKY, S32, LLDrawPoolSky::setMoon(), LLDrawPoolSky::setSkyTex(), and LLDrawPoolSky::setSun().
Definition at line 758 of file llvosky.cpp.
References calcSkyColorInDir(), mSkyTex, NUM_TILES_X, S32, sTileResX, sTileResY, x, and y.
Referenced by init(), and updateSky().
void LLVOSky::generateScatterMap | ( | ) |
Definition at line 2354 of file llvosky.cpp.
References f, FALSE, LLKillerSky::getMieCoefficients(), LLSky::getMoonDiffuseColor(), LLKillerSky::getRaleighCoefficients(), LLSky::getSunDiffuseColor(), LLSky::getSunDirection(), gSky, lerp(), llclamp(), mScatterMap, mScatterMapRaw, LLColor4::mV, LLVector3::mV, sqrtf, VZ, x, and y.
LLViewerImage* LLVOSky::getBloomTex | ( | ) | const [inline] |
const LLVector3& LLVOSky::getCameraPosAgent | ( | ) | const [inline] |
LLCubeMap* LLVOSky::getCubeMap | ( | ) | const [inline] |
Definition at line 672 of file llvosky.h.
References mCubeMap.
Referenced by cleanupGL(), and restoreGL().
S32 LLVOSky::getDrawRefl | ( | ) | const [inline] |
Definition at line 673 of file llvosky.h.
References mDrawRefl.
Referenced by LLDrawPoolWater::renderReflection().
LLVector3 LLVOSky::getEarthCenter | ( | ) | const [inline] |
LLColor4U LLVOSky::getFadeColor | ( | ) | const [inline] |
LLColor4 LLVOSky::getFogColor | ( | ) | const [inline] |
F32 LLVOSky::getFogRatio | ( | ) | const [inline] |
LLColor4 LLVOSky::getGLFogColor | ( | ) | const [inline] |
const LLHaze& LLVOSky::getHaze | ( | ) | const [inline] |
F32 LLVOSky::getHazeConcentration | ( | ) | const [inline] |
const LLHeavenBody& LLVOSky::getMoon | ( | ) | const [inline] |
LLColor4 LLVOSky::getMoonAmbientColor | ( | ) | const [inline] |
LLColor3 LLVOSky::getMoonDiffuseColor | ( | ) | const [inline] |
LLViewerImage* LLVOSky::getMoonTex | ( | ) | const [inline] |
LLFace* LLVOSky::getReflFace | ( | ) | const [inline] |
Definition at line 676 of file llvosky.h.
References FACE_REFLECTION, and mFace.
Referenced by LLDrawPoolWater::render(), and LLDrawPoolWater::renderShaderSimple().
LLImageGL* LLVOSky::getScatterMap | ( | ) | [inline] |
const LLHeavenBody& LLVOSky::getSun | ( | ) | const [inline] |
LLColor4 LLVOSky::getSunAmbientColor | ( | ) | const [inline] |
LLColor3 LLVOSky::getSunDiffuseColor | ( | ) | const [inline] |
LLViewerImage* LLVOSky::getSunTex | ( | ) | const [inline] |
const LLVector3& LLVOSky::getToMoon | ( | ) | const [inline] |
const LLVector3& LLVOSky::getToMoonLast | ( | ) | const [inline] |
Definition at line 582 of file llvosky.h.
References LLHeavenBody::getDirectionCached(), and mMoon.
Referenced by calcBrightnessScaleAndColors(), and calculateColors().
const LLVector3& LLVOSky::getToSun | ( | ) | const [inline] |
const LLVector3& LLVOSky::getToSunLast | ( | ) | const [inline] |
Definition at line 579 of file llvosky.h.
References LLHeavenBody::getDirectionCached(), and mSun.
Referenced by calcBrightnessScaleAndColors(), calcInScatter(), calcRadianceAtPoint(), calcSkyColorInDir(), calculateColors(), updateBrightestDir(), and updateFog().
const LLColor4& LLVOSky::getTotalAmbientColor | ( | ) | const [inline] |
const LLTranspMapSet& LLVOSky::getTransp | ( | ) | const [inline] |
F32 LLVOSky::getWorldScale | ( | ) | const [inline] |
void LLVOSky::init | ( | ) |
Reimplemented from LLXform.
Definition at line 568 of file llvosky.cpp.
References LLHaze::calcAirSca(), calcBrightnessScaleAndColors(), LLHaze::calcSigSca(), color_intens(), createSkyTexture(), FIRST_STEP, LLTranspMapSet::init(), initCubeMap(), initSkyTextureDirs(), mAtmHeight, mBrightnessScaleNew, mHaze, mHazeConcentration, mTransp, NO_STEPS, NUM_TILES, and S32.
Referenced by initSunDirection(), LLVOSky(), and setSunDirection().
void LLVOSky::initClass | ( | ) | [static] |
Definition at line 562 of file llvosky.cpp.
References LLHaze::initClass().
Referenced by LLViewerObject::initVOClasses().
void LLVOSky::initCubeMap | ( | ) |
Definition at line 593 of file llvosky.cpp.
References LLControlGroup::getBOOL(), LLSkyTex::getImageRaw(), gFeatureManagerp, gGLManager, gSavedSettings, LLFeatureList::isFeatureAvailable(), mCubeMap, LLGLManager::mHasCubeMap, mSkyTex, and S32.
Referenced by init().
void LLVOSky::initEmpty | ( | ) |
Definition at line 727 of file llvosky.cpp.
References f, mSkyTex, LLVector3::normVec(), NUM_TILES_X, S32, LLSkyTex::setDir(), sResolution, sTileResX, sTileResY, x, and y.
Referenced by init().
void LLVOSky::initSunDirection | ( | const LLVector3 & | sun_dir, | |
const LLVector3 & | sun_ang_velocity | |||
) | [inline] |
Definition at line 616 of file llvosky.h.
References LLHeavenBody::getDirection(), init(), isReady(), LLVector3::magVec(), mLastLightingDirection, mMoon, mSun, LLVector3::normVec(), LLHeavenBody::renewDirection(), LLHeavenBody::setAngularVelocity(), LLHeavenBody::setDirection(), LLSkyTex::stepCurrent(), and LLVector3::x_axis.
Referenced by LLVOSky().
BOOL LLVOSky::isReady | ( | ) | const [inline] |
Definition at line 536 of file llvosky.h.
References LLTranspMapSet::isReady(), and mTransp.
Referenced by initSunDirection().
Definition at line 675 of file llvosky.h.
References face, FACE_REFLECTION, and mFace.
Referenced by LLDrawPoolWater::render(), LLDrawPoolWater::renderShaderSimple(), and LLDrawPoolWater::shade().
BOOL LLVOSky::isSunUp | ( | ) | const [inline] |
Definition at line 583 of file llvosky.h.
References LLHeavenBody::getDirectionCached(), mSun, and LLVector3::mV.
void LLVOSky::restoreGL | ( | ) |
Definition at line 625 of file llvosky.cpp.
References calcBrightnessScaleAndColors(), LLControlGroup::getBOOL(), getCubeMap(), LLViewerImageList::getImage(), LLSkyTex::getImageRaw(), gFeatureManagerp, gGLManager, gImageList, gMoonTextureID, gPipeline, gSavedSettings, gSunTextureID, i, IMG_BLOOM1, LLCubeMap::init(), LLFeatureList::isFeatureAvailable(), LLPipeline::markRebuild(), mBloomTexturep, LLViewerObject::mDrawable, mForceUpdate, LLGLManager::mHasCubeMap, mMoonTexturep, mSkyTex, mSunTexturep, LLDrawable::REBUILD_VOLUME, S32, and TRUE.
Definition at line 2291 of file llvosky.cpp.
References f, FALSE, LLHeavenBody::getDirection(), init(), LLVector3::magVec(), mForceUpdate, mMoon, mSun, LLVector3::mV, mWeatherChange, LLVector3::normVec(), LLHeavenBody::setAngularVelocity(), LLHeavenBody::setDirection(), TRUE, updateHaze(), VZ, and LLVector3::x_axis.
Definition at line 642 of file llvosky.h.
References cosHorizon(), and move_vec().
Referenced by calcBrightnessScaleAndColors().
void LLVOSky::updateBrightestDir | ( | ) |
Definition at line 970 of file llvosky.cpp.
References calcSkyColorInDir(), color_max(), F_PI_BY_TWO, getToSunLast(), i, mBrightestPointGuess, mBrightnessScaleGuess, move_vec(), and S32.
Referenced by calcBrightnessScaleAndColors().
Definition at line 2068 of file llvosky.cpp.
References calcSkyColorInDir(), color_gamma_correct(), color_norm(), depth, f, gAgent, gCamera, LLCoordFrame::getAtAxis(), LLAgent::getCameraPositionAgent(), LLCamera::getNear(), LLAgent::getRegion(), getSunDiffuseColor(), getToSunLast(), LLViewerRegion::getWaterHeight(), glFogf, glFogi, glHint, gPipeline, LLPipeline::hasRenderDebugFeatureMask(), i, llclamp(), llmax(), llmin(), LLColor3::magVec(), mFogColor, mFogRatio, mGLFogCol, LLColor4::mV, LLColor3::mV, LLVector3::mV, LLVector3::normVec(), LLPipeline::RENDER_DEBUG_FEATURE_FOG, S32, LLColor4::setAlpha(), stop_glerror, TRUE, VX, VY, VZ, LLColor3::white, and LLColor4::white.
Referenced by updateSky().
BOOL LLVOSky::updateGeometry | ( | LLDrawable * | drawable | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 1324 of file llvosky.cpp.
References LLDrawable::addFace(), cosHorizon(), f, face, FACE_MOON, FACE_REFLECTION, FACE_SIDE0, FACE_SUN, FALSE, gAgent, gCamera, LLCoordFrame::getAtAxis(), LLHeavenBody::getDirection(), LLPipeline::getPool(), LLDrawable::getPositionAgent(), LLAgent::getRegion(), LLDrawPool::getVertexShaderLevel(), LLViewerRegion::getWaterHeight(), gPipeline, HORIZON_DIST, i, LLHeavenBody::isVisible(), mCameraPosAgent, mEarthCenter, mFace, mMoon, mSun, LLVector3::mV, LLVector3::normVec(), NULL, LLDrawPool::POOL_WATER, right, S32, LLPipeline::sCompiles, LLHeavenBody::setDraw(), setDrawRefl(), LLDrawPoolWater::SHADER_LEVEL_RIPPLE, sResolution, TEX00, TEX01, TEX10, TEX11, TRUE, updateHeavenlyBodyGeometry(), updateReflectionGeometry(), LLDrawPoolSky::VERTEX_DATA_MASK, and LLVector3::z_axis.
void LLVOSky::updateHaze | ( | ) |
Definition at line 667 of file llvosky.cpp.
References AIR_SCA_AVG, f, LLControlGroup::getBOOL(), LLUUID::getRandomSeed(), gFastLn, gSavedSettings, LLFastLn::ln(), mCloudDensity, mHaze, LLColor3::mV, LLHaze::setFalloff(), LLHaze::setG(), and LLHaze::setSigSca().
Referenced by LLVOSky(), and setSunDirection().
BOOL LLVOSky::updateHeavenlyBodyGeometry | ( | LLDrawable * | drawable, | |
const S32 | side, | |||
const BOOL | is_sun, | |||
LLHeavenBody & | hb, | |||
const F32 | sin_max_angle, | |||
const LLVector3 & | up, | |||
const LLVector3 & | right | |||
) |
Definition at line 1463 of file llvosky.cpp.
References clip_quad_to_horizon(), LLHeavenBody::corner(), LLHeavenBody::corners(), F_PI, FALSE, LLHeavenBody::getDirection(), LLHeavenBody::getDiskRadius(), LLFace::getGeomCount(), LLFace::getGeometry(), LLFace::getIndicesCount(), LLHeavenBody::getU(), LLHeavenBody::getV(), HEAVENLY_BODY_DIST, HEAVENLY_BODY_FACTOR, LLPointer< Type >::isNull(), mCameraPosAgent, mFace, mSun, LLVector3::mV, LLFace::mVertexBuffer, LLVector3::normVec(), S32, LLFace::setGeomIndex(), LLHeavenBody::setHorizonVisibility(), LLFace::setIndicesIndex(), LLFace::setSize(), LLHeavenBody::setU(), LLHeavenBody::setV(), LLHeavenBody::setVisible(), t, TEX00, TEX01, TEX10, TEX11, TRUE, updateSunHaloGeometry(), LLDrawPoolWater::VERTEX_DATA_MASK, and LLVector3::z_axis.
Referenced by updateGeometry().
void LLVOSky::updateReflectionGeometry | ( | LLDrawable * | drawable, | |
F32 | H, | |||
const LLHeavenBody & | HB | |||
) |
Definition at line 1750 of file llvosky.cpp.
References LLColor3::clamp(), clip_side_to_horizon(), cosHorizon(), dtClip(), dtReflection(), f, face, FACE_REFLECTION, gCamera, LLCoordFrame::getAtAxis(), LLHeavenBody::getDirection(), LLHeavenBody::getDiskRadius(), LLHeavenBody::getInterpColor(), HEAVENLY_BODY_SCALE, HORIZON_DIST, left, llmax(), llmin(), lltrunc(), LLVector3::magVec(), mCameraPosAgent, mFace, mFogColor, LLVector3::mV, LLVector3::normVec(), right, S32, sResolution, TEX00, TEX01, TEX10, TEX11, TRUE, LLDrawPoolWater::VERTEX_DATA_MASK, VZ, z, and LLVector3::z_axis.
Referenced by updateGeometry().
BOOL LLVOSky::updateSky | ( | ) |
Definition at line 1175 of file llvosky.cpp.
References calcBrightnessScaleAndColors(), calculateColors(), LLImageRaw::copy(), LLSkyTex::createGLImage(), createSkyTexture(), DEG_TO_RAD, f, FALSE, gCamera, LLHeavenBody::getDirection(), LLCamera::getFar(), LLSkyTex::getImageRaw(), gGLManager, gPipeline, gSky, LLPipeline::hasRenderType(), LLVector3::isExactlyZero(), LLColor3::magVec(), LLPipeline::markRebuild(), mCubeMap, LLViewerObject::mDead, LLViewerObject::mDrawable, mForceUpdate, mInitialized, LLGLManager::mIsDisabled, mLastLightingDirection, mLastTotalAmbient, mSkyTex, mSun, mTotalAmbient, mUpdateTimer, LLColor4::mV, LLColor3::mV, LLSky::mVOGroundp, LLSky::mVOStarsp, LLVector3::normVec(), NUM_TILES, LLDrawable::REBUILD_ALL, LLDrawable::REBUILD_VOLUME, LLPipeline::RENDER_TYPE_SKY, LLFrameTimer::reset(), S32, LLHeavenBody::setInterpVal(), LLSkyTex::setInterpVal(), LLColor3::setVec(), sInterpVal, LLSkyTex::stepCurrent(), TRUE, and updateFog().
void LLVOSky::updateSunHaloGeometry | ( | LLDrawable * | drawable | ) |
Definition at line 1649 of file llvosky.cpp.
References LLHeavenBody::corners(), face, FACE_BLOOM, mCameraPosAgent, mFace, mSun, LLVector3::normVec(), right, S32, size, TEX00, TEX01, TEX10, TEX11, TRUE, and LLDrawPoolWater::VERTEX_DATA_MASK.
Referenced by updateHeavenlyBodyGeometry().
Reimplemented from LLViewerObject.
Definition at line 1291 of file llvosky.cpp.
References MAX_IMAGE_AREA, mBloomTexturep, mMoonTexturep, and mSunTexturep.
F32 LLVOSky::mAmbientScale [protected] |
F32 LLVOSky::mAtmHeight [protected] |
LLPointer<LLViewerImage> LLVOSky::mBloomTexturep [protected] |
Definition at line 696 of file llvosky.h.
Referenced by createDrawable(), getBloomTex(), LLVOSky(), restoreGL(), and updateTextures().
LLColor3 LLVOSky::mBrightestPoint [protected] |
LLColor3 LLVOSky::mBrightestPointGuess [protected] |
Definition at line 714 of file llvosky.h.
Referenced by calcBrightnessScaleAndColors(), calculateColors(), and updateBrightestDir().
LLColor3 LLVOSky::mBrightestPointNew [protected] |
Definition at line 712 of file llvosky.h.
Referenced by calcBrightnessScaleAndColors(), and calcSkyColorInDir().
F32 LLVOSky::mBrightnessScale [protected] |
F32 LLVOSky::mBrightnessScaleGuess [protected] |
Definition at line 713 of file llvosky.h.
Referenced by calcBrightnessScaleAndColors(), calcInScatter(), calcRadianceAtPoint(), calculateColors(), and updateBrightestDir().
F32 LLVOSky::mBrightnessScaleNew [protected] |
Definition at line 711 of file llvosky.h.
Referenced by calcBrightnessScaleAndColors(), calcSkyColorInDir(), and init().
LLVector3 LLVOSky::mCameraPosAgent [protected] |
Definition at line 708 of file llvosky.h.
Referenced by calcBrightnessScaleAndColors(), calcInScatter(), calcSkyColorInDir(), cosHorizon(), getCameraPosAgent(), LLVOSky(), updateGeometry(), updateHeavenlyBodyGeometry(), updateReflectionGeometry(), and updateSunHaloGeometry().
F32 LLVOSky::mCloudDensity [protected] |
LLPointer<LLCubeMap> LLVOSky::mCubeMap [protected] |
Definition at line 743 of file llvosky.h.
Referenced by getCubeMap(), initCubeMap(), updateSky(), and ~LLVOSky().
S32 LLVOSky::mDrawRefl [protected] |
LLVector3 LLVOSky::mEarthCenter [protected] |
Definition at line 707 of file llvosky.h.
Referenced by calcHeight(), calcHitsAtmEdge(), calcHitsEarth(), calcUpVec(), getEarthCenter(), LLVOSky(), and updateGeometry().
LLFace* LLVOSky::mFace[FACE_COUNT] |
Definition at line 689 of file llvosky.h.
Referenced by createDrawable(), getReflFace(), isReflFace(), isSameFace(), LLVOSky(), updateGeometry(), updateHeavenlyBodyGeometry(), updateReflectionGeometry(), and updateSunHaloGeometry().
LLColor4U LLVOSky::mFadeColor [protected] |
LLColor4 LLVOSky::mFogColor [protected] |
Definition at line 730 of file llvosky.h.
Referenced by calcSkyColorInDir(), getFogColor(), LLVOSky(), updateFog(), and updateReflectionGeometry().
F32 LLVOSky::mFogRatio [protected] |
Definition at line 733 of file llvosky.h.
Referenced by getFogRatio(), LLVOSky(), setFogRatio(), and updateFog().
BOOL LLVOSky::mForceUpdate [protected] |
Definition at line 723 of file llvosky.h.
Referenced by restoreGL(), setSunDirection(), and updateSky().
LLColor4 LLVOSky::mGLFogCol [protected] |
LLHaze LLVOSky::mHaze [protected] |
Definition at line 716 of file llvosky.h.
Referenced by calcBrightnessScaleAndColors(), calcInScatter(), calcSkyColorInDir(), getHaze(), init(), setHaze(), and updateHaze().
F32 LLVOSky::mHazeConcentration [protected] |
Definition at line 717 of file llvosky.h.
Referenced by calcBrightnessScaleAndColors(), getHazeConcentration(), and init().
BOOL LLVOSky::mInitialized [protected] |
LLVector3 LLVOSky::mLastLightingDirection [protected] |
LLColor3 LLVOSky::mLastTotalAmbient [protected] |
LLHeavenBody LLVOSky::mMoon [protected] |
Definition at line 703 of file llvosky.h.
Referenced by calcBrightnessScaleAndColors(), createDrawable(), getMoon(), getToMoon(), getToMoonLast(), initSunDirection(), LLVOSky(), setSunDirection(), and updateGeometry().
LLColor4 LLVOSky::mMoonAmbient [protected] |
Definition at line 737 of file llvosky.h.
Referenced by calculateColors(), and getMoonAmbientColor().
LLColor3 LLVOSky::mMoonDiffuse [protected] |
Definition at line 740 of file llvosky.h.
Referenced by calculateColors(), and getMoonDiffuseColor().
LLPointer<LLViewerImage> LLVOSky::mMoonTexturep [protected] |
Definition at line 695 of file llvosky.h.
Referenced by createDrawable(), getMoonTex(), LLVOSky(), restoreGL(), and updateTextures().
LLColor3 LLVOSky::mNightColorShift [protected] |
Definition at line 727 of file llvosky.h.
Referenced by calcBrightnessScaleAndColors(), calculateColors(), and LLVOSky().
LLPointer<LLImageGL> LLVOSky::mScatterMap [protected] |
LLPointer<LLImageRaw> LLVOSky::mScatterMapRaw [protected] |
LLSkyTex LLVOSky::mSkyTex[6] [protected] |
Definition at line 701 of file llvosky.h.
Referenced by calcBrightnessScaleAndColors(), cleanupGL(), createDrawable(), createSkyTexture(), initCubeMap(), initSkyTextureDirs(), LLVOSky(), restoreGL(), and updateSky().
LLHeavenBody LLVOSky::mSun [protected] |
Definition at line 702 of file llvosky.h.
Referenced by calcBrightnessScaleAndColors(), calcInScatter(), calcRadianceAtPoint(), calcSkyColorInDir(), calculateColors(), createDrawable(), getSun(), getToSun(), getToSunLast(), initSunDirection(), isSunUp(), LLVOSky(), setSunDirection(), updateGeometry(), updateHeavenlyBodyGeometry(), updateSky(), and updateSunHaloGeometry().
LLColor4 LLVOSky::mSunAmbient [protected] |
Definition at line 736 of file llvosky.h.
Referenced by calculateColors(), and getSunAmbientColor().
LLVector3 LLVOSky::mSunAngVel [protected] |
LLVector3 LLVOSky::mSunDefaultPosition [protected] |
LLColor3 LLVOSky::mSunDiffuse [protected] |
Definition at line 739 of file llvosky.h.
Referenced by calculateColors(), and getSunDiffuseColor().
LLPointer<LLViewerImage> LLVOSky::mSunTexturep [protected] |
Definition at line 694 of file llvosky.h.
Referenced by createDrawable(), getSunTex(), LLVOSky(), restoreGL(), and updateTextures().
LLColor4 LLVOSky::mTotalAmbient [protected] |
Definition at line 738 of file llvosky.h.
Referenced by calculateColors(), getTotalAmbientColor(), and updateSky().
LLTranspMapSet LLVOSky::mTransp [protected] |
Definition at line 715 of file llvosky.h.
Referenced by calcBrightnessScaleAndColors(), calcInScatter(), calcRadianceAtPoint(), calcSkyColorInDir(), calculateColors(), getTransp(), init(), and isReady().
LLFrameTimer LLVOSky::mUpdateTimer [protected] |
BOOL LLVOSky::mWeatherChange [protected] |
F32 LLVOSky::mWind [protected] |
F32 LLVOSky::mWorldScale [protected] |
F32 LLVOSky::sInterpVal [protected] |
F32 LLVOSky::sNighttimeBrightness = 1.5f [static] |
Definition at line 688 of file llvosky.h.
Referenced by calculateColors(), LLNightBrightnessListener::handleEvent(), and saved_settings_to_globals().
S32 LLVOSky::sResolution = LLSkyTex::getResolution() [static, protected] |
Definition at line 698 of file llvosky.h.
Referenced by initSkyTextureDirs(), updateGeometry(), and updateReflectionGeometry().
S32 LLVOSky::sTileResX = sResolution/NUM_TILES_X [static, protected] |
Definition at line 699 of file llvosky.h.
Referenced by createSkyTexture(), and initSkyTextureDirs().
S32 LLVOSky::sTileResY = sResolution/NUM_TILES_Y [static, protected] |
Definition at line 700 of file llvosky.h.
Referenced by createSkyTexture(), and initSkyTextureDirs().