diff options
author | Jacek Antonelli | 2010-04-21 01:51:11 -0500 |
---|---|---|
committer | Jacek Antonelli | 2010-06-19 02:40:56 -0500 |
commit | bf7bc88cfcdbd08c2afd965844f64bf315ba4b7e (patch) | |
tree | 86c0891401fe8d54db781e3344a9eed1cbeb54af /linden/indra/newview/meta7windlight.h | |
parent | Improved OpenSim Scripting Language function tooltips. (diff) | |
download | meta-impy-bf7bc88cfcdbd08c2afd965844f64bf315ba4b7e.zip meta-impy-bf7bc88cfcdbd08c2afd965844f64bf315ba4b7e.tar.gz meta-impy-bf7bc88cfcdbd08c2afd965844f64bf315ba4b7e.tar.bz2 meta-impy-bf7bc88cfcdbd08c2afd965844f64bf315ba4b7e.tar.xz |
Applied patch for LightShare viewer-side implementation.
Ported from Meta7 viewer by Armin.
Diffstat (limited to 'linden/indra/newview/meta7windlight.h')
-rw-r--r-- | linden/indra/newview/meta7windlight.h | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/linden/indra/newview/meta7windlight.h b/linden/indra/newview/meta7windlight.h new file mode 100644 index 0000000..9bbdf69 --- /dev/null +++ b/linden/indra/newview/meta7windlight.h | |||
@@ -0,0 +1,96 @@ | |||
1 | struct M7Color3{ | ||
2 | M7Color3(){}; | ||
3 | M7Color3(F32 pRed, F32 pGreen, F32 pBlue) | ||
4 | { | ||
5 | red=pRed; | ||
6 | green=pGreen; | ||
7 | blue=pBlue; | ||
8 | } | ||
9 | F32 red; | ||
10 | F32 green; | ||
11 | F32 blue; | ||
12 | }; | ||
13 | |||
14 | struct M7Vector3 { | ||
15 | M7Vector3(){} | ||
16 | M7Vector3(F32 pX, F32 pY, F32 pZ) | ||
17 | { | ||
18 | X=pX; | ||
19 | Y=pY; | ||
20 | Z=pZ; | ||
21 | } | ||
22 | F32 X; | ||
23 | F32 Y; | ||
24 | F32 Z; | ||
25 | |||
26 | }; | ||
27 | |||
28 | struct M7Vector2{ | ||
29 | M7Vector2(){} | ||
30 | M7Vector2(F32 pX, F32 pY) | ||
31 | { | ||
32 | X=pX; | ||
33 | Y=pY; | ||
34 | } | ||
35 | F32 X; | ||
36 | F32 Y; | ||
37 | |||
38 | }; | ||
39 | |||
40 | struct M7Color4 { | ||
41 | M7Color4(){} | ||
42 | M7Color4(F32 pRed, F32 pGreen, F32 pBlue, F32 pAlpha) | ||
43 | { | ||
44 | red=pRed; | ||
45 | green=pGreen; | ||
46 | blue=pBlue; | ||
47 | alpha=pAlpha; | ||
48 | } | ||
49 | F32 red; | ||
50 | F32 green; | ||
51 | F32 blue; | ||
52 | F32 alpha; | ||
53 | }; | ||
54 | |||
55 | struct Meta7WindlightPacket { | ||
56 | Meta7WindlightPacket(){} | ||
57 | M7Color3 waterColor; | ||
58 | F32 waterFogDensityExponent; | ||
59 | F32 underwaterFogModifier; | ||
60 | M7Vector3 reflectionWaveletScale; | ||
61 | F32 fresnelScale; | ||
62 | F32 fresnelOffset; | ||
63 | F32 refractScaleAbove; | ||
64 | F32 refractScaleBelow; | ||
65 | F32 blurMultiplier; | ||
66 | M7Vector2 littleWaveDirection; | ||
67 | M7Vector2 bigWaveDirection; | ||
68 | LLUUID normalMapTexture; | ||
69 | M7Color4 horizon; | ||
70 | F32 hazeHorizon; | ||
71 | M7Color4 blueDensity; | ||
72 | F32 hazeDensity; | ||
73 | F32 densityMultiplier; | ||
74 | F32 distanceMultiplier; | ||
75 | M7Color4 sunMoonColor; | ||
76 | F32 sunMoonPosiiton; | ||
77 | M7Color4 ambient; | ||
78 | F32 eastAngle; | ||
79 | F32 sunGlowFocus; | ||
80 | F32 sunGlowSize; | ||
81 | F32 sceneGamma; | ||
82 | F32 starBrightness; | ||
83 | M7Color4 cloudColor; | ||
84 | M7Vector3 cloudXYDensity; | ||
85 | F32 cloudCoverage; | ||
86 | F32 cloudScale; | ||
87 | M7Vector3 cloudDetailXYDensity; | ||
88 | F32 cloudScrollX; | ||
89 | F32 cloudScrollY; | ||
90 | unsigned short maxAltitude; | ||
91 | char cloudScrollXLock; | ||
92 | char cloudScrollYLock; | ||
93 | char drawClassicClouds; | ||
94 | |||
95 | |||
96 | }; | ||