question

CHRIS ELLERSICK avatar image
CHRIS ELLERSICK asked ·

Can user_data shaders get data from Object Properties?

How can I feed data from a specific User Defined Object Property into a shader? I'm looking to use a value that was generated in Revit and passed into Max as a User Defined Object Property. It seems that even if I copy the data to the User Options field of the Arnold Properties modifier, the user_data shaders still cannot see it. What has to be done for the data to be visible to the shaders?

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

CHRIS ELLERSICK avatar image
CHRIS ELLERSICK answered ·

Thanks for the response. Yes, I had been setting it as user data on the object in Max. You can see the setup and result in MaxObjProp.png. I tried adding the Arnold Properties modifier with the same results (MaxObjPropModifier.png). Looking at the link you provided (for C4D), that "user data" is more robust than what is provided in Max for user data (specifying variable type, etc), so I tried adding the data as an Attribute in Max (MaxAttributes.png), still not able to get it to work. Not sure what I'm missing here...


maxobjprop.png (256.5 KiB)
maxattributes.png (245.8 KiB)
1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Sorry, I thought I was in the C4DtoA space. User data support in Maxtoa is limited, iirc. Will check it out again tomorrow.

0 Likes 0 · ·
Stephen Blair avatar image
Stephen Blair answered ·

The values have to be user data on the object: https://support.solidangle.com/x/EwFeAg

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.