📄 render.dcl
字号:
key = "save_button";
label = "Save";
mnemonic = "S";
fixed_width = true;
}
: button {
key = "erase_button";
label = "Erase";
mnemonic = "E";
fixed_width = true;
}
}
}
: boxed_column {
: image_button {
key = "map_image";
color = -15; /* background color */
height = 13;
aspect_ratio = 1.5;
}
}
}
spacer_1_ok_cancel_help_errtile;
}
//***************************************************************************
//Materials list dialog
avis_list : dialog {
label = "Materials Library";
: column {
key = "top_key";
spacer_1;
: row {
material_column;
: column {
avis_mat_preview;
spacer_0;
import_export_delete;
spacer_0;
}
library_column;
}
spacer_0_5;
ok_cancel_help_custom;
}
}
//***************************************************************************
// Main material dialog
ave_material : dialog {
label = "Materials";
: column {
key = "top_key";
: row {
material_list;
avis_material_preview_and_select;
: column {
width = 18;
spacer_0;
button_mod;
button_dup;
: boxed_column {
button_new;
: popup_list {
key = "template";
list = "Standard\nGranite\nMarble\nWood";
}
}
spacer_1;
material_attach;
}
}
spacer_1_ok_cancel_help_errtile;
}
}
avis_material_preview_and_select : column {
avis_mat_preview;
spacer_0_5;
button_imp;
button_pkt;
spacer_0_5;
}
//
// Dialogs to edit a minimal, standard, granite, marble, or wood material.
//
ave_standard_material_mod : dialog {
key = "dialog";
: column {
key = "top_key";
material_name;
: row {
standard_attributes;
standard_value_color_bitmap_preview;
}
spacer_0_1_ok_cancel_help_errtile;
}
}
ave_granite_material_mod : dialog {
key = "dialog";
: column {
key = "top_key";
material_name;
: row {
granite_attributes;
template_value_color_bitmap_preview;
}
spacer_0_1_ok_cancel_help_errtile;
}
}
ave_marble_material_mod : dialog {
key = "dialog";
: column {
key = "top_key";
material_name;
: row {
marble_attributes;
template_value_color_bitmap_preview;
}
spacer_0_1_ok_cancel_help_errtile;
}
}
ave_wood_material_mod : dialog {
key = "dialog";
: column {
key = "top_key";
material_name;
: row {
wood_attributes;
template_value_color_bitmap_preview;
}
spacer_0_1_ok_cancel_help_errtile;
}
}
standard_attributes : boxed_column {
label = "Attributes";
: row {
: radio_column {
key = "attribute";
alignment = top;
: radio_button {
label = "Color/Pattern";
key = "diffuse";
mnemonic = "C";
}
: radio_button {
label = "Ambient";
key = "ambient";
mnemonic = "A";
}
: radio_button {
label = "Reflection";
key = "reflection";
mnemonic = "e";
}
: radio_button {
label = "Roughness";
key = "roughness";
mnemonic = "o";
}
: radio_button {
label = "Transparency";
key = "transparency";
mnemonic = "T";
}
: radio_button {
label = "Refraction";
key = "refraction";
mnemonic = "n";
}
: radio_button {
label = "Bump Map";
key = "bump";
mnemonic = "u";
}
}
: column {
: avis_sample_image { key = "sample_0"; }
: avis_sample_image { key = "sample_1"; }
: avis_sample_image { key = "sample_2"; }
spacer_1_25;
spacer_1_25;
spacer_1_25;
spacer_1_25;
}
}
}
granite_attributes : boxed_column {
label = "Attributes";
: row {
: radio_column {
alignment = top;
key = "attribute";
: radio_button {
label = "First Color";
key = "first_color";
mnemonic = "C";
}
: radio_button {
label = "Second Color";
key = "second_color";
mnemonic = "n";
}
: radio_button {
label = "Third Color";
key = "third_color";
mnemonic = "T";
}
: radio_button {
label = "Fourth Color";
key = "fourth_color";
mnemonic = "F";
}
: radio_button {
label = "Reflection";
key = "reflection";
mnemonic = "e";
}
: radio_button {
label = "Roughness";
key = "roughness";
mnemonic = "o";
}
: radio_button {
label = "Sharpness";
key = "sharpness";
mnemonic = "r";
}
: radio_button {
label = "Scale";
key = "scale";
mnemonic = "S";
}
: radio_button {
label = "Bump Map";
key = "bump";
mnemonic = "u";
}
}
: column {
: avis_sample_image { key = "sample_0"; }
: avis_sample_image { key = "sample_1"; }
: avis_sample_image { key = "sample_2"; }
: avis_sample_image { key = "sample_3"; }
: avis_sample_image { key = "sample_4"; }
spacer_1_25;
spacer_1_25;
spacer_1_25;
spacer_1_25;
}
}
}
marble_attributes : boxed_column {
label = "Attributes";
: row {
: radio_column {
alignment = top;
key = "attribute";
: radio_button {
label = "Stone Color";
key = "stone_color";
mnemonic = "C";
}
: radio_button {
label = "Vein Color";
key = "vein_color";
mnemonic = "n";
}
: radio_button {
label = "Reflection";
key = "reflection";
mnemonic = "e";
}
: radio_button {
label = "Roughness";
key = "roughness";
mnemonic = "o";
}
: radio_button {
label = "Turbulence";
key = "turbulence";
mnemonic = "T";
}
: radio_button {
label = "Sharpness";
key = "sharpness";
mnemonic = "r";
}
: radio_button {
label = "Scale";
key = "scale";
mnemonic = "S";
}
: radio_button {
label = "Bump Map";
key = "bump";
mnemonic = "u";
}
}
: column {
: avis_sample_image { key = "sample_0"; }
: avis_sample_image { key = "sample_1"; }
: avis_sample_image { key = "sample_2"; }
spacer_1_25;
spacer_1_25;
spacer_1_25;
spacer_1_25;
spacer_1_25;
}
}
}
wood_attributes : boxed_column {
label = "Attributes";
: row {
: radio_column {
alignment = top;
key = "attribute";
: radio_button {
label = "Light Color";
key = "light_color";
mnemonic = "C";
}
: radio_button {
label = "Dark Color";
key = "dark_color";
mnemonic = "k";
}
: radio_button {
label = "Reflection";
key = "reflection";
mnemonic = "e";
}
: radio_button {
label = "Roughness";
key = "roughness";
mnemonic = "o";
}
: radio_button {
label = "Light/Dark";
key = "light_dark_ratio";
mnemonic = "t";
}
: radio_button {
label = "Ring Density";
key = "ring_density";
mnemonic = "n";
}
: radio_button {
label = "Ring Width";
key = "ring_width";
mnemonic = "h";
}
: radio_button {
label = "Ring Shape";
key = "ring_shape";
mnemonic = "a";
}
: radio_button {
label = "Scale";
key = "scale";
mnemonic = "S";
}
: radio_button {
label = "Bump Map";
key = "bump";
mnemonic = "u";
}
}
: column {
: avis_sample_image { key = "sample_0"; }
: avis_sample_image { key = "sample_1"; }
: avis_sample_image { key = "sample_2"; }
spacer_1_25;
spacer_1_25;
spacer_1_25;
spacer_1_25;
spacer_1_25;
spacer_1_25;
spacer_1_25;
}
}
}
avis_sample_image : image {
color = -15;
height = 1.25;
aspect_ratio = 1;
fixed_height = true;
fixed_width = true;
is_tab_stop = false;
}
standard_value_color_bitmap_preview : column {
: row {
: column {
value_edit_slider;
standard_color_widget;
}
avis_mat_preview;
}
spacer_0_1;
bitmap_widget;
}
template_value_color_bitmap_preview : column {
: row {
: column {
value_edit_slider;
template_color_widget;
}
avis_mat_preview;
}
spacer_0_1;
bitmap_widget;
}
standard_color_widget : boxed_column {
label = "Color";
: row {
: toggle {
label = "By ACI";
key = "by_aci";
mnemonic = "y";
}
lock;
raytrace_mirror_toggle;
}
avis_variable_color_model;
}
template_color_widget : boxed_column {
label = "Color";
: row {
: toggle {
label = "By ACI";
key = "by_aci";
mnemonic = "y";
}
raytrace_mirror_toggle;
}
avis_variable_color_model;
}
avis_variable_color_model : row {
: column {
: row {
: column {
: text {
key = "top_text";
width = 10;
value = "Red:";
}
: text {
key = "middle_text";
width = 10;
value = "Green:";
}
: text {
key = "bottom_text";
width = 10;
value = "Blue:";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -