PageRenderTime 92ms CodeModel.GetById 81ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml

https://bitbucket.org/lindenlab/viewer-beta/
XML | 808 lines | 802 code | 6 blank | 0 comment | 0 complexity | 99059105755fd34a278e68b4e82d3d2f MD5 | raw file
  1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2<panel
  3 border="true"
  4 follows="left|top|right|bottom"
  5 height="418"
  6 label="Graphics"
  7 layout="topleft"
  8 left="102"
  9 name="Display panel"
 10 top="1"
 11 width="517">
 12    <text
 13     type="string"
 14     length="1"
 15     follows="left|top"
 16     height="12"
 17     layout="topleft"
 18     left="30"
 19     name="QualitySpeed"
 20     top="10" 
 21     width="400">
 22        Quality and speed:
 23    </text>
 24    <text
 25     type="string"
 26     length="1"
 27     follows="left|top"
 28     halign="right"
 29     height="12"
 30     layout="topleft"
 31     left="35"
 32     name="FasterText"
 33     top_pad="4"
 34     width="80">
 35        Faster
 36    </text>
 37    <text
 38     type="string"
 39     length="1"
 40     follows="left|top"
 41     height="12"
 42     layout="topleft"
 43     left_delta="360"
 44     name="BetterText"
 45     top_delta="0"
 46     width="100">
 47        Better
 48    </text>
 49    <icon
 50     color="0.12 0.12 0.12 1"
 51     height="14"
 52     image_name="Rounded_Square"
 53     layout="topleft"
 54     left="128"
 55     name="LowGraphicsDivet"
 56     top_delta="-2"
 57     width="2" />
 58    <icon
 59     color="0.12 0.12 0.12 1"
 60     height="14"
 61     image_name="Rounded_Square"
 62     layout="topleft"
 63     left_pad="83"
 64     name="MidGraphicsDivet"
 65     top_delta="0"
 66     width="2" />
 67    <icon
 68     color="0.12 0.12 0.12 1"
 69     height="14"
 70     image_name="Rounded_Square"
 71     layout="topleft"
 72     left_pad="85"
 73     name="HighGraphicsDivet"
 74     top_delta="0"
 75     width="2" />
 76    <icon
 77     color="0.12 0.12 0.12 1"
 78     height="14"
 79     image_name="Rounded_Square"
 80     layout="topleft"
 81     left_pad="83"
 82     name="UltraGraphicsDivet"
 83     top_delta="0"
 84     width="2" />
 85    <slider
 86     control_name="RenderQualityPerformance"
 87     decimal_digits="0"
 88     follows="left|top"
 89     height="16"
 90     increment="1"
 91     initial_value="0"
 92     layout="topleft"
 93     left="120"
 94     max_val="3"
 95     name="QualityPerformanceSelection"
 96     show_text="false"
 97     top_delta="-2"
 98     width="275">
 99	 <slider.commit_callback
100			function="Pref.QualityPerformance"/>
101	</slider>		
102    <text
103     type="string"
104     length="1"
105     follows="left|top"
106     halign="center"
107     height="12"
108     layout="topleft"
109     left="88"
110     name="ShadersPrefText"
111     top_delta="20"
112     width="80">
113        Low
114    </text>
115    <text
116     type="string"
117     length="1"
118     follows="left|top"
119     halign="center"
120     height="12"
121     layout="topleft"
122     left_delta="87"
123     name="ShadersPrefText2"
124     top_delta="0"
125     width="80">
126        Mid
127    </text>
128    <text
129     type="string"
130     length="1"
131     follows="left|top"
132     halign="center"
133     height="12"
134     layout="topleft"
135     left_delta="87"
136     name="ShadersPrefText3"
137     top_delta="0"
138     width="80">
139        High
140    </text>
141    <text
142     type="string"
143     length="1"
144     follows="left|top"
145     halign="center"
146     height="12"
147     layout="topleft"
148     left_delta="85"
149     name="ShadersPrefText4"
150     top_delta="0"
151     width="80">
152        Ultra
153    </text>
154    <panel
155	 visiblity_control="ShowAdvancedGraphicsSettings"
156     border="false"
157	 follows="top|left"
158     height="300"
159     label="CustomGraphics"
160     layout="topleft"
161     left="5"
162     name="CustomGraphics Panel"
163     top="76"
164     width="485">
165		<text
166		 type="string"
167		 length="1"
168		 follows="left|top"
169		 height="12"
170		 layout="topleft"
171		 left_delta="5"
172		 name="ShadersText"
173		 top="3"
174		 width="128">
175			Shaders:
176		</text>
177		<check_box
178		 control_name="RenderTransparentWater"
179		 height="16"
180		 initial_value="true"
181		 label="Transparent Water"
182		 layout="topleft"
183		 left_delta="0"
184		 name="TransparentWater"
185		 top_pad="7"
186		 width="256" />
187		<check_box
188		 control_name="RenderObjectBump"
189		 height="16"
190		 initial_value="true"
191		 label="Bump mapping and shiny"
192		 layout="topleft"
193		 left_delta="0"
194		 name="BumpShiny"
195		 top_pad="1"
196		width="256" />
197    <check_box
198		control_name="RenderLocalLights"
199		height="16"
200		initial_value="true"
201		label="Local Lights"
202		layout="topleft"
203		left_delta="0"
204		name="LocalLights"
205		 top_pad="1"
206		 width="256" />
207		  <check_box
208		 control_name="VertexShaderEnable"
209		 height="16"
210		 initial_value="true"
211		 label="Basic shaders"
212		 layout="topleft"
213		 left_delta="0"
214		 name="BasicShaders"
215		 tool_tip="Disabling this option may prevent some graphics card drivers from crashing"
216		 top_pad="1"
217		 width="315">
218			<check_box.commit_callback
219		     function="Pref.VertexShaderEnable" />
220		</check_box>
221		<check_box
222		 control_name="WindLightUseAtmosShaders"
223		 height="16"
224		 initial_value="true"
225		 label="Atmospheric shaders"
226		 layout="topleft"
227		 left_delta="0"
228		 name="WindLightUseAtmosShaders"
229		 top_pad="1"
230		 width="256">
231			<check_box.commit_callback
232			 function="Pref.VertexShaderEnable" />
233		</check_box>
234    	<check_box
235		 control_name="RenderDeferred"
236		 height="16"
237		 initial_value="true"
238		 label="Lighting and Shadows"
239		 layout="topleft"
240		 left_delta="0"
241		 name="UseLightShaders"
242		 top_pad="1"
243		 width="256">
244         	<check_box.commit_callback
245			 function="Pref.VertexShaderEnable" />
246    	</check_box>
247    	<check_box
248		 control_name="RenderDeferredSSAO"
249		 height="16"
250		 initial_value="true"
251		 label="Ambient Occlusion"
252		 layout="topleft"
253		 left_delta="0"
254		 name="UseSSAO"
255		 top_pad="1"
256		 width="256">
257         	<check_box.commit_callback
258			 function="Pref.VertexShaderEnable" />
259    	</check_box>
260      <check_box
261		 control_name="RenderDepthOfField"
262		 height="16"
263		 initial_value="true"
264		 label="Depth of Field"
265		 layout="topleft"
266		 left_delta="0"
267		 name="UseDoF"
268		 top_pad="1"
269		 width="256">
270        <check_box.commit_callback
271     function="Pref.VertexShaderEnable" />
272      </check_box>
273
274        <text
275         type="string"
276         length="1"
277         top_pad="8"
278         follows="top|left"
279         height="23"
280         width="110"
281         word_wrap="true"
282         layout="topleft"
283         left="10"
284         name="shadows_label">
285         	Shadows:
286        </text>
287        <combo_box
288         control_name="RenderShadowDetail"
289         height="23"
290         layout="topleft"
291         left="10"
292         top_pad="0" 
293         name="ShadowDetail"
294         width="150">
295           <combo_box.item
296            label="None"
297            name="0"
298            value="0"/>
299           <combo_box.item
300            label="Sun/Moon"
301            name="1"
302            value="1"/>
303           <combo_box.item
304            label="Sun/Moon + Projectors"
305            name="2"
306            value="2"/>
307        </combo_box>
308
309        <text
310         type="string"
311         length="1"
312         top_pad="8"
313         follows="top|left"
314         height="12"
315         width="110"
316         word_wrap="true"
317         layout="topleft"
318         left="05"
319         name="reflection_label">
320            Water Reflections:
321        </text>
322        <combo_box
323         control_name="RenderReflectionDetail"
324         height="18"
325         layout="topleft"
326         left_delta="10"
327         top_pad ="3"
328         name="Reflections"
329         width="150">
330            <combo_box.item
331             label="Minimal"
332             name="0"
333             value="0"/>
334            <combo_box.item
335             label="Terrain and trees"
336             name="1"
337             value="1"/>
338            <combo_box.item
339             label="All static objects"
340             name="2"
341             value="2"/>
342            <combo_box.item
343             label="All avatars and objects"
344             name="3"
345             value="3"/>
346            <combo_box.item
347             label="Everything"
348             name="4"
349             value="4"/>
350        </combo_box>
351    
352        <slider
353        control_name="RenderAvatarPhysicsLODFactor"
354        follows="left|top"
355        height="16"
356        initial_value="100"
357	increment=".05"
358        label="  Avatar Physics:"
359        label_width="85"
360        layout="topleft"
361        left_delta="-16"
362        name="AvatarPhysicsDetail"
363        show_text="false"
364        top_pad="12"
365        width="160">
366           <slider.commit_callback
367            function="Pref.UpdateSliderText"
368            parameter="AvatarPhysicsDetailText" />
369        </slider>
370        <text
371        type="string"
372        length="1"
373        follows="left|top"
374        height="12"
375        layout="topleft"
376        left_delta="165"
377        name="AvatarPhysicsDetailText"
378        top_pad="-16"
379        width="128">
380           Low
381        </text>
382
383		<slider
384		 control_name="RenderFarClip"
385		 decimal_digits="0"
386		 follows="left|top"
387		 height="16"
388		 increment="8"
389		 initial_value="160"
390		 label="Draw distance:"
391		 label_width="185"
392		 layout="topleft"
393		 left="200"
394		 max_val="512"
395		 min_val="64"
396		 name="DrawDistance"
397		 top="3"
398		 width="296" />
399		<text
400		 type="string"
401		 length="1"
402		 follows="left|top"
403		 height="12"
404		 layout="topleft"
405		 left_delta="291"
406		 name="DrawDistanceMeterText2"
407		 top_delta="0"
408		 width="128">
409			m
410		</text>    
411		<slider
412		 control_name="RenderMaxPartCount"
413		 decimal_digits="0"
414		 follows="left|top"
415		 height="16"
416		 increment="256"
417		 initial_value="4096"
418		 label="Max. particle count:"
419		 label_width="185"
420		 layout="topleft"
421		 left="200"
422		 max_val="8192"
423		 name="MaxParticleCount"
424		 top_pad="7"
425		 width="303" />
426        <slider
427         control_name="RenderAvatarMaxVisible"
428         decimal_digits="0"
429         follows="left|top"
430         height="16"
431         increment="1"
432         initial_value="12"
433         label="Max. # of non-impostor avatars:"
434         label_width="185"
435         layout="topleft"
436         left_delta="0"
437         max_val="65"
438         min_val="1"
439         name="MaxNumberAvatarDrawn"
440         top_pad="4"
441         width="290" />
442		<slider
443 		 control_name="RenderGlowResolutionPow"
444		 decimal_digits="0"
445		 follows="left|top"
446		 height="16"
447		 increment="1"
448		 initial_value="8"
449		 label="Post process quality:"
450		 label_width="185"
451		 layout="topleft"
452		 left="200"
453		 max_val="9"
454		 min_val="8"
455		 name="RenderPostProcess"
456		 show_text="false"
457		 top_pad="4"
458		 width="264">
459			<slider.commit_callback
460			 function="Pref.UpdateSliderText"
461			 parameter="PostProcessText" />
462		</slider>
463		<text
464		 type="string"
465		 length="1"
466		 follows="left|top"
467		 height="12"
468		 layout="topleft"
469		 left_delta="0"
470		 name="MeshDetailText"
471		 top_pad="5"
472		 width="128">
473			Mesh detail:
474		</text>
475		<slider
476		 control_name="RenderVolumeLODFactor"
477		 follows="left|top"
478		 height="16"
479		 increment="0.125"
480		 initial_value="160"
481		 label="  Objects:"
482		 label_width="185"
483		 layout="topleft"
484		 left_delta="0"
485		 max_val="2"
486		 name="ObjectMeshDetail"
487		 show_text="false"
488		 top_pad="6"
489		 width="264">
490			<slider.commit_callback
491			 function="Pref.UpdateSliderText"
492			 parameter="ObjectMeshDetailText" />
493		</slider>
494		<slider
495		 control_name="RenderFlexTimeFactor"
496		 follows="left|top"
497		 height="16"
498		 initial_value="160"
499		 label="  Flexiprims:"
500		 label_width="185"
501		 layout="topleft"
502		 left_delta="0"
503		 name="FlexibleMeshDetail"
504		 show_text="false"
505		 top_pad="4"
506		 width="264">
507			<slider.commit_callback
508			 function="Pref.UpdateSliderText"
509			 parameter="FlexibleMeshDetailText" />
510		</slider>
511        <slider
512         control_name="RenderTreeLODFactor"
513         follows="left|top"
514         height="16"
515         increment="0.125"
516         initial_value="160"
517         label="  Trees:"
518         label_width="185"
519         layout="topleft"
520         left_delta="0"
521         name="TreeMeshDetail"
522         show_text="false"
523         top_pad="4"
524         width="264">
525            <slider.commit_callback
526             function="Pref.UpdateSliderText"
527             parameter="TreeMeshDetailText" />
528            </slider>
529        <slider
530         control_name="RenderAvatarLODFactor"
531         follows="left|top"
532         height="16"
533         increment="0.125"
534         initial_value="160"
535         label="  Avatars:"
536         label_width="185"
537         layout="topleft"
538         left_delta="0"
539         name="AvatarMeshDetail"
540         show_text="false"
541         top_pad="4"
542         width="264">
543            <slider.commit_callback
544             function="Pref.UpdateSliderText"
545             parameter="AvatarMeshDetailText" />
546        </slider>
547        <slider
548         control_name="RenderTerrainLODFactor"
549         follows="left|top"
550         height="16"
551         increment="0.125"
552         initial_value="160"
553         label="  Terrain:"
554         label_width="185"
555         layout="topleft"
556         left_delta="0"
557         max_val="2"
558         min_val="1"
559         name="TerrainMeshDetail"
560         show_text="false"
561         top_pad="4"
562         width="264">
563            <slider.commit_callback
564             function="Pref.UpdateSliderText"
565             parameter="TerrainMeshDetailText" />
566        </slider>
567        <slider
568         control_name="WLSkyDetail"
569		 enabled_control="WindLightUseAtmosShaders"
570         decimal_digits="0"
571         follows="left|top"
572         height="16"
573         increment="8"
574         initial_value="160"
575         label="  Sky:"
576         label_width="185"
577         layout="topleft"
578         left_delta="0"
579         max_val="128"
580         min_val="16"
581         name="SkyMeshDetail"
582         show_text="false"
583         top_pad="4"
584         width="264">
585            <slider.commit_callback
586             function="Pref.UpdateSliderText"
587             parameter="SkyMeshDetailText" />
588        </slider>
589        <text
590         type="string"
591         length="1"
592         follows="left|top"
593         height="12"
594         layout="topleft"
595         left="469"
596         name="PostProcessText"
597         top="60"
598         width="128">
599            Low
600        </text>
601        <text
602         type="string"
603         length="1"
604         follows="left|top"
605         height="12"
606         layout="topleft"
607         left_delta="0"
608         name="ObjectMeshDetailText"
609         top_pad="26"
610         width="128">
611            Low
612        </text>
613        <text
614         type="string"
615         length="1"
616         follows="left|top"
617         height="12"
618         layout="topleft"
619         left_delta="0"
620         name="FlexibleMeshDetailText"
621         top_pad="8"
622         width="128">
623            Low
624        </text>
625        <text
626         type="string"
627         length="1"
628         follows="left|top"
629         height="12"
630         layout="topleft"
631         left_delta="0"
632         name="TreeMeshDetailText"
633         top_pad="8"
634         width="128">
635            Low
636        </text>
637        <text
638         type="string"
639         length="1"
640         follows="left|top"
641         height="12"
642         layout="topleft"
643         left_delta="0"
644         name="AvatarMeshDetailText"
645         top_pad="8"
646         width="128">
647            Low
648        </text>
649        <text
650         type="string"
651         length="1"
652         follows="left|top"
653         height="12"
654         layout="topleft"
655         left_delta="0"
656         name="TerrainMeshDetailText"
657         top_pad="8"
658         width="128">
659            Low
660        </text>
661        <text
662		 enabled_control="WindLightUseAtmosShaders"
663         type="string"
664         length="1"
665         follows="left|top"
666         height="12"
667         layout="topleft"
668         left_delta="0"
669         name="SkyMeshDetailText"
670         top_pad="8"
671         width="128">
672            Low
673        </text>
674
675        <text
676         type="string"
677         length="1"
678         follows="left|top"
679         height="12"
680         layout="topleft"
681         left_delta="-260"
682         name="AvatarRenderingText"
683         top_pad="18"
684         width="128">
685        Avatar Rendering:
686      </text>
687      <check_box
688       control_name="RenderUseImpostors"
689       height="16"
690       initial_value="true"
691       label="Avatar impostors"
692       layout="topleft"
693       left_delta="0"
694       name="AvatarImpostors"
695       top_pad="7"
696       width="256" />
697      <check_box
698       control_name="RenderAvatarVP"
699       height="16"
700       initial_value="true"
701       label="Hardware skinning"
702       layout="topleft"
703       left_delta="0"
704       name="AvatarVertexProgram"
705       top_pad="1"
706       width="256">
707          <check_box.commit_callback
708           function="Pref.VertexShaderEnable" />
709      </check_box>
710      <check_box
711       control_name="RenderAvatarCloth"
712       height="16"
713       initial_value="true"
714       label="Avatar cloth"
715       layout="topleft"
716       left_delta="0"
717       name="AvatarCloth"
718       top_pad="1"
719       width="256" />
720      <text
721       type="string"
722       length="1"
723       follows="left|top"
724       height="12"
725       layout="topleft"
726       left="407"
727       left_pad="-30"
728       name="TerrainDetailText"
729        top="250"
730       width="155">
731          Terrain detail:
732      </text>
733      <radio_group
734       control_name="RenderTerrainDetail"
735       draw_border="false"
736       height="38"
737       layout="topleft"
738       left_delta="5"
739       name="TerrainDetailRadio"
740       top_pad="5"
741       width="70">
742          <radio_item
743           height="16"
744           label="Low"
745           layout="topleft"
746           name="0"
747           top="3"
748           width="50" />
749          <radio_item
750           height="16"
751           label="High"
752           layout="topleft"
753           name="2"
754           top_delta="16"
755           width="50" />
756      </radio_group> -->
757	</panel>
758	
759    <button
760     follows="left|bottom"
761     height="23"
762     label="Apply"
763     label_selected="Apply"
764     layout="topleft"
765     left="10"
766     name="Apply"
767     top="390"
768     width="115">
769        <button.commit_callback
770         function="Pref.Apply" />
771    </button>
772    <button
773     follows="left|bottom"
774     height="23"
775     label="Reset"
776     layout="topleft"
777     left_pad="3"
778     name="Defaults"
779     top="390"
780     width="115">
781        <button.commit_callback
782         function="Pref.HardwareDefaults" />
783    </button>
784    <button
785     control_name="ShowAdvancedGraphicsSettings"
786     follows="right|bottom"
787     height="23"
788     is_toggle="true"
789     label="Advanced"
790     layout="topleft"
791     left_pad="35"
792     name="Advanced"
793     top_delta="0"
794     width="115" />
795    <button
796     follows="right|bottom"
797     height="23"
798     label="Hardware"
799     label_selected="Hardware"
800     layout="topleft"
801     left_pad="3"
802     name="GraphicsHardwareButton"
803     top_delta="0"
804     width="115">
805        <button.commit_callback
806         function="Pref.HardwareSettings" />
807    </button>
808</panel>