#include <llvosky.h>
Definition at line 423 of file llvosky.h.
anonymous enum |
LLVOSky::LLVOSky | ( | const LLUUID & | id, | |
const LLPCode | pcode, | |||
LLViewerRegion * | regionp | |||
) |
WL PARAMS
Definition at line 310 of file llvosky.cpp.
References ambient, ATM_HEIGHT, blue_density, blue_horizon, cloud_color, cloud_pos_density1, cloud_pos_density2, cloud_scale, cloud_shadow, density_multiplier, dome_offset_ratio, dome_radius, EARTH_RADIUS, FACE_COUNT, FALSE, gAgent, gamma, LLControlGroup::getBOOL(), LLAgent::getCameraPositionAgent(), LLControlGroup::getColor3(), LLControlGroup::getF32(), LLViewerImageList::getImage(), gImageList, glow, gSavedSettings, haze_density, haze_horizon, i, IMG_BLOOM1, LLSkyTex::init(), initSunDirection(), LLWLParamManager::instance(), lightnorm, mAmbientScale, mAtmHeight, max_y, LLViewerObject::mbCanSelect, mBloomTexturep, mCameraPosAgent, mEarthCenter, mFace, mFogColor, mFogRatio, mHeavenlyBodyUpdated, mInitialized, mMoon, mMoonTexturep, mNightColorShift, mShinyTex, mSkyTex, mSun, mSunDefaultPosition, mSunTexturep, mUpdateTimer, LLColor4::mV, LLVector3::mV, NULL, LLFrameTimer::reset(), S32, LLHeavenBody::setIntensity(), SUN_INTENSITY, sunlight_color, TRUE, VALPHA, VBLUE, VGREEN, and VRED.
LLVOSky::~LLVOSky | ( | ) | [protected] |
void LLVOSky::initAtmospherics | ( | void | ) |
Definition at line 634 of file llvosky.cpp.
References ambient, blue_density, blue_horizon, cloud_color, cloud_pos_density1, cloud_pos_density2, cloud_scale, cloud_shadow, density_multiplier, dome_offset_ratio, dome_radius, gamma, LLWLParamManager::getDomeOffset(), LLWLParamManager::getDomeRadius(), LLSky::getSunDirection(), LLWLParamSet::getVector(), glow, gSky, haze_density, haze_horizon, LLWLParamManager::instance(), lightnorm, max_y, LLWLParamManager::mCurParams, LLVector4::mV, sunlight_color, and unclamped_lightnorm.
Referenced by calcAtmospherics(), and updateFog().
void LLVOSky::calcAtmospherics | ( | void | ) |
USE only lightnorm.
Definition at line 936 of file llvosky.cpp.
References ambient, blue_density, blue_horizon, LLColor3::clamp(), cloud_shadow, componentDiv(), componentExp(), componentMult(), componentMultBy(), componentPow(), density_multiplier, gamma, LLControlGroup::getF32(), getToSunLast(), gSavedSettings, haze_density, haze_horizon, initAtmospherics(), LLWLParamManager::instance(), llmax(), max_y, mFadeColor, mMoon, mMoonAmbient, mMoonDiffuse, LLWLParamManager::mSceneLightStrength, mSun, mSunAmbient, mSunDiffuse, mTotalAmbient, LLColor3::mV, NIGHTTIME_ELEVATION_COS, LLHeavenBody::renewColor(), LLHeavenBody::renewDirection(), LLColor4U::setAlpha(), LLColor4::setAlpha(), LLHeavenBody::setColor(), smear(), sunlight_color, and unclamped_lightnorm.
Referenced by init(), initSunDirection(), restoreGL(), setSunDirection(), and updateSky().
LLColor3 LLVOSky::createDiffuseFromWL | ( | LLColor3 | diffuse, | |
LLColor3 | ambient, | |||
LLColor3 | sundiffuse, | |||
LLColor3 | sunambient | |||
) |
Definition at line 924 of file llvosky.cpp.
References componentMult().
LLColor3 LLVOSky::createAmbientFromWL | ( | LLColor3 | ambient, | |
LLColor3 | sundiffuse, | |||
LLColor3 | sunambient | |||
) |
Definition at line 930 of file llvosky.cpp.
References componentMult().
void LLVOSky::calcSkyColorWLVert | ( | LLVector3 & | Pn, | |
LLColor3 & | vary_HazeColor, | |||
LLColor3 & | vary_CloudColorSun, | |||
LLColor3 & | vary_CloudColorAmbient, | |||
F32 & | vary_CloudDensity, | |||
LLVector2 | vary_HorizontalProjection[2] | |||
) |
Definition at line 741 of file llvosky.cpp.
References ambient, blue_density, blue_horizon, LLColor3::brightness(), cloud_shadow, colorMix(), componentDiv(), componentExp(), componentMult(), componentMultBy(), componentSqrt(), density_multiplier, dome_offset_ratio, dome_radius, F_APPROXIMATELY_ZERO, F_PI, glow, haze_density, haze_horizon, lightnorm, llmax(), LLVector3::magVec(), max_y, LLColor3::mV, smear(), sunlight_color, and LLColor3::white.
Referenced by calcSkyColorInDir().
LLColor3 LLVOSky::calcSkyColorWLFrag | ( | LLVector3 & | Pn, | |
LLColor3 & | vary_HazeColor, | |||
LLColor3 & | vary_CloudColorSun, | |||
LLColor3 & | vary_CloudColorAmbient, | |||
F32 & | vary_CloudDensity, | |||
LLVector2 | vary_HorizontalProjection[2] | |||
) |
Definition at line 867 of file llvosky.cpp.
References LLPipeline::canUseWindLightShaders(), componentPow(), componentSaturate(), gamma, gPipeline, and smear().
Referenced by calcSkyColorInDir().
void LLVOSky::initClass | ( | void | ) | [static] |
Definition at line 397 of file llvosky.cpp.
References LLHaze::initClass().
Referenced by LLViewerObject::initVOClasses().
void LLVOSky::init | ( | void | ) |
Reimplemented from LLXform.
Definition at line 403 of file llvosky.cpp.
References LLHaze::calcAirSca(), calcAtmospherics(), LLHaze::calcSigSca(), color_intens(), LLSkyTex::create(), createSkyTexture(), FALSE, i, initCubeMap(), initSkyTextureDirs(), mHaze, mHazeConcentration, mHeavenlyBodyUpdated, mInitialized, mShinyTex, mSkyTex, NUM_TILES, and S32.
Referenced by initSunDirection().
void LLVOSky::initCubeMap | ( | ) |
Definition at line 433 of file llvosky.cpp.
References LLControlGroup::getBOOL(), LLSingleton< LLFeatureManager >::getInstance(), gGLManager, gSavedSettings, LLFeatureList::isFeatureAvailable(), mCubeMap, LLGLManager::mHasCubeMap, mShinyTex, and S32.
Referenced by init().
void LLVOSky::initEmpty | ( | ) |
void LLVOSky::cleanupGL | ( | ) |
Definition at line 452 of file llvosky.cpp.
References LLSkyTex::cleanupGL(), LLCubeMap::destroyGL(), getCubeMap(), i, mSkyTex, and S32.
void LLVOSky::restoreGL | ( | ) |
Definition at line 465 of file llvosky.cpp.
References calcAtmospherics(), LLControlGroup::getBOOL(), getCubeMap(), LLViewerImageList::getImage(), LLSingleton< LLFeatureManager >::getInstance(), gGLManager, gImageList, gPipeline, gSavedSettings, i, IMG_BLOOM1, LLCubeMap::init(), LLFeatureList::isFeatureAvailable(), LLPipeline::markRebuild(), mBloomTexturep, LLViewerObject::mDrawable, mForceUpdate, LLGLManager::mHasCubeMap, mMoonTexturep, mShinyTex, mSkyTex, mSunTexturep, LLDrawable::REBUILD_VOLUME, LLSkyTex::restoreGL(), S32, and TRUE.
BOOL LLVOSky::updateSky | ( | ) |
*TODO really, sky texture and env map should be shared on a single texture I'll let Brad take this at some point
Definition at line 1042 of file llvosky.cpp.
References calcAtmospherics(), LLImageRaw::copy(), LLSkyTex::create(), LLSkyTex::createGLImage(), createSkyTexture(), DEG_TO_RAD, FALSE, LLHeavenBody::getDirection(), LLFrameTimer::getElapsedTimeF32(), LLSkyTex::getImageRaw(), LLSingleton< LLViewerCamera >::getInstance(), gGLManager, gPipeline, gSky, LLPipeline::hasRenderType(), i, LLVector3::isExactlyZero(), LLPointer< Type >::isNull(), LLColor3::magVec(), LLPipeline::markRebuild(), mCubeMap, LLViewerObject::mDead, LLViewerObject::mDrawable, mForceUpdate, mInitialized, LLGLManager::mIsDisabled, mLastLightingDirection, mLastTotalAmbient, mShinyTex, mSkyTex, mSun, mTotalAmbient, mUpdateTimer, LLColor4::mV, LLColor3::mV, LLSky::mVOGroundp, LLVector3::normVec(), LLPointer< Type >::notNull(), 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::updateTextures | ( | LLAgent & | agent | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 1178 of file llvosky.cpp.
References MAX_IMAGE_AREA, mBloomTexturep, mMoonTexturep, and mSunTexturep.
LLDrawable * LLVOSky::createDrawable | ( | LLPipeline * | pipeline | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 1188 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().
BOOL LLVOSky::updateGeometry | ( | LLDrawable * | drawable | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 1256 of file llvosky.cpp.
References LLDrawable::addFace(), cosHorizon(), FACE_MOON, FACE_REFLECTION, FACE_SIDE0, FACE_SUN, FALSE, LLFastTimer::FTM_GEO_SKY, gAgent, LLCoordFrame::getAtAxis(), LLHeavenBody::getDirection(), LLFace::getGeometry(), LLSingleton< LLViewerCamera >::getInstance(), LLPipeline::getPool(), LLDrawable::getPositionAgent(), LLAgent::getRegion(), LLDrawPool::getVertexShaderLevel(), LLViewerRegion::getWaterHeight(), gPipeline, HORIZON_DIST, i, LLPointer< Type >::isNull(), LLHeavenBody::isVisible(), mCameraPosAgent, LLFace::mCenterAgent, mEarthCenter, mFace, mMoon, mSun, LLVector3::mV, LLFace::mVertexBuffer, LLVector3::normVec(), NULL, LLDrawPool::POOL_WATER, S32, LLPipeline::sCompiles, LLHeavenBody::setDraw(), setDrawRefl(), LLFace::setGeomIndex(), LLFace::setIndicesIndex(), LLFace::setSize(), SKY_BOX_MULT, sResolution, TRUE, updateHeavenlyBodyGeometry(), updateReflectionGeometry(), LLDrawPoolSky::VERTEX_DATA_MASK, and LLVector3::z_axis.
Definition at line 506 of file llvosky.cpp.
References mShinyTex, mSkyTex, LLVector3::normVec(), NUM_TILES_X, S32, LLSkyTex::setDir(), sResolution, sTileResX, and sTileResY.
Referenced by init().
Definition at line 538 of file llvosky.cpp.
References calcSkyColorInDir(), mShinyTex, mSkyTex, NUM_TILES_X, S32, LLSkyTex::setPixel(), sTileResX, and sTileResY.
Referenced by init(), and updateSky().
Definition at line 673 of file llvosky.cpp.
References LLColor3::brightness(), calcSkyColorWLFrag(), calcSkyColorWLVert(), LLPipeline::canUseWindLightShaders(), gPipeline, llmax(), mFogColor, LLColor4::mV, LLVector3::mV, powf, smear(), and VZ.
Referenced by createSkyTexture(), and updateFog().
Definition at line 503 of file llvosky.h.
References LLHeavenBody::getIntensity(), mBrightnessScaleGuess, and mSun.
const LLHeavenBody& LLVOSky::getSun | ( | ) | const [inline] |
const LLHeavenBody& LLVOSky::getMoon | ( | ) | const [inline] |
const LLVector3& LLVOSky::getToSunLast | ( | ) | const [inline] |
Definition at line 512 of file llvosky.h.
References LLHeavenBody::getDirectionCached(), and mSun.
Referenced by calcAtmospherics(), and updateFog().
const LLVector3& LLVOSky::getToSun | ( | ) | const [inline] |
Definition at line 513 of file llvosky.h.
References LLHeavenBody::getDirection(), and mSun.
const LLVector3& LLVOSky::getToMoon | ( | ) | const [inline] |
Definition at line 514 of file llvosky.h.
References LLHeavenBody::getDirection(), and mMoon.
const LLVector3& LLVOSky::getToMoonLast | ( | ) | const [inline] |
Definition at line 515 of file llvosky.h.
References LLHeavenBody::getDirectionCached(), and mMoon.
BOOL LLVOSky::isSunUp | ( | ) | const [inline] |
Definition at line 516 of file llvosky.h.
References LLHeavenBody::getDirectionCached(), mSun, and LLVector3::mV.
void LLVOSky::calculateColors | ( | ) |
LLColor3 LLVOSky::getSunDiffuseColor | ( | ) | const [inline] |
LLColor3 LLVOSky::getMoonDiffuseColor | ( | ) | const [inline] |
LLColor4 LLVOSky::getSunAmbientColor | ( | ) | const [inline] |
LLColor4 LLVOSky::getMoonAmbientColor | ( | ) | const [inline] |
const LLColor4& LLVOSky::getTotalAmbientColor | ( | ) | const [inline] |
LLColor4 LLVOSky::getFogColor | ( | ) | const [inline] |
LLColor4 LLVOSky::getGLFogColor | ( | ) | const [inline] |
Definition at line 527 of file llvosky.h.
References mFace.
Referenced by LLDrawPoolSky::render().
Definition at line 2203 of file llvosky.cpp.
References calcAtmospherics(), LLHeavenBody::getDirection(), init(), LLVector3::magVec(), mInitialized, mLastLightingDirection, mMoon, mSun, LLVector3::normVec(), LLHeavenBody::renewDirection(), LLHeavenBody::setAngularVelocity(), LLHeavenBody::setDirection(), LLSkyTex::stepCurrent(), and LLVector3::x_axis.
Referenced by LLVOSky().
Definition at line 2223 of file llvosky.cpp.
References calcAtmospherics(), llmax(), LLVector3::magVec(), mBumpSunDir, mForceUpdate, mLastLightingDirection, mMoon, mSun, LLVector3::mV, LLVector3::normVec(), LLHeavenBody::setAngularVelocity(), LLHeavenBody::setDirection(), TRUE, and LLVector3::x_axis.
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 1396 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(), llmax(), mCameraPosAgent, mFace, mHeavenlyBodyUpdated, mSun, LLVector3::mV, LLFace::mVertexBuffer, LLVector3::normVec(), S32, LLFace::setGeomIndex(), LLHeavenBody::setHorizonVisibility(), LLFace::setIndicesIndex(), LLFace::setSize(), LLHeavenBody::setU(), LLHeavenBody::setV(), LLHeavenBody::setVisible(), TRUE, updateSunHaloGeometry(), LLDrawPoolSky::VERTEX_DATA_MASK, and LLVector3::z_axis.
Referenced by updateGeometry().
Definition at line 537 of file llvosky.h.
References EARTH_RADIUS, mCameraPosAgent, and LLVector3::mV.
Referenced by updateGeometry(), and updateReflectionGeometry().
void LLVOSky::updateSunHaloGeometry | ( | LLDrawable * | drawable | ) |
Definition at line 1590 of file llvosky.cpp.
References LLHeavenBody::corners(), FACE_BLOOM, LLFace::getGeometry(), LLPointer< Type >::isNull(), LLVector3::magVec(), mCameraPosAgent, mFace, mSun, LLFace::mVertexBuffer, LLVector3::normVec(), S32, LLFace::setGeomIndex(), LLFace::setIndicesIndex(), LLFace::setSize(), TRUE, and LLDrawPoolWater::VERTEX_DATA_MASK.
Referenced by updateHeavenlyBodyGeometry().
void LLVOSky::updateReflectionGeometry | ( | LLDrawable * | drawable, | |
F32 | H, | |||
const LLHeavenBody & | HB | |||
) |
Definition at line 1693 of file llvosky.cpp.
References LLColor3::clamp(), clip_side_to_horizon(), cosHorizon(), dtClip(), dtReflection(), FACE_REFLECTION, LLCoordFrame::getAtAxis(), LLHeavenBody::getDirection(), LLHeavenBody::getDiskRadius(), LLFace::getGeomCount(), LLFace::getGeometry(), LLFace::getIndicesCount(), LLSingleton< LLViewerCamera >::getInstance(), LLHeavenBody::getInterpColor(), HEAVENLY_BODY_SCALE, HORIZON_DIST, LLPointer< Type >::isNull(), llmax(), llmin(), lltrunc(), LLVector3::magVec(), mCameraPosAgent, LLFace::mCenterAgent, mFace, mFogColor, LLVector3::mV, LLFace::mVertexBuffer, LLVector3::normVec(), S32, LLFace::setFaceColor(), LLFace::setGeomIndex(), LLFace::setIndicesIndex(), LLFace::setSize(), sResolution, TRUE, LLDrawPoolWater::VERTEX_DATA_MASK, VZ, and LLVector3::z_axis.
Referenced by updateGeometry().
const LLHaze& LLVOSky::getHaze | ( | ) | const [inline] |
F32 LLVOSky::getHazeConcentration | ( | ) | const [inline] |
void LLVOSky::setHaze | ( | const LLHaze & | h | ) | [inline] |
F32 LLVOSky::getWorldScale | ( | ) | const [inline] |
void LLVOSky::setWorldScale | ( | const F32 | s | ) | [inline] |
void LLVOSky::updateFog | ( | const F32 | distance | ) |
Definition at line 2013 of file llvosky.cpp.
References calcSkyColorInDir(), color_gamma_correct(), color_norm(), gAgent, LLCoordFrame::getAtAxis(), LLAgent::getCameraPositionAgent(), LLControlGroup::getF32(), LLWaterParamManager::getFogDensity(), LLSingleton< LLViewerCamera >::getInstance(), LLCamera::getNear(), LLAgent::getRegion(), getToSunLast(), LLViewerRegion::getWaterHeight(), gPipeline, gSavedSettings, LLPipeline::hasRenderDebugFeatureMask(), i, initAtmospherics(), LLWaterParamManager::instance(), llclamp(), llmax(), llmin(), mFogColor, mFogRatio, mGLFogCol, LLColor4::mV, LLColor3::mV, LLVector3::mV, LLVector3::normVec(), LLPipeline::RENDER_DEBUG_FEATURE_FOG, S32, LLColor4::setAlpha(), stop_glerror, LLDrawPoolWater::sWaterFogColor, TRUE, VX, VY, VZ, LLColor3::white, and LLColor4::white.
Referenced by updateSky().
void LLVOSky::setFogRatio | ( | const F32 | fog_ratio | ) | [inline] |
LLColor4U LLVOSky::getFadeColor | ( | ) | const [inline] |
F32 LLVOSky::getFogRatio | ( | ) | const [inline] |
void LLVOSky::setCloudDensity | ( | F32 | cloud_density | ) | [inline] |
void LLVOSky::setWind | ( | const LLVector3 & | wind | ) | [inline] |
Definition at line 558 of file llvosky.h.
References LLVector3::magVec(), and mWind.
const LLVector3& LLVOSky::getCameraPosAgent | ( | ) | const [inline] |
LLVector3 LLVOSky::getEarthCenter | ( | ) | const [inline] |
LLCubeMap* LLVOSky::getCubeMap | ( | ) | const [inline] |
Definition at line 563 of file llvosky.h.
References mCubeMap.
Referenced by cleanupGL(), and restoreGL().
S32 LLVOSky::getDrawRefl | ( | ) | const [inline] |
Definition at line 564 of file llvosky.h.
References mDrawRefl.
Referenced by LLDrawPoolWater::renderReflection().
void LLVOSky::setDrawRefl | ( | const S32 | r | ) | [inline] |
Definition at line 565 of file llvosky.h.
References mDrawRefl.
Referenced by updateGeometry().
Definition at line 566 of file llvosky.h.
References FACE_REFLECTION, and mFace.
Referenced by LLDrawPoolWater::render(), and LLDrawPoolWater::shade().
LLFace* LLVOSky::getReflFace | ( | ) | const [inline] |
Definition at line 567 of file llvosky.h.
References FACE_REFLECTION, and mFace.
Referenced by LLDrawPoolWater::render().
LLViewerImage* LLVOSky::getSunTex | ( | ) | const [inline] |
LLViewerImage* LLVOSky::getMoonTex | ( | ) | const [inline] |
LLViewerImage* LLVOSky::getBloomTex | ( | ) | const [inline] |
void LLVOSky::forceSkyUpdate | ( | void | ) | [inline] |
void LLVOSky::createDummyVertexBuffer | ( | ) |
Definition at line 1216 of file llvosky.cpp.
References FACE_DUMMY, LLPipeline::getPool(), gPipeline, LLViewerObject::mDrawable, mFace, LLFace::mVertexBuffer, NULL, LLDrawPool::POOL_SKY, TRUE, and LLDrawPoolSky::VERTEX_DATA_MASK.
Referenced by updateDummyVertexBuffer().
void LLVOSky::updateDummyVertexBuffer | ( | ) |
Definition at line 1231 of file llvosky.cpp.
References createDummyVertexBuffer(), FACE_DUMMY, FALSE, LLFastTimer::FTM_RENDER_FAKE_VBO_UPDATE, mCameraPosAgent, mFace, mHeavenlyBodyUpdated, LLFace::mVertexBuffer, and LLVertexBuffer::sEnableVBOs.
WL PARAMS.
Definition at line 427 of file llvosky.h.
Referenced by calcSkyColorWLVert(), initAtmospherics(), and LLVOSky().
Definition at line 428 of file llvosky.h.
Referenced by calcSkyColorWLVert(), initAtmospherics(), and LLVOSky().
Definition at line 429 of file llvosky.h.
Referenced by calcAtmospherics(), calcSkyColorWLVert(), initAtmospherics(), and LLVOSky().
Definition at line 430 of file llvosky.h.
Referenced by calcAtmospherics(), calcSkyColorWLVert(), initAtmospherics(), and LLVOSky().
Definition at line 431 of file llvosky.h.
Referenced by calcAtmospherics(), calcSkyColorWLFrag(), initAtmospherics(), and LLVOSky().
Definition at line 432 of file llvosky.h.
Referenced by calcSkyColorWLVert(), initAtmospherics(), and LLVOSky().
Definition at line 434 of file llvosky.h.
Referenced by calcAtmospherics(), calcSkyColorWLVert(), initAtmospherics(), and LLVOSky().
Definition at line 435 of file llvosky.h.
Referenced by calcAtmospherics(), calcSkyColorWLVert(), initAtmospherics(), and LLVOSky().
Definition at line 436 of file llvosky.h.
Referenced by calcAtmospherics(), calcSkyColorWLVert(), initAtmospherics(), and LLVOSky().
Definition at line 437 of file llvosky.h.
Referenced by calcAtmospherics(), calcSkyColorWLVert(), initAtmospherics(), and LLVOSky().
Definition at line 438 of file llvosky.h.
Referenced by calcAtmospherics(), calcSkyColorWLVert(), initAtmospherics(), and LLVOSky().
Definition at line 439 of file llvosky.h.
Referenced by calcAtmospherics(), calcSkyColorWLVert(), initAtmospherics(), and LLVOSky().
Definition at line 440 of file llvosky.h.
Referenced by calcSkyColorWLVert(), initAtmospherics(), and LLVOSky().
Definition at line 441 of file llvosky.h.
Referenced by calcAtmospherics(), calcSkyColorWLVert(), initAtmospherics(), and LLVOSky().
LLFace* LLVOSky::mFace[FACE_COUNT] |
Definition at line 575 of file llvosky.h.
Referenced by createDrawable(), createDummyVertexBuffer(), getReflFace(), isReflFace(), isSameFace(), LLVOSky(), updateDummyVertexBuffer(), updateGeometry(), updateHeavenlyBodyGeometry(), updateReflectionGeometry(), and updateSunHaloGeometry().
LLPointer<LLViewerImage> LLVOSky::mSunTexturep [protected] |
Definition at line 581 of file llvosky.h.
Referenced by createDrawable(), getSunTex(), LLVOSky(), restoreGL(), and updateTextures().
LLPointer<LLViewerImage> LLVOSky::mMoonTexturep [protected] |
Definition at line 582 of file llvosky.h.
Referenced by createDrawable(), getMoonTex(), LLVOSky(), restoreGL(), and updateTextures().
LLPointer<LLViewerImage> LLVOSky::mBloomTexturep [protected] |
Definition at line 583 of file llvosky.h.
Referenced by createDrawable(), getBloomTex(), LLVOSky(), restoreGL(), and updateTextures().
S32 LLVOSky::sResolution = LLSkyTex::getResolution() [static, protected] |
Definition at line 585 of file llvosky.h.
Referenced by initSkyTextureDirs(), updateGeometry(), and updateReflectionGeometry().
S32 LLVOSky::sTileResX = sResolution/NUM_TILES_X [static, protected] |
Definition at line 586 of file llvosky.h.
Referenced by createSkyTexture(), and initSkyTextureDirs().
S32 LLVOSky::sTileResY = sResolution/NUM_TILES_Y [static, protected] |
Definition at line 587 of file llvosky.h.
Referenced by createSkyTexture(), and initSkyTextureDirs().
LLSkyTex LLVOSky::mSkyTex[6] [protected] |
Definition at line 588 of file llvosky.h.
Referenced by cleanupGL(), createDrawable(), createSkyTexture(), init(), initSkyTextureDirs(), LLVOSky(), restoreGL(), and updateSky().
LLSkyTex LLVOSky::mShinyTex[6] [protected] |
Definition at line 589 of file llvosky.h.
Referenced by createSkyTexture(), init(), initCubeMap(), initSkyTextureDirs(), LLVOSky(), restoreGL(), and updateSky().
LLHeavenBody LLVOSky::mSun [protected] |
Definition at line 590 of file llvosky.h.
Referenced by calcAtmospherics(), calcRadianceAtPoint(), createDrawable(), getSun(), getToSun(), getToSunLast(), initSunDirection(), isSunUp(), LLVOSky(), setSunDirection(), updateGeometry(), updateHeavenlyBodyGeometry(), updateSky(), and updateSunHaloGeometry().
LLHeavenBody LLVOSky::mMoon [protected] |
Definition at line 591 of file llvosky.h.
Referenced by calcAtmospherics(), createDrawable(), getMoon(), getToMoon(), getToMoonLast(), initSunDirection(), LLVOSky(), setSunDirection(), and updateGeometry().
LLVector3 LLVOSky::mSunDefaultPosition [protected] |
LLVector3 LLVOSky::mSunAngVel [protected] |
F32 LLVOSky::mAtmHeight [protected] |
LLVector3 LLVOSky::mEarthCenter [protected] |
Definition at line 595 of file llvosky.h.
Referenced by getEarthCenter(), LLVOSky(), and updateGeometry().
LLVector3 LLVOSky::mCameraPosAgent [protected] |
Definition at line 596 of file llvosky.h.
Referenced by cosHorizon(), getCameraPosAgent(), LLVOSky(), updateDummyVertexBuffer(), updateGeometry(), updateHeavenlyBodyGeometry(), updateReflectionGeometry(), and updateSunHaloGeometry().
F32 LLVOSky::mBrightnessScale [protected] |
LLColor3 LLVOSky::mBrightestPoint [protected] |
F32 LLVOSky::mBrightnessScaleNew [protected] |
LLColor3 LLVOSky::mBrightestPointNew [protected] |
F32 LLVOSky::mBrightnessScaleGuess [protected] |
LLColor3 LLVOSky::mBrightestPointGuess [protected] |
LLHaze LLVOSky::mHaze [protected] |
F32 LLVOSky::mHazeConcentration [protected] |
BOOL LLVOSky::mWeatherChange [protected] |
F32 LLVOSky::mCloudDensity [protected] |
F32 LLVOSky::mWind [protected] |
BOOL LLVOSky::mInitialized [protected] |
Definition at line 609 of file llvosky.h.
Referenced by init(), initSunDirection(), LLVOSky(), and updateSky().
BOOL LLVOSky::mForceUpdate [protected] |
Definition at line 610 of file llvosky.h.
Referenced by forceSkyUpdate(), restoreGL(), setSunDirection(), and updateSky().
LLVector3 LLVOSky::mLastLightingDirection [protected] |
Definition at line 611 of file llvosky.h.
Referenced by initSunDirection(), setSunDirection(), and updateSky().
LLColor3 LLVOSky::mLastTotalAmbient [protected] |
F32 LLVOSky::mAmbientScale [protected] |
LLColor3 LLVOSky::mNightColorShift [protected] |
F32 LLVOSky::sInterpVal [protected] |
LLColor4 LLVOSky::mFogColor [protected] |
Definition at line 617 of file llvosky.h.
Referenced by calcSkyColorInDir(), getFogColor(), LLVOSky(), updateFog(), and updateReflectionGeometry().
LLColor4 LLVOSky::mGLFogCol [protected] |
F32 LLVOSky::mFogRatio [protected] |
Definition at line 620 of file llvosky.h.
Referenced by getFogRatio(), LLVOSky(), setFogRatio(), and updateFog().
F32 LLVOSky::mWorldScale [protected] |
LLColor4 LLVOSky::mSunAmbient [protected] |
Definition at line 623 of file llvosky.h.
Referenced by calcAtmospherics(), and getSunAmbientColor().
LLColor4 LLVOSky::mMoonAmbient [protected] |
Definition at line 624 of file llvosky.h.
Referenced by calcAtmospherics(), and getMoonAmbientColor().
LLColor4 LLVOSky::mTotalAmbient [protected] |
Definition at line 625 of file llvosky.h.
Referenced by calcAtmospherics(), getTotalAmbientColor(), and updateSky().
LLColor3 LLVOSky::mSunDiffuse [protected] |
Definition at line 626 of file llvosky.h.
Referenced by calcAtmospherics(), and getSunDiffuseColor().
LLColor3 LLVOSky::mMoonDiffuse [protected] |
Definition at line 627 of file llvosky.h.
Referenced by calcAtmospherics(), and getMoonDiffuseColor().
LLColor4U LLVOSky::mFadeColor [protected] |
LLPointer<LLCubeMap> LLVOSky::mCubeMap [protected] |
Definition at line 630 of file llvosky.h.
Referenced by getCubeMap(), initCubeMap(), updateSky(), and ~LLVOSky().
S32 LLVOSky::mDrawRefl [protected] |
LLFrameTimer LLVOSky::mUpdateTimer [protected] |
Definition at line 644 of file llvosky.h.
Referenced by init(), LLVOSky(), updateDummyVertexBuffer(), and updateHeavenlyBodyGeometry().