summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/floater_edit_water_preset.xml
blob: 905983e7fa2b2b07007b34c4fd3501583428a765 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
 legacy_header_height="18"
 height="375"
 layout="topleft"
 name="Edit Water Preset"
 help_topic="water_preset"
 save_rect="true"
 title="Edit Water Preset"
 width="725">

  <string name="title_new">Create a New Water Preset</string>
  <string name="title_edit">Edit a Water Preset</string>
  <string name="hint_new">Name your preset, adjust the controls to create it, and click "Save".</string>
  <string name="hint_edit">To edit your water preset, adjust the controls and click "Save".</string>
  <string name="combo_label">-Select a preset-</string>

  <text
   follows="top|left|right"
   height="10"
   layout="topleft"
   left="30"
   name="hint"
   top="25"
   width="680">
   	To edit your preset, adjust the controls then click "Save"
   </text>
   
   <text
   follows="top|left|right"
   font="SansSerif"
   height="10"
   layout="topleft"
   left="30"
   name="label"
   top_pad="25"
   width="120">
   	Preset Name:
   </text>
   
   <combo_box
   	allow_text_entry="true"
   	follows="top|left"
   	layout="topleft"
   	left_pad="10"
   	max_chars="100"
   	name="water_preset_combo"
   	top_delta="-5"
   	width="200"/>

   <line_editor
    height="20"
    left_delta="0"
    name="water_preset_name"
    top_delta="0"
    width="200" />
   
   <text
   follows="top|left|right"
   height="40"
   layout="topleft"
   left_pad="10"
   name="note"
   top_delta="0"
   width="340"
   wrap="true">
   	Note: if you change the name of your preset, you will be creating a new preset and the existing preset will not be changed.
   </text>
 
 <!--======== Controls panel ========-->
 <panel
  border="false"
  bevel_style="none"
  follows="top|left"
  height="230"
  layout="topleft"
  left="10"
  name="panel_water_preset"
  top="100"
  width="700">
 
<!--======== I conlumn of controls ========-->   
   <text
    follows="left|top|right"
    height="10"
    font="SansSerif"
    layout="topleft"
    left="10"    
    name="water_color_label"
    top="5"
    width="215">
       Water Fog Color
   </text>
   <color_swatch
    can_apply_immediately="true"
    follows="left|top"
    height="37"
    label_height="0"
    layout="topleft"
    left_delta="15"
    name="WaterFogColor"
    top_pad="8"
    width="60" />
    
    
   <text
    follows="left|top|right"
    font="SansSerif"
    layout="topleft"
    left_delta="-15"
    top_pad="10"
    name="water_fog_density_label"
    width="215">
    	Fog Density Exponent
   </text>
   <slider
    decimal_digits="1"
    follows="left|top"
    height="10"
    initial_value="0"
    layout="topleft"
    left_delta="15"
    max_val="10"
    name="WaterFogDensity"
    top_pad="10"
    width="200"/>
    
    
   <text
    follows="left|top|right"
    font="SansSerif"
    layout="topleft"
    left_delta="-15"
    top_pad="15"
    name="underwater_fog_modifier_label"
    width="215">
    	Underwater Fog Modifier
   </text>
   <slider
    decimal_digits="1"
    follows="left|top"
    height="10"
    initial_value="0"
    layout="topleft"
    left_delta="15"
    max_val="10"
    name="WaterUnderWaterFogMod"
    top_pad="10"
    width="200"/>
    
    
    <text
     follows="left|top|right"
     font="SansSerif"
     layout="topleft"
     left_delta="-15"
     name="BHText"
     top_pad="15"
     width="215">
        Big Wave Direction
    </text>    
    <slider
     control_name="WaterWave1DirX"
     decimal_digits="2"
     follows="left|top"
     increment="0.01"
     initial_value="0.7"
     label="X"
     layout="topleft"             
     max_val="4"
     min_val="-4"
     name="WaterWave1DirX"
     top_pad="10"
     width="216"/>    
    <slider
     control_name="WaterWave1DirY"
     decimal_digits="2"
     follows="left|top"
     increment="0.01"
     initial_value="0.7"
     label="Y"
     layout="topleft"
     max_val="4"
     min_val="-4"
     name="WaterWave1DirY"
     top_pad="5"
     width="216"/>
    
