#include <llsky.h>
Collaboration diagram for LLSky:
Definition at line 51 of file llsky.h.
LLSky::LLSky | ( | ) |
Definition at line 73 of file llsky.cpp.
References FALSE, mFogColor, mLightingGeneration, mOverrideSimSunPosition, mSunPhase, mUpdatedThisFrame, LLColor4::mV, TRUE, VALPHA, VBLUE, VGREEN, and VRED.
void LLSky::cleanup | ( | ) |
Definition at line 91 of file llsky.cpp.
References mVOGroundp, mVOSkyp, mVOStarsp, and NULL.
Referenced by LLViewerWindow::~LLViewerWindow().
void LLSky::destroyGL | ( | ) |
Definition at line 98 of file llsky.cpp.
References LLPointer< Type >::isNull(), and mVOSkyp.
Referenced by LLViewerWindow::stopGL().
void LLSky::free | ( | ) |
LLColor4U LLSky::getFadeColor | ( | ) | const |
LLColor4 LLSky::getFogColor | ( | ) | const |
Definition at line 341 of file llsky.cpp.
Referenced by LLTracker::renderBeacon(), and LLVOGround::updateGeometry().
LLColor4 LLSky::getMoonDiffuseColor | ( | ) | const |
Definition at line 178 of file llsky.cpp.
Referenced by LLVOSky::generateScatterMap(), and LLPipeline::setupHWLights().
LLVector3 LLSky::getMoonDirection | ( | ) | const |
Definition at line 152 of file llsky.cpp.
References mVOSkyp, and LLVector3::z_axis.
Referenced by LLFace::getGeometryVolume(), LLPipeline::setupHWLights(), and LLDrawPoolWater::shade().
BOOL LLSky::getOverrideSun | ( | ) | [inline] |
Definition at line 63 of file llsky.h.
References mOverrideSimSunPosition.
Referenced by process_time_synch().
LLColor4 LLSky::getSunDiffuseColor | ( | ) | const |
Definition at line 165 of file llsky.cpp.
Referenced by LLVOSky::generateScatterMap(), and LLPipeline::setupHWLights().
LLVector3 LLSky::getSunDirection | ( | ) | const |
Definition at line 139 of file llsky.cpp.
References mVOSkyp, and LLVector3::z_axis.
Referenced by LLVOSky::generateScatterMap(), LLFace::getGeometryVolume(), propagateHeavenlyBodies(), setOverrideSun(), LLPipeline::setupAvatarLights(), LLPipeline::setupHWLights(), LLDrawPoolWater::shade(), and LLVOAvatar::updateShadowFaces().
LLColor4 LLSky::getTotalAmbientColor | ( | ) | const |
Definition at line 191 of file llsky.cpp.
Referenced by LLDrawable::applyLightsAsPoint(), LLPipeline::enableLights(), LLPipeline::setAmbient(), and LLPipeline::setupHWLights().
Definition at line 248 of file llsky.cpp.
References LLPipeline::addObject(), LLViewerObjectList::createObjectViewer(), f, gAgent, LLControlGroup::getBOOL(), LLControlGroup::getF32(), LLAgent::getRegion(), LLControlGroup::getVector3(), gObjectList, gPipeline, gSavedSettings, gSky, LLViewerObject::LL_VO_GROUND, LLViewerObject::LL_VO_SKY, LLViewerObject::LL_VO_STARS, mOverrideSimSunPosition, mSunDefaultPosition, mUpdatedThisFrame, mVOGroundp, mVOSkyp, mVOStarsp, setFogRatio(), setSunDirection(), and TRUE.
Referenced by idle_startup().
Definition at line 304 of file llsky.cpp.
References f, getSunDirection(), llmin(), mOverrideSimSunPosition, mSunTargDir, mVOSkyp, and LLVector3::normVec().
Referenced by idle().
void LLSky::restoreGL | ( | ) |
Definition at line 106 of file llsky.cpp.
References mVOSkyp.
Referenced by LLViewerWindow::restoreGL().
Definition at line 406 of file llsky.cpp.
References mVOSkyp.
Referenced by LLFogRatioListener::handleEvent(), and init().
Definition at line 114 of file llsky.cpp.
References getSunDirection(), mLastSunDirection, mOverrideSimSunPosition, setSunDirection(), and LLVector3::zero.
Referenced by LLWorldForceSun::handleEvent(), and LLToolGun::handleHover().
Definition at line 127 of file llsky.cpp.
References mVOSkyp.
Referenced by LLWorldForceSun::handleEvent(), LLToolGun::handleHover(), init(), process_time_synch(), and setOverrideSun().
void LLSky::setSunTargetDirection | ( | const LLVector3 & | sun_direction, | |
const LLVector3 & | sun_ang_velocity | |||
) |
Definition at line 133 of file llsky.cpp.
References mSunTargDir.
Referenced by process_time_synch().
void LLSky::updateCull | ( | ) |
Definition at line 360 of file llsky.cpp.
References gCamera, gPipeline, llendl, llinfos, LLPipeline::markVisible(), mVOStarsp, and LLPointer< Type >::notNull().
Referenced by LLPipeline::updateCull().
Definition at line 352 of file llsky.cpp.
References mVOSkyp.
Referenced by LLPipeline::renderGeom().
void LLSky::updateSky | ( | ) |
Definition at line 386 of file llsky.cpp.
References gPipeline, LLPipeline::hasRenderType(), mVOSkyp, mVOStarsp, and LLPipeline::RENDER_TYPE_SKY.
Referenced by idle().
F32 LLSky::mDomeRadius [protected] |
LLColor4 LLSky::mFogColor [protected] |
F32 LLSky::mHaze [protected] |
LLVector3 LLSky::mLastSunDirection [protected] |
BOOL LLSky::mOverrideSimSunPosition [protected] |
Definition at line 112 of file llsky.h.
Referenced by getOverrideSun(), init(), LLSky(), propagateHeavenlyBodies(), and setOverrideSun().
F32 LLSky::mSunPhase [protected] |
Definition at line 106 of file llsky.h.
Referenced by propagateHeavenlyBodies(), and setSunTargetDirection().
Definition at line 104 of file llsky.h.
Referenced by cleanup(), init(), LLPipeline::resetVertexBuffers(), LLAgent::setRegion(), LLPipeline::updateCull(), and LLVOSky::updateSky().
Definition at line 102 of file llsky.h.
Referenced by LLDrawPoolBump::beginShiny(), calcInScatter(), cleanup(), destroyGL(), LLDrawPoolBump::endShiny(), getFadeColor(), getFogColor(), getFogRatio(), getMoonDiffuseColor(), getMoonDirection(), getSunDiffuseColor(), getSunDirection(), getTotalAmbientColor(), init(), propagateHeavenlyBodies(), LLDrawPoolWater::render(), LLDrawPoolSky::render(), LLDrawPoolGlow::render(), LLRenderShinyGlow::render(), LLDrawPoolGround::render(), LLDrawPoolBump::renderGroup(), LLDrawPoolWater::renderReflection(), LLDrawPoolWater::renderShaderSimple(), LLDrawPoolBump::renderShiny(), LLPipeline::resetVertexBuffers(), restoreGL(), setCloudDensityAtAgent(), setFogRatio(), LLAgent::setRegion(), setSunDirection(), setWind(), LLDrawPoolWater::shade(), sunUp(), LLPipeline::updateCull(), updateFog(), LLVOAvatar::updateShadowFaces(), updateSky(), and LLVOStars::updateStarColors().
Definition at line 103 of file llsky.h.
Referenced by cleanup(), init(), LLPipeline::resetVertexBuffers(), LLAgent::setRegion(), updateCull(), LLVOSky::updateSky(), and updateSky().