Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Black Dragon Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Logue
Black Dragon Viewer
Commits
01cf98ce
Commit
01cf98ce
authored
2 years ago
by
Andrey Kleshchev
Browse files
Options
Downloads
Patches
Plain Diff
SL-18039 Added scroll into material editor
parent
7bb53158
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/skins/default/xui/en/floater_material_editor.xml
+396
-371
396 additions, 371 deletions
.../newview/skins/default/xui/en/floater_material_editor.xml
with
396 additions
and
371 deletions
indra/newview/skins/default/xui/en/floater_material_editor.xml
+
396
−
371
View file @
01cf98ce
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
legacy_header_height=
"18"
can_resize=
"
fals
e"
can_resize=
"
tru
e"
default_tab_group=
"1"
height=
"887"
width=
"256"
min_height=
"500"
min_width=
"256"
layout=
"topleft"
name=
"material editor"
help_topic=
"material_editor"
title=
"[MATERIAL_NAME]"
width=
"256"
>
title=
"[MATERIAL_NAME]"
>
<string
name=
"no_upload_fee_string"
>
no upload fee
</string>
<string
name=
"upload_fee_string"
>
L$[FEE] upload fee
</string>
<check_box
follows=
"left|top"
label=
"Double Sided"
left=
"14"
top=
"14"
name=
"double sided"
height=
"25"
width=
"120"
/>
<panel
border=
"true"
follows=
"left|top"
width=
"246"
height=
"196"
layout=
"topleft"
left=
"5"
mouse_opaque=
"false"
name=
"albedo_texture_pnl"
top_pad=
"5"
>
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left=
"10"
top=
"5"
width=
"64"
>
Albedo:
</text>
<texture_picker
can_apply_immediately=
"true"
default_image_name=
"Default"
fallback_image=
"materials_ui_x_24.png"
allow_no_texture=
"true"
<scroll_container
name=
"materials_scroll"
top=
"14"
left=
"4"
height=
"768"
width=
"247"
follows=
"all"
layout=
"topleft"
color=
"DkGray2"
opaque=
"true"
reserve_scroll_corner=
"false"
>
<panel
border=
"false"
name=
"scroll_panel"
top=
"0"
left=
"0"
height=
"768"
width=
"247"
>
<check_box
follows=
"left|top"
label=
"Double Sided"
left=
"10"
top=
"0"
name=
"double sided"
height=
"25"
width=
"120"
/>
<panel
border=
"true"
follows=
"left|top"
top_pad=
"8
"
height=
"1
51
"
width=
"246
"
height=
"1
96
"
layout=
"topleft"
left=
"10"
name=
"albedo_texture"
tool_tip=
"Albedo map. Alpha channel is optional and used for transparency."
width=
"128"
/>
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
follows=
"left|top"
height=
"10"
width=
"128"
layout=
"topleft"
left=
"10"
top_pad=
"-17"
name=
"albedo_upload_fee"
left=
"1"
mouse_opaque=
"false"
name=
"albedo_texture_pnl"
top_pad=
"5"
>
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left=
"10"
top=
"5"
width=
"64"
>
Albedo:
</text>
<texture_picker
can_apply_immediately=
"true"
default_image_name=
"Default"
fallback_image=
"materials_ui_x_24.png"
allow_no_texture=
"true"
follows=
"left|top"
top_pad=
"8"
height=
"151"
layout=
"topleft"
left=
"10"
name=
"albedo_texture"
tool_tip=
"Albedo map. Alpha channel is optional and used for transparency."
width=
"128"
/>
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
follows=
"left|top"
height=
"10"
width=
"128"
layout=
"topleft"
left=
"10"
top_pad=
"-17"
name=
"albedo_upload_fee"
>
No upload fee
</text>
<text
type=
"string"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left_pad=
"5"
top=
"8"
No upload fee
</text>
<text
type=
"string"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left_pad=
"5"
top=
"8"
>
Tint
</text>
<color_swatch
can_apply_immediately=
"true"
follows=
"left|top"
height=
"40"
label_height=
"0"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
name=
"albedo color"
width=
"40"
/>
<text
type=
"string"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
width=
"96"
Tint
</text>
<color_swatch
can_apply_immediately=
"true"
follows=
"left|top"
height=
"40"
label_height=
"0"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
name=
"albedo color"
width=
"40"
/>
<text
type=
"string"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
width=
"96"
>
Transparency
</text>
<spinner
decimal_digits=
"3"
follows=
"left|top"
height=
"19"
increment=
"0.01"
initial_value=
"1"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
min_val=
"0"
max_val=
"1"
name=
"transparency"
width=
"64"
Transparency
</text>
<spinner
decimal_digits=
"3"
follows=
"left|top"
height=
"19"
increment=
"0.01"
initial_value=
"1"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
min_val=
"0"
max_val=
"1"
name=
"transparency"
width=
"64"
/>
<text
type=
"string"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left_delta=
"0"
name=
"label alphamode"
text_readonly_color=
"LabelDisabledColor"
top_pad=
"5"
width=
"90"
>
Alpha mode
</text>
<combo_box
height=
"23"
layout=
"topleft"
left_delta=
"0"
name=
"alpha mode"
top_pad=
"4"
width=
"96"
>
<combo_box.item
label=
"None"
name=
"None"
value=
"OPAQUE"
/>
<combo_box.item
label=
"Alpha blending"
name=
"Alpha blending"
value=
"BLEND"
/>
<combo_box.item
label=
"Alpha masking"
name=
"Alpha masking"
value=
"MASK"
/>
</combo_box>
<text
type=
"string"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
width=
"96"
<text
type=
"string"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left_delta=
"0"
name=
"label alphamode"
text_readonly_color=
"LabelDisabledColor"
top_pad=
"5"
width=
"90"
>
Alpha mode
</text>
<combo_box
height=
"23"
layout=
"topleft"
left_delta=
"0"
name=
"alpha mode"
top_pad=
"4"
width=
"96"
>
<combo_box.item
label=
"None"
name=
"None"
value=
"OPAQUE"
/>
<combo_box.item
label=
"Alpha blending"
name=
"Alpha blending"
value=
"BLEND"
/>
<combo_box.item
label=
"Alpha masking"
name=
"Alpha masking"
value=
"MASK"
/>
</combo_box>
<text
type=
"string"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
width=
"96"
>
Alpha Cutoff
</text>
<spinner
decimal_digits=
"3"
follows=
"left|top"
height=
"19"
increment=
"0.01"
initial_value=
"1"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
min_val=
"0"
max_val=
"1"
name=
"alpha cutoff"
width=
"64"
Alpha Cutoff
</text>
<spinner
decimal_digits=
"3"
follows=
"left|top"
height=
"19"
increment=
"0.01"
initial_value=
"1"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
min_val=
"0"
max_val=
"1"
name=
"alpha cutoff"
width=
"64"
/>
</panel>
<panel
border=
"true"
follows=
"left|top"
width=
"246"
height=
"175"
layout=
"topleft"
left=
"5"
mouse_opaque=
"false"
name=
"metallic_texture_pnl"
top_pad=
"5"
>
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
</panel>
<panel
border=
"true"
follows=
"left|top"
height=
"10"
width=
"246"
height=
"175"
layout=
"topleft"
left=
"10"
top=
"5"
left=
"1"
mouse_opaque=
"false"
name=
"metallic_texture_pnl"
top_pad=
"5"
>
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left=
"10"
top=
"5"
>
Metallic-Roughness:
</text>
<texture_picker
can_apply_immediately=
"true"
default_image_name=
"Default"
fallback_image=
"materials_ui_x_24.png"
allow_no_texture=
"true"
follows=
"left|top"
width=
"128"
height=
"151"
layout=
"topleft"
left=
"10"
name=
"metallic_roughness_texture"
tool_tip=
"GLTF metallic-roughness map with optional occlusion. Red channel is occlusion, green channel is roughness, blue channel is metalness."
top_pad=
"8"
Metallic-Roughness:
</text>
<texture_picker
can_apply_immediately=
"true"
default_image_name=
"Default"
fallback_image=
"materials_ui_x_24.png"
allow_no_texture=
"true"
follows=
"left|top"
width=
"128"
height=
"151"
layout=
"topleft"
left=
"10"
name=
"metallic_roughness_texture"
tool_tip=
"GLTF metallic-roughness map with optional occlusion. Red channel is occlusion, green channel is roughness, blue channel is metalness."
top_pad=
"8"
/>
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
follows=
"left|top"
height=
"10"
width=
"128"
layout=
"topleft"
left=
"10"
top_pad=
"-17"
name=
"metallic_upload_fee"
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
follows=
"left|top"
height=
"10"
width=
"128"
layout=
"topleft"
left=
"10"
top_pad=
"-17"
name=
"metallic_upload_fee"
>
No upload fee
</text>
<text
type=
"string"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left_pad=
"5"
top=
"8"
No upload fee
</text>
<text
type=
"string"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left_pad=
"5"
top=
"8"
>
Metallic Factor
</text>
<spinner
decimal_digits=
"3"
follows=
"left|top"
height=
"19"
increment=
"0.01"
initial_value=
"0"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
min_val=
"0"
max_val=
"1"
name=
"metalness factor"
width=
"64"
Metallic Factor
</text>
<spinner
decimal_digits=
"3"
follows=
"left|top"
height=
"19"
increment=
"0.01"
initial_value=
"0"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
min_val=
"0"
max_val=
"1"
name=
"metalness factor"
width=
"64"
/>
<text
type=
"string"
length=
"1"
<text
type=
"string"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
width=
"96"
>
Roughness Factor
</text>
<spinner
decimal_digits=
"3"
follows=
"left|top"
height=
"19"
increment=
"0.01"
initial_value=
"0"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
min_val=
"0"
max_val=
"1"
name=
"roughness factor"
width=
"64"
/>
</panel>
<panel
border=
"true"
follows=
"left|top"
height=
"10"
width=
"246"
height=
"175"
layout=
"topleft"
left_delta=
"0"
left=
"1"
mouse_opaque=
"false"
name=
"emissive_texture_pnl"
top_pad=
"5"
width=
"96"
>
Roughness Factor
</text>
<spinner
decimal_digits=
"3"
follows=
"left|top"
height=
"19"
increment=
"0.01"
initial_value=
"0"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
min_val=
"0"
max_val=
"1"
name=
"roughness factor"
width=
"64"
/>
</panel>
<panel
border=
"true"
follows=
"left|top"
width=
"246"
height=
"175"
layout=
"topleft"
left=
"5"
mouse_opaque=
"false"
name=
"emissive_texture_pnl"
top_pad=
"5"
>
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left=
"10"
top=
"5"
width=
"64"
>
Emissive:
</text>
<texture_picker
can_apply_immediately=
"true"
default_image_name=
"Default"
fallback_image=
"materials_ui_x_24.png"
allow_no_texture=
"true"
follows=
"left|top"
top_pad=
"8"
height=
"151"
layout=
"topleft"
left=
"10"
name=
"emissive_texture"
width=
"128"
/>
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
follows=
"left|top"
height=
"10"
width=
"128"
layout=
"topleft"
left=
"10"
top_pad=
"-17"
name=
"emissive_upload_fee"
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left=
"10"
top=
"5"
width=
"64"
>
Emissive:
</text>
<texture_picker
can_apply_immediately=
"true"
default_image_name=
"Default"
fallback_image=
"materials_ui_x_24.png"
allow_no_texture=
"true"
follows=
"left|top"
top_pad=
"8"
height=
"151"
layout=
"topleft"
left=
"10"
name=
"emissive_texture"
width=
"128"
/>
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
follows=
"left|top"
height=
"10"
width=
"128"
layout=
"topleft"
left=
"10"
top_pad=
"-17"
name=
"emissive_upload_fee"
>
No upload fee
</text>
<text
type=
"string"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left_pad=
"5"
top=
"8"
No upload fee
</text>
<text
type=
"string"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left_pad=
"5"
top=
"8"
>
Tint
</text>
<color_swatch
can_apply_immediately=
"true"
follows=
"left|top"
height=
"40"
label_height=
"0"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
name=
"emissive color"
width=
"40"
/>
<!--<text
Tint
</text>
<color_swatch
can_apply_immediately=
"true"
follows=
"left|top"
height=
"40"
label_height=
"0"
layout=
"topleft"
left_delta=
"0"
top_pad=
"5"
name=
"emissive color"
width=
"40"
/>
<!--<text
type="string"
length="1"
follows="left|top"
...
...
@@ -373,64 +396,66 @@
max_val="100"
width="64"
/>-->
</panel>
<panel
border=
"true"
follows=
"left|top"
width=
"246"
height=
"175"
layout=
"topleft"
left=
"
5
"
mouse_opaque=
"false"
top_pad=
"5"
name=
"normal_texture_pnl"
</panel>
<panel
border=
"true"
follows=
"left|top"
width=
"246"
height=
"175"
layout=
"topleft"
left=
"
1
"
mouse_opaque=
"false"
top_pad=
"5"
name=
"normal_texture_pnl"
>
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left=
"10"
top=
"5"
width=
"64"
>
Normal:
</text>
<texture_picker
can_apply_immediately=
"true"
default_image_name=
"Default"
fallback_image=
"materials_ui_x_24.png"
allow_no_texture=
"true"
follows=
"left|top"
top_pad=
"8"
height=
"151"
layout=
"topleft"
left=
"10"
name=
"normal_texture"
width=
"128"
/>
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
follows=
"left|top"
height=
"10"
width=
"128"
layout=
"topleft"
left=
"10"
top_pad=
"-17"
name=
"normal_upload_fee"
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
follows=
"left|top"
height=
"10"
layout=
"topleft"
left=
"10"
top=
"5"
width=
"64"
>
Normal:
</text>
<texture_picker
can_apply_immediately=
"true"
default_image_name=
"Default"
fallback_image=
"materials_ui_x_24.png"
allow_no_texture=
"true"
follows=
"left|top"
top_pad=
"8"
height=
"151"
layout=
"topleft"
left=
"10"
name=
"normal_texture"
width=
"128"
/>
<text
type=
"string"
font.style=
"BOLD"
length=
"1"
follows=
"left|top"
height=
"10"
width=
"128"
layout=
"topleft"
left=
"10"
top_pad=
"-17"
name=
"normal_upload_fee"
>
No upload fee
</text>
</panel>
No upload fee
</text>
</panel>
</panel>
</scroll_container>
<panel
follows=
"right|bottom"
width=
"246"
height=
"97"
layout=
"bottomright"
top_
delta=
"-2
"
top_
pad=
"0
"
left=
"5"
name=
"button_panel"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment