User avatar
By deadalvs
#345630
[ @ Mihnea ]

has anyone some experience with (or tried to create) a MEL based ( possibly with GUI ) material converter, which lets the user define which 'output channel' of the original material goes into which 'input channel' of a mxm ?

I imagine something with an input list (MEL textScrollList) of the input channels per original material and the user-definable destination (also in a TSL) in a newly generated layered mxm.

of course that could get quite complex, but I'm just searching a way to convert lots and lots of materials into mxms the way I need them, not using the default conversion. E.g. a leaf material should be converted to a thin leaf SSS material, ...

happy for any input.
User avatar
By Mihnea Balta
#345636
I'm not sure the model you're suggesting is flexible enough, but I don't have a clear picture of what you're trying to do. I think you're better off defining some conversion "recipes" through MEL code and allowing the user to pick which one to apply for each material, but that will break down if you have lots of recipes.

I guess you also need a way to make this persistent, if the user wishes to perform the same conversion again (or use a naming convention which describes the recipe to use).

Hello everybody, We have just released a new vers[…]

Help with swimming pool water

Nothing beats observing the real world or, if that[…]

Sketchup 2026 Released

Considering how long a version for Sketchup 2025 t[…]

Greetings, One of my users with Sketchup 2025 (25[…]