ive avoided these like the plague since they were awful on first release. however i think they might be useful in my current project to keep all my renderpasses in one file. ive read they are much better, so i thought id give it another try.
however im already stuck. one of the passes requires all the xreffed models to have their materials changed. id rather not have alternate xrefs as if the models are updated (likely) id need to spit out the xrefs again in multiple versions.
what i really want is to reapply materials by layer, that way whatever is in the layer, would get the new material.
sure, i can record a state set where i select a layer, hit "select child nodes" then apply the new material. this works, but if, in the future i add an object to the layer, then swap to the recorded state set, the new object does not get the material change.
any suggestions how to proceed and keep things flexible to model changes?
however im already stuck. one of the passes requires all the xreffed models to have their materials changed. id rather not have alternate xrefs as if the models are updated (likely) id need to spit out the xrefs again in multiple versions.
what i really want is to reapply materials by layer, that way whatever is in the layer, would get the new material.
sure, i can record a state set where i select a layer, hit "select child nodes" then apply the new material. this works, but if, in the future i add an object to the layer, then swap to the recorded state set, the new object does not get the material change.
any suggestions how to proceed and keep things flexible to model changes?