Hey all,
Anyone had any issues with storing scripted materials in material libraries before?
I’m in a pickle at the moment and seriously considering just writing it all out to text files - at least that way I can see what’s going on!
Maybe this is a ragepost, but on the off chance that someone has had the same issue and can help.
cheers!
cw
i have no idea what a scripted material is or what software you are using…
This is a max issue, I assume. Does everybody using those materials have access to the right scripts? Without the necessary material scripts I don’t think you can rely on the materials.
Do you have consistent classID for your materials? If those change over time you will end up with orphaned materials that can’t find their scripts. OTOH if the material definition changes too much you may also have old files which contain data that’s not being used in the current version of the plugin or are missing data the current version expects. Do pay attention to the version field in the script!
I’ve had awkward experiences with this in the past. You need to do as much of your iteration on the material up front before it gets out into the user community - I personally found that when the material changes significantly it was sometimes necessary to create a new material and transition existing artwork instead of relying on Max to magically keep everything up to date.
Sorry ![:frowning: :frowning:](//discourse.techart.online/images/emoji/twitter/frowning.png?v=5)
[QUOTE=wallasaurus;20733]Hey all,
Anyone had any issues with storing scripted materials in material libraries before?
I’m in a pickle at the moment and seriously considering just writing it all out to text files - at least that way I can see what’s going on!
Maybe this is a ragepost, but on the off chance that someone has had the same issue and can help.
cheers!
cw[/QUOTE]
Need more information.
Software?
Did you script the material?
What is failing when trying to store the material?