<!--======== II conlumn of controls ========-->    
    
    <text
     follows="left|top|right"
     font="SansSerif"
     height="10"
     layout="topleft"
     left_pad="20"
     name="BDensText"
     top="5"
     width="215">
        Reflection Wavelet Scale
    </text>
    <slider
     control_name="WaterNormalScaleX"
     decimal_digits="1"
     follows="left|top"
     initial_value="0.7"
     layout="topleft"
     left_delta="15"
     max_val="10"
     name="WaterNormalScaleX"
     top_pad="10"
     width="200"/>
    <slider
     control_name="WaterNormalScaleY"
     decimal_digits="1"
     follows="left|top"
     initial_value="0.7"
     layout="topleft"
     max_val="10"
     name="WaterNormalScaleY"
     top_pad="6"
     width="200"/>
    <slider
     control_name="WaterNormalScaleZ"
     decimal_digits="1"
     follows="left|top"
     initial_value="0.7"
     layout="topleft"
     max_val="10"
     name="WaterNormalScaleZ"
     top_pad="6"
     width="200"/>
    
    
    <text
     follows="left|top|right"
     font="SansSerif"
     layout="topleft"
     left_delta="-15"
     name="HDText"
     top_pad="16"
     width="215">
        Fresnel Scale
    </text>
    <slider
     control_name="WaterFresnelScale"
     decimal_digits="2"
     follows="left|top"
     height="10"
     increment="0.01"
     initial_value="0.7"
     layout="topleft"
     left_delta="15"
     name="WaterFresnelScale"
     top_pad="10"
     width="200"/>
    <text
     follows="left|top|right"
     font="SansSerif"
     layout="topleft"
     left_delta="-15"
     name="FresnelOffsetText"
     top_pad="15"
     width="215">
        Fresnel Offset
    </text>
    <slider
     control_name="WaterFresnelOffset"
     decimal_digits="2"
     follows="left"
     increment="0.01"
     initial_value="0.7"
     layout="topleft"
     left_delta="15"
     name="WaterFresnelOffset"
     top_pad="10"
     width="200"/>
     
     
     <text
      follows="left|top|right"
      font="SansSerif"
      layout="topleft"
      left_delta="-15"
      name="BHText2"
      top_pad="15"
      width="215">
         Little Wave Direction
     </text>
     <slider
      control_name="WaterWave2DirX"
      decimal_digits="2"
      follows="left|top"
      increment="0.01"
      initial_value="0.7"
      label="X"
      layout="topleft"
      max_val="4"
      min_val="-4"
      name="WaterWave2DirX"
      top_pad="10"
      width="216" />
     <slider
      control_name="WaterWave2DirY"
      decimal_digits="2"
      follows="left|top"
      increment="0.01"
      initial_value="0.7"
      label="Y"
      layout="topleft"
      max_val="4"
      min_val="-4"
      name="WaterWave2DirY"
      top_pad="6"
      width="216" />

<!--======== III conlumn of contorls ========-->

	 <text
      follows="left|top|right"
      font="SansSerif"
      height="16"
      layout="topleft"
      left_pad="20"
      name="DensMultText"
      top="5"
      width="215">
         Refract Scale Above
     </text>
     <slider
      control_name="WaterScaleAbove"
      decimal_digits="2"
      follows="left|top"
      increment="0.01"
      initial_value="0.1"
      layout="topleft"
      left_delta="15"
      name="WaterScaleAbove"
      top_pad="5"
      width="200" />
     
     <text
      type="string"
      length="1"
      follows="left|top|right"
      font="SansSerif"
      height="16"
      layout="topleft"
      left_delta="-15"
      name="WaterScaleBelowText"
      top_pad="15"
      width="215">
         Refract Scale Below
     </text>
     <slider
      control_name="WaterScaleBelow"
      decimal_digits="2"
      follows="left|top"
      height="10"
      increment="0.01"
      initial_value="0"
      layout="topleft"
      left_delta="15"
      name="WaterScaleBelow"
      top_pad="5"
      width="200"/>
     
     <text
      follows="left|top|right"
      font="SansSerif"
      height="16"
      layout="topleft"
      left_delta="-15"
      name="MaxAltText"
      top_pad="15"
      width="215">
         Blur Multiplier
     </text>
     <slider
      control_name="WaterBlurMult"
      follows="left|top"
      height="10"
      increment="0.001"
      initial_value="0"
      layout="topleft"
      left_delta="15"
      max_val="0.16"
      name="WaterBlurMult"
      top_pad="5"
      width="200"/>
      
      <text
       follows="left|top|right"
       font="SansSerif"
       height="16"
       layout="topleft"
       left_delta="-15"
       name="BHText3"
       top_pad="15"
       width="215">
          Normal Map
      </text>
      <texture_picker
       height="80"
       layout="topleft"
       left_delta="15"
       name="WaterNormalMap"
       top_pad="5"
       width="100" />
	</panel>
<!--======== End of Controls panel ========-->	

    <view_border
     bevel_style="none"
     follows="top|left"
     height="0"
     layout="topleft"
     left="10"
     name="horiz_separator"
     top_pad="5"
     width="700"/>
	<check_box
	 follows="top|left"
	 height="10"
	 label="Make this preset my new water setting"
	 layout="topleft"
	 left="275"
	 name="make_default_cb"
	 top_pad="20"
	 width="280"/>
	<button
	 follows="bottom|right"
	 height="23"
	 label="Save"
	 layout="topleft"
	 left_pad="0"
	 name="save"
	 width="70"/>	 
	<button
	 follows="bottom|right"
	 height="23"
	 label="Cancel"
	 layout="topleft"
	 left_pad="15"
	 name="cancel"
	 width="70"/>
	
 </floater>