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).
Sketchup 2025 Released

Thank you Fernando!!!!!!!!!!!!!!!!!!!!!!!!!!! hwol[…]

I've noticed that "export all" creates l[…]

hmmm can you elaborate a bit about the the use of […]

render engines and Maxwell

Funny, I think, that when I check CG sites they ar[…]