Hello,
I’ve been working with XGen and custom archives in Mental Ray this last days and I would like my archives to get their color from the texture or paintmap on the surface they’re attached to. In other words I would just like to control my archives color with an XGen expressions. I’ve seen very simple tutorials for Arnold & VRay, and they’re both using similar nodes (AiUserDataColor and VRayUserColor) to add custom attributes and link them to XGen’s custom shader parameters. However I can’t find any information on how to do the same thing with mental ray. Anyone has a solution ?
Arnold Tut. : https://support.solidangle.com/display/mayatut/Assigning+Color+to+Primitive+Archives
Vray Tut. : http://docs.chaosgroup.com/display/VRAY3MAYA/XGen+Archive+Primitives