summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/floater_model_wizard.xml
blob: f5eda05f1a3bfd96d7e462c34b79a1cf02c74bad (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
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
 legacy_header_height="18"
 layout="topleft"
 name="Model Wizard"
 help_topic="model_wizard"
 bg_opaque_image_overlay="0.5 0.5 0.5 1"
 height="450"
 save_rect="true"
 title="UPLOAD MODEL WIZARD"
 width="530">
	<button
	 top="30"
	 tab_stop="false"
	 left="410"
	 height="32"
	 name="upload_btn"
	 enabled="false"
	 label="5. Upload"
	 border="false"
	 image_unselected="model_wizard/middle_button_off.png"
	 image_selected="model_wizard/middle_button_press.png"
	 image_hover_unselected="model_wizard/middle_button_over.png"
	 image_disabled="model_wizard/middle_button_disabled.png"
	 image_disabled_selected="model_wizard/middle_button_disabled.png"
	 width="110"/>
	<button
	 top="30"
	 left="310"
	 height="32"
	 tab_stop="false"
	 name="review_btn"
	 label="4. Review"
	 enabled="false"
	 border="false"
	 image_unselected="model_wizard/middle_button_off.png"
	 image_selected="model_wizard/middle_button_press.png"
	 image_hover_unselected="model_wizard/middle_button_over.png"
	 image_disabled="model_wizard/middle_button_disabled.png"
	 image_disabled_selected="model_wizard/middle_button_disabled.png"
	 width="110"/>
	<button
	 top="30"
	 left="210"
	 height="32"
	 name="physics_btn"
	 label="3. Physics"
	 tab_stop="false"
	 enabled="false"
	 border="false"
	 image_unselected="model_wizard/middle_button_off.png"
	 image_selected="model_wizard/middle_button_press.png"
	 image_hover_unselected="model_wizard/middle_button_over.png"
	 image_disabled="model_wizard/middle_button_disabled.png"
	 image_disabled_selected="model_wizard/middle_button_disabled.png"
	 width="110"/>
	<button
	 top="30"
	 left="115"
	 name="optimize_btn"
	 label="2. Optimize"
	 tab_stop="false"
	 height="32"
	 border="false"
	 image_unselected="model_wizard/middle_button_off.png"
	 image_selected="model_wizard/middle_button_press.png"
	 image_hover_unselected="model_wizard/middle_button_over.png"
	 image_disabled="model_wizard/middle_button_disabled.png"
	 image_disabled_selected="model_wizard/middle_button_disabled.png"
	 width="110"/>
	<button
	 top="30"
	 left="15"
	 name="choose_file_btn"
	 tab_stop="false"
	 enabled="false"
	 label="1. Choose File"
	 height="32"
	 image_unselected="model_wizard/left_button_off.png"
	 image_selected="model_wizard/left_button_press.png"
	 image_hover_unselected="model_wizard/left_button_over.png"
	 image_disabled="model_wizard/left_button_disabled.png"
	 image_disabled_selected="model_wizard/left_button_disabled.png"
	 width="110"/>
	<panel
		 height="388"
		 top_pad="0"
		 name="choose_file_panel"
		 visible="true"
		 width="530"
		 left="0">
		<panel
		 height="20"
		 top_pad="20"
		 width="500"
		 name="header_panel"
		 bg_opaque_color="DkGray2"
		 background_visible="true"
		 background_opaque="true"
		 left="20">
			<text
			 width="200"
			 left="10"
			 top="2"
			 name="header_text"
			 height="10"
			 font="SansSerifBig"
			 layout="topleft">
				Upload Model
			</text>
		</panel>
		<text
		 top_pad="14"
		 width="460"
		 height="20"
		 name="description"
		 font="SansSerifSmall"
		 layout="topleft"
		 word_wrap="true"
		 left_delta="0">
			This wizard will help you import mesh models to Second Life.  First specify a file containing the model you wish to import.  Second Life supports COLLADA (.dae) files.
		</text>
		<panel
		 top_delta="40"
		 left="15"
		 height="240"
		 width="500"
		 name="content"
		 bg_opaque_color="DkGray2"
		 background_visible="true"
		 background_opaque="true">
			<text
			 type="string"
			 length="1"
			 follows="left|top"
			 top="10"
			 height="10"
			 layout="topleft"
			 left_delta="10"
			 name="Cache location"
			 width="300">
				Filename:
			</text>
			<line_editor
			 border_style="line"
			 border_thickness="1"
			 follows="left|top"
			 font="SansSerifSmall"
			 height="20"
			 layout="topleft"
			 left_delta="0"
			 max_length="4096"
			 name="lod_file"
			 top_pad="5"
			 width="220" />
			<button
			 follows="left|top"
			 height="23"
			 label="Browse..."
			 label_selected="Browse..."
			 layout="topleft"
			 left_pad="10"
			 name="browse"
			 top_delta="-1"
			 width="75">
			</button>
			<text
			 top_delta="-15"
			 width="200"
			 height="15"
			 font="SansSerifSmall"
			 layout="topleft"
			 left_pad="24">
				Model Preview:
			</text>
			<!-- Placeholder panel for 3D preview render -->
			<panel
			 left_delta="-2"
			 top_pad="0"
			 name="preview_panel"
			 bevel_style="none"
			 border_style="line"
			 border="true"
			 height="150"
			 follows="all"
			 width="150">
			</panel>
			<text
			 top_pad="10"
			 width="130"
			 height="15"
			 left="340"
			 word_wrap="true">
				Dimensions (meters):
			</text>
			<text
			 top_pad="5"
			 width="160"
			 height="15"
			 name="import_dimensions"
			 left_delta="0">
				X:  [X] |  Y:  [Y] | Z: [Z]
			</text>
			<text
			 top="100"
			 width="320"
			 height="40"
			 left="10"
			 word_wrap="true">
				Note:
Advanced users familiar with 3d content creation tools may prefer to use the Advanced Mesh Import window.
			</text>
		</panel>
	</panel>


	<panel
		 height="388"
		 top_delta="0"
		 name="optimize_panel"
		 visible="false"
		 width="530"
		 left="0">
		<panel
		 height="20"
		 top_pad="20"
		 name="header_panel"
		 width="500"
		 bg_opaque_color="DkGray2"
		 background_visible="true"
		 background_opaque="true"
		 left="20">
			<text
			 width="200"
			 left="10"
			 name="header_text"
			 top="2"
			 height="10"
			 font="SansSerifBig"
			 layout="topleft">
				Optimize
			</text>
		</panel>
		<text
		 top_pad="14"
		 width="460"
		 height="20"
		 font="SansSerifSmall"
		 layout="topleft"
		 name="description"
		 word_wrap="true"
		 left_delta="0">
			This wizard is optimizing your model. This may take several minutes. To stop the process click the back button
		</text>
		<panel
		 top_delta="40"
		 visible="false"
		 left="15"
		 height="240"
		 width="500"
		 name="content"
		 bg_opaque_color="DkGray2"
		 background_visible="true"
		 background_opaque="true">
			<text
			 top="20"
			 width="300"
			 height="12"
			 font="SansSerifBold"
			 left="112">Generating Level of Detail</text>
			<progress_bar
			  name="optimize_progress_bar"
              image_fill="model_wizard\progress_light.png"
			  color_bg="1 1 1 1"
			  color_bar="1 1 1 0.96"
			  follows="left|right|top"
			  width="260"
			  height="16"
			  image_bar="model_wizard\progress_bar_bg.png"
			  top_pad="14"
			  left="110"/>
			<icon
			 top_pad="10"
			 left_delta="0"
			 width="13"
			 height="12"
			 image_name="model_wizard\check_mark.png"/>
			<text
			 top_delta="0"
			 left_delta="18"
			 name="high_detail_text"
			 width="200"
			 height="14">Generate Level of Detail: High</text>
			<icon
			 top_pad="10"
			 left_delta="-18"
			 width="13"
			 height="12"
			 image_name="model_wizard\check_mark.png"/>
			<text
			 top_delta="0"
			 left_delta="18"
			 name="medium_detail_text"
			 width="200"
			 height="14">Generate Level of Detail: Medium</text>
			<icon
			 top_pad="10"
			 left_delta="-18"
			 width="13"
			 height="12"
			 image_name="model_wizard\check_mark.png"/>
			<text
			 top_delta="0"
			 left_delta="18"
			 name="low_detail_text"
			 width="200"
			 height="14">Generate Level of Detail: Low</text>
			<icon
			 top_pad="10"
			 left_delta="-18"
			 width="13"
			 height="12"
			 image_name="model_wizard\check_mark.png"/>
			<text
			 top_delta="0"
			 left_delta="18"
			 name="lowest_detail_text"
			 width="200"
			 height="14">Generate Level of Detail: Lowest</text>
		</panel>
		<panel
				 top_delta="0"
				 left_delta="0"
				 height="240"
				 width="500"
				 name="content2"
				 bg_opaque_color="DkGray2"
				 background_visible="true"
				 background_opaque="true">
			<text top="10" left="10" width="85"  follows="left|top" height="15" name="lod_label">
				Model Preview:
			</text>
			<combo_box left_pad="5" top_delta="-2"  follows="left|top" list_position="below" height="18"
	     name="preview_lod_combo" width="90" tool_tip="LOD to view in preview render">
				<combo_item name="high">
					High
				</combo_item>
				<combo_item name="medium">
					Medium
				</combo_item>
				<combo_item name="lowest">
					Lowest
				</combo_item>
				<combo_item name="low">
					Low
				</combo_item>
			</combo_box>
			<panel
				 left="10"
				 top_pad="5"
				 name="preview_panel"
				 bevel_style="none"
				 border_style="line"
				 border="true"
				 height="175"
				 follows="all"
				 width="175">
			</panel>
			<text top="50" left="210"  font="SansSerifSmallBold" width="300" height="4">Performance                            Accuracy</text>

			<slider
		   follows="left|top"
		   height="20"
		   increment="1"
		   layout="topleft"
		   left="220"
		   max_val="2"
		   initial_value="1"
		   min_val="0"
		   name="accuracy_slider"
		   show_text="false"
		   top="105"
		   width="250" />
			<text font="SansSerifSmall" top_pad="4"  width="300" left_delta="6" height="4">|                                      |                                      |</text>

		</panel>
	</panel>



	<panel
		 height="388"
		 top_delta="0"
		 name="physics_panel"
		 visible="false"
		 width="530"
		 left="0">
		<panel
		 height="20"
		 top_pad="20"
		 name="header_panel"
		 width="500"
		 bg_opaque_color="DkGray2"
		 background_visible="true"
		 background_opaque="true"
		 left="20">
			<text
			 width="200"
			 left="10"
			 name="header_text"
			 top="2"
			 height="10"
			 font="SansSerifBig"
			 layout="topleft">
				Physics
			</text>
		</panel>
		<text
		 top_pad="14"
		 width="460"
		 height="20"
		 font="SansSerifSmall"
		 layout="topleft"
		 name="description"
		 word_wrap="true"
		 left_delta="0">
			The wizard will create a physical shape, which determines how the object interacts with other objects and avatars. Set the slider to the detail level most appropriate for how your object will be used:
		</text>
		<panel
		 top_delta="40"
		 left="15"
		 height="240"
		 width="500"
		 name="content"
		 bg_opaque_color="DkGray2"
		 background_visible="true"
		 background_opaque="true"/>
	</panel>


	<panel
		 height="388"
		 top_delta="0"
		 name="review_panel"
		 visible="false"
		 width="530"
		 left="0">
		<panel
		 height="20"
		 top_pad="20"
		 name="header_panel"
		 width="500"
		 bg_opaque_color="DkGray2"
		 background_visible="true"
		 background_opaque="true"
		 left="20">
			<text
			 width="200"
			 left="10"
			 name="header_text"
			 top="2"
			 height="10"
			 font="SansSerifBig"
			 layout="topleft">
				Review
			</text>
		</panel>
		<text
		 top_pad="14"
		 width="460"
		 height="20"
		 font="SansSerifSmall"
		 layout="topleft"
		 name="description"
		 word_wrap="true"
		 left_delta="0">
			Review the details below then click. Upload to upload your model. Your L$ balance will be charged when you click Upload.
		</text>
		<panel
		 top_delta="40"
		 left="15"
		 height="240"
		 width="500"
		 name="content"
		 bg_opaque_color="DkGray2"
		 background_visible="true"
		 background_opaque="true"/>
	</panel>




	<panel
		 height="388"
		 top_delta="0"
		 name="upload_panel"
		 visible="false"
		 width="530"
		 left="0">
		<panel
		 height="20"
		 top_pad="20"
		 name="header_panel"
		 width="500"
		 bg_opaque_color="DkGray2"
		 background_visible="true"
		 background_opaque="true"
		 left="20">
			<text
			 width="200"
			 left="10"
			 name="header_text"
			 top="2"
			 height="10"
			 font="SansSerifBig"
			 layout="topleft">
				Upload Complete!
			</text>
		</panel>
		<text
		 top_pad="14"
		 width="460"
		 height="20"
		 font="SansSerifSmall"
		 layout="topleft"
		 name="description"
		 word_wrap="true"
		 left_delta="0">
			Congratulations! Your model has been sucessfully uploaded.  You will find the model in the Objects folder in your inventory.
		</text>
		<panel
		 top_delta="40"
		 left="15"
		 height="240"
		 width="500"
		 name="content"
		 bg_opaque_color="DkGray2"
		 background_visible="true"
		 background_opaque="true">
			<button top="10" follows="top|left" height="20" label="Upload"
				   left="15" width="80" name="ok_btn" tool_tip="Upload to simulator"/>
		</panel>
	</panel>



	<button
	 top="410"
	 right="-245"
	 width="90"
	 height="20"
	 name="back"
	 label="&lt;&lt; Back" />
	<button
	 top_delta="0"
	 right="-150"
	 width="90"
	 height="20"
	 name="next"
	 label="Next &gt;&gt; " />
	<button
	 top_delta="0"
	 right="-15"
	 width="90"
	 height="20"
	 name="cancel"
	 label="Cancel" />
	<spinner visible="false" left="10" height="20" follows="top|left" width="80" top_pad="-50" value="1.0" min_val="0.01" max_val="64.0" name="import_scale"/>

	<string name="status_idle">Idle</string>
	<string name="status_reading_file">Loading...</string>
	<string name="status_generating_meshes">Generating Meshes...</string>
	<string name="high">High</string>
	<string name="medium">Medium</string>
	<string name="low">Low</string>
	<string name="lowest">Lowest</string>
	<string name="mesh_status_good">Ship it!</string>
	<string name="mesh_status_na">N/A</string>
	<string name="mesh_status_none">None</string>
	<string name="mesh_status_submesh_mismatch">Levels of detail have a different number of textureable faces.</string>
	<string name="mesh_status_mesh_mismatch">Levels of detail have a different number of mesh instances.</string>
	<string name="mesh_status_too_many_vertices">Level of detail has too many vertices.</string>
	<string name="mesh_status_missing_lod">Missing required level of detail.</string>
	<string name="layer_all">All</string>
	<!-- Text to display in physics layer combo box for "all layers" -->

</floater>