#include "stdtypes.h"
#include "v3color.h"
#include "v4coloru.h"
#include "llviewerimage.h"
#include "llviewerobject.h"
#include "llframetimer.h"
Include dependency graph for llvosky.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Copyright (c) 2001-2007, Linden Research, Inc.
Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2
There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception
By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.
ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$
Definition in file llvosky.h.
Definition at line 2250 of file llvosky.cpp.
References azimuth(), F_PI, v, VX, and VY.
Referenced by azimuth(), and LLVOAvatar::updateShadowFaces().
LL_FORCE_INLINE LLColor3 calc_air_sca_sea_level | ( | ) |
Definition at line 325 of file llvosky.h.
References ATM_SEA_LEVEL_NDENS, color_div(), e, f, F_PI, fsigma, and refr_ind_calc().
BOOL clip_quad_to_horizon | ( | F32 & | t_left, | |
F32 & | t_right, | |||
LLVector3 | v_clipped[4], | |||
const LLVector3 | v_corner[4], | |||
const F32 | cos_max_angle | |||
) |
Definition at line 1577 of file llvosky.cpp.
References clip_side_to_horizon(), FALSE, S32, and TRUE.
Referenced by LLVOSky::updateHeavenlyBodyGeometry().
Definition at line 1612 of file llvosky.cpp.
References B, e, and LLVector3::mV.
Referenced by clip_quad_to_horizon(), and LLVOSky::updateReflectionGeometry().
Definition at line 73 of file llvosky.h.
References LLColor3::mV.
Referenced by calc_air_sca_sea_level(), and LLVOSky::calcInScatter().
Definition at line 92 of file llvosky.h.
References llmax(), and LLColor3::mV.
Referenced by LLVOSky::calcBrightnessScaleAndColors(), LLVOSky::calcSkyColorInDir(), color_norm(), color_norm_abs(), color_norm_fog(), color_norm_pow(), and LLVOSky::updateBrightestDir().
Definition at line 153 of file llvosky.cpp.
References color_max(), f, and m.
Referenced by LLVOSky::calculateColors(), and LLVOSky::updateFog().
Definition at line 2230 of file llvosky.cpp.
References color_max(), and color_pow().
Referenced by LLVOSky::calculateColors().
Definition at line 235 of file llvosky.cpp.
References LLVector2::magVecSquared(), LLVector2::mV, LLVector3::mV, LLVector3::normVec(), and v.
Referenced by LLVOSky::toHorizon(), and LLVOSky::updateBrightestDir().
Definition at line 311 of file llvosky.h.
References e, f, i, LLColor3::mV, and S32.
Referenced by calc_air_sca_sea_level().
const F32 AIR_SCA_AVG = AIR_SCA_INTENS / 3 |
const F32 AIR_SCA_INTENS = color_intens(gAirScaSeaLevel) |
const F32 ATM_EXP_FALLOFF = 0.000126f |
const F32 ATM_HEIGHT = 100000.f |
const F32 ATM_SEA_LEVEL_NDENS = 2.55e25f |
const F32 EARTH_RADIUS = 6.4e6f |
Definition at line 54 of file llvosky.h.
Referenced by LLTranspMap::calcAirTranspDir(), LLVOSky::calcHeight(), LLTranspMap::calcHeight(), LLVOSky::calcHitsAtmEdge(), LLVOSky::calcHitsEarth(), LLVOSky::cosHorizon(), LLTranspMap::hitsAtmEdge(), LLTranspMap::init(), and LLVOSky::LLVOSky().
const F32 FIRST_STEP = 5000.f |
Definition at line 60 of file llvosky.h.
Referenced by LLTranspMap::calcAirTranspDir(), LLVOSky::calcSkyColorInDir(), and LLVOSky::init().
const LLColor3 gAirScaSeaLevel = calc_air_sca_sea_level() |
const F32 HEAVENLY_BODY_DIST = HORIZON_DIST - 10.f |
const F32 HEAVENLY_BODY_FACTOR = 0.1f |
const F32 HORIZON_DIST = 1024.0f |
Definition at line 50 of file llvosky.h.
Referenced by LLVOSky::updateGeometry(), and LLVOSky::updateReflectionGeometry().
const F32 INV_FIRST_STEP = 1.f/FIRST_STEP |
const F32 INV_NO_STEPS = 1.f/NO_STEPS |
Definition at line 62 of file llvosky.h.
Referenced by LLTranspMap::calcAirTranspDir(), LLVOSky::calcSkyColorInDir(), LLTranspMapSet::calcTransp(), and LLVOSky::init().