Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The convention used to store the user data can be found in different data types such as color, float, etc. For example:

  • Create a float Color type user data in C4D and call it 'TestFloatMy Color':
Center

Image Removed

 

  • Export the scene as an .ass file and open it in a text editor. We can see that the float 'TestFloat' is stored in the .ass file as follows:
Center

Image RemovedImage Added

  • Create an Arnold Material and read the 'My Color' user data via a user_data_rgb shader.
Center

Image Added

Note

Only alphanumerical characters, dashes (-) and underscores (_) are allowed in the parameter name. Arnold converts all other characters (including spaces) to underscores. For instance in the above example 'My Color' becomes 'My_Color', which you have to set in the user_data shader. Also note that parameter names are case sensitive.

You can check the Arnold parameter name if you export the scene to an .ass file and look for the user parameter as follows:

Image Added

Info

If display color of an object is enabled we will export the 'display_color' RGB as a user data.

...

© 2020-2021 Autodesk. All Rights Reserved / website terms / privacy/cookies / ccpa settings