Community
Arnold for Houdini Forum
Rendering with Arnold in Houdini and Solaris using the HtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

user_data returning null

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Anonymous
228 Views, 3 Replies

user_data returning null

I am trying to get an integer value into a shader. No matter what I do it is always returning default values. Attached is what I assume is everything correct. I can't find a way to debug this with arnold, as it does not seem to mention anything about it in the logs.


screenshot-2021-02-04-121225.png

Tags (2)
Labels (2)
3 REPLIES 3
Message 2 of 4
nic.birmingham
in reply to: Anonymous

https://docs.arnoldrenderer.com/display/A5AFHUG/User+Data

you should Add Arnold Properties to the geo (tab > Arnold > Add Arnold Properties). Go to the Attributes tab and type primitive_id into primitive Attributes.

Message 3 of 4
Anonymous
in reply to: nic.birmingham

It is already there and I have been exporting all attributes

1612438584230.png

Message 4 of 4
Anonymous
in reply to: nic.birmingham

Actually you're right, putting an asterisk doesnt export all the attributes for some reason, but naming each one does. Thank you

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report