Would it be possible to add the ability to link shading_variable associations to an external file?
For example, right now in a Shading Layer I can add something like the following:
woodMask = "/this/is/the/wood/mask.tx"
goldMask = "/this/is/the/gold/mask.tx"
What I would like to do instead is link the shading_variables field of the shading layer to something like this:
/path/to/shading/variable/declarationFile.txt
and that file would contain the associations listed above.
Basically we generate all of our textures in Mari and have a custom output script that writes the texture assignments to a text file (xml file in our case, but we can modify that). If we could then just link our shading variables to that text file it would automatically do all of our texture assignments for us.
Currently we are writing code to read that file and do the assignments, but that is still a fairly manual process. We have to update our Clarisse scene every time there is a change to the material assignments in Mari, and we have run the script for every entry of every shading layer.