Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve the channel map filtering #6

Merged
merged 7 commits into from
Jul 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 28 additions & 32 deletions server/settings/creator_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,38 +22,34 @@ class CreatorsModel(BaseSettingsModel):
DEFAULT_CREATOR_SETTINGS = {
"CreateTextures": {
"channel_mapping": [
{"name": "Base Color", "value": "BaseColor"},
{"name": "Metallic", "value": "Metallic"},
{"name": "Roughness", "value": "Roughness"},
{"name": "Normal", "value": "Normal"},
{"name": "Height", "value": "Height"},
{"name": "Specular Edge Color",
"value": "SpecularEdgeColor"},
{"name": "Opacity", "value": "Opacity"},
{"name": "Displacement", "value": "Displacement"},
{"name": "Glossiness", "value": "Glossiness"},
{"name": "Anisotropy Level",
"value": "Anisotropylevel"},
{"name": "Ambient Occulsion", "value": "AO"},
{"name": "Anisotropy Angle",
"value": "Anisotropyangle"},
{"name": "Transmissive", "value": "Transmissive"},
{"name": "Reflection", "value": "Reflection"},
{"name": "Diffuse", "value": "Diffuse"},
{"name": "Index of Refraction", "value": "Ior"},
{"name": "Specular Level", "value": "Specularlevel"},
{"name": "Blending Mask", "value": "BlendingMask"},
{"name": "Translucency", "value": "Translucency"},
{"name": "Scattering", "value": "Scattering"},
{"name": "Scatter Color", "value": "ScatterColor"},
{"name": "Sheen Opacity", "value": "SheenOpacity"},
{"name": "Sheen Color", "value": "SheenColor"},
{"name": "Coat Opacity", "value": "CoatOpacity"},
{"name": "Coat Color", "value": "CoatColor"},
{"name": "Coat Roughness", "value": "CoatRoughness"},
{"name": "CoatSpecularLevel",
"value": "Coat Specular Level"},
{"name": "CoatNormal", "value": "Coat Normal"}
{"name": "Anisotropy Angle", "value": "_Anisotropyangle"},
{"name": "Anisotropy Level", "value": "_Anisotropylevel"},
{"name": "Base Color", "value": "_BaseColor"},
{"name": "Metallic", "value": "_Metallic"},
{"name": "Roughness", "value": "_Roughness"},
{"name": "Normal", "value": "_Normal"},
{"name": "Height", "value": "_Height"},
{"name": "Specular Edge Color", "value": "_SpecularEdgeColor"},
{"name": "Opacity", "value": "_Opacity"},
{"name": "Displacement", "value": "_Displacement"},
{"name": "Glossiness", "value": "_Glossiness"},
{"name": "Ambient Occlusion", "value": "_AO"},
{"name": "Transmissive", "value": "_Transmissive"},
{"name": "Reflection", "value": "_Reflection"},
{"name": "Diffuse", "value": "_Diffuse"},
{"name": "Index of Refraction", "value": "_Ior"},
{"name": "Specular Level", "value": "_Specularlevel"},
{"name": "Blending Mask", "value": "_BlendingMask"},
{"name": "Translucency", "value": "_Translucency"},
{"name": "Scattering", "value": "_Scattering"},
{"name": "Scatter Color", "value": "_ScatterColor"},
{"name": "Sheen Opacity", "value": "_SheenOpacity"},
{"name": "Sheen Color", "value": "_SheenColor"},
{"name": "Coat Opacity", "value": "_CoatOpacity"},
{"name": "Coat Color", "value": "_CoatColor"},
{"name": "Coat Roughness", "value": "_CoatRoughness"},
{"name": "Coat Specular Level", "value": "_CoatSpecularLevel"},
{"name": "Coat Normal", "value": "_CoatNormal"}
],
}
}