How do I make xgen read the Custom Shader Parameters to my Archived object and render in mental ray.
I have an expression apply to Custom Shader Parameters: Color color
$a=[rand( 0, 1 ,$id),rand( 0, 1 ,$id+1),rand( 0, 1 ,$id+2)];#-1.0,1.0
$a
I follow tutorial from Pedro Fernando Gómez's Tutorial in Arnold.
https://support.solidangle.com/display/mayatut/Assigning+Random+Colors+to+Primitives
He uses aiUserDataColor > color Attr Name : color
And link aiUserDataColor to model & aiStandard
How can achieve this method in mental ray?
i hv tried
mentalrayUserData
mib_data_color
mib_data_get_color
but does not seems to simulate the random color i applied in Custom Shader Parameters.