I render RGB masks as well as separate maps for objects and texture maps through CTexmap.
After I configured all the masks. I am making a copy of the object in the instance (for example, for a different angle or position of an object) and all masks need to be recreated.
I thought it might be possible to make some kind of script built into the render elements. or some checkmark will save all configured masks for copies of the object?
Sorry, but I don’t understand this feature request. Could you describe what exactly you would like to achieve? (what would be the effect of having this feature implemented)
I think OP would like to have a mask RE which just masks all instances of a specific object “automatically”. Without the need of adding it manually to the selection. You can either use Object Gbuffer ID for doing so (clones inherit the ID) or use this “trick”:
create a dummy
link the object to the dummy
put the dummy into “Manual selection” of the render element
The mask RE creates a mask for the entire hierarchy, so also for the object linked to the dummy. Now when cloning the object, the mask “updates” itself because the cloned object is also a child of the dummy (note that you have to restart IR to see the effect).
These workarounds sound good, so I will move this to resolved, as I don’t see high demand for such feature, and it would be probably really hard to implement it in a reasonable way.