Major Terminogy unification and refactor [Needs thorough testing]

This commit is contained in:
2025-05-06 18:26:26 +02:00
parent 0a3100d448
commit ff548e902e
20 changed files with 689 additions and 356 deletions

View File

@@ -56,7 +56,8 @@
"diffuse"
],
"standard_type": "COL",
"bit_depth_rule": "force_8bit"
"bit_depth_rule": "force_8bit",
"is_grayscale": false
},
"MAP_NRM": {
"description": "Normal Map",
@@ -66,7 +67,8 @@
"_normal."
],
"standard_type": "NRM",
"bit_depth_rule": "respect"
"bit_depth_rule": "respect",
"is_grayscale": false
},
"MAP_METAL": {
"description": "Metalness Map",
@@ -76,7 +78,8 @@
"_met."
],
"standard_type": "METAL",
"bit_depth_rule": "force_8bit"
"bit_depth_rule": "force_8bit",
"is_grayscale": true
},
"MAP_ROUGH": {
"description": "Roughness Map",
@@ -87,7 +90,8 @@
"_gloss"
],
"standard_type": "ROUGH",
"bit_depth_rule": "force_8bit"
"bit_depth_rule": "force_8bit",
"is_grayscale": true
},
"MAP_AO": {
"description": "Ambient Occlusion Map",
@@ -97,7 +101,8 @@
"_ambientocclusion."
],
"standard_type": "AO",
"bit_depth_rule": "force_8bit"
"bit_depth_rule": "force_8bit",
"is_grayscale": true
},
"MAP_DISP": {
"description": "Displacement/Height Map",
@@ -107,7 +112,8 @@
"_height."
],
"standard_type": "DISP",
"bit_depth_rule": "respect"
"bit_depth_rule": "respect",
"is_grayscale": true
},
"MAP_REFL": {
"description": "Reflection/Specular Map",
@@ -117,7 +123,8 @@
"_specular."
],
"standard_type": "REFL",
"bit_depth_rule": "force_8bit"
"bit_depth_rule": "force_8bit",
"is_grayscale": true
},
"MAP_SSS": {
"description": "Subsurface Scattering Map",
@@ -127,7 +134,8 @@
"_subsurface."
],
"standard_type": "SSS",
"bit_depth_rule": "respect"
"bit_depth_rule": "respect",
"is_grayscale": true
},
"MAP_FUZZ": {
"description": "Fuzz/Sheen Map",
@@ -137,7 +145,8 @@
"_sheen."
],
"standard_type": "FUZZ",
"bit_depth_rule": "force_8bit"
"bit_depth_rule": "force_8bit",
"is_grayscale": true
},
"MAP_IDMAP": {
"description": "ID Map (for masking)",
@@ -147,7 +156,8 @@
"_matid."
],
"standard_type": "IDMAP",
"bit_depth_rule": "force_8bit"
"bit_depth_rule": "force_8bit",
"is_grayscale": false
},
"MAP_MASK": {
"description": "Generic Mask Map",
@@ -156,7 +166,8 @@
"_mask."
],
"standard_type": "MASK",
"bit_depth_rule": "force_8bit"
"bit_depth_rule": "force_8bit",
"is_grayscale": true
},
"MAP_IMPERFECTION": {
"description": "Imperfection Map (scratches, dust)",
@@ -171,7 +182,8 @@
"fingerprints"
],
"standard_type": "IMPERFECTION",
"bit_depth_rule": "force_8bit"
"bit_depth_rule": "force_8bit",
"is_grayscale": true
},
"MODEL": {
"description": "3D Model File",
@@ -181,7 +193,8 @@
".obj"
],
"standard_type": "",
"bit_depth_rule": ""
"bit_depth_rule": "",
"is_grayscale": false
},
"EXTRA": {
"description": "asset previews or metadata",
@@ -196,7 +209,8 @@
"thumb"
],
"standard_type": "",
"bit_depth_rule": ""
"bit_depth_rule": "",
"is_grayscale": false
},
"FILE_IGNORE": {
"description": "File to be ignored",
@@ -206,23 +220,11 @@
".DS_Store"
],
"standard_type": "",
"bit_depth_rule": ""
"bit_depth_rule": "",
"is_grayscale": false
}
},
"TARGET_FILENAME_PATTERN": "{base_name}_{map_type}_{resolution}.{ext}",
"STANDARD_MAP_TYPES": [
"COL",
"NRM",
"ROUGH",
"METAL",
"AO",
"DISP",
"REFL",
"SSS",
"FUZZ",
"IDMAP",
"MASK"
],
"RESPECT_VARIANT_MAP_TYPES": [
"COL"
],