question

Paolo Giandoso avatar image
Paolo Giandoso asked ·

How can I read houdini geometry attributes from alembic files in Maya Arnold?

Hi

When using Arnold for Maya Is it possible to read geometry attributes from a alembic file created in Houdini?

I know attributes must be promoted to vertex and that you can read the Cd attribute (because it is automatically converted in maya to a Color Set). The user data color can read it.

But I have tried to read float and vector attributes using the User Data Float and User Data Vector and Arnold does not seem to be able to read them. Is the only way to save attributes as Color Sets?

For instance I exported a .abc geometry file from houdini with a vertex float attribute called "infect" with range 0 t 1 and I wanted to plug it in the Roughness slot of a aiStandard Surface. How can I do it correctly?

Many thanks


mtoahoudinicolorattributes
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.

rachid Hadj Abderrahmane avatar image
rachid Hadj Abderrahmane answered ·

Yes you can read any attribute, import your alembic file as GPU Cache and not Alembic Cache

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.

Awesome! Can I ask what is the workflow for reading the attributes when using GPU caches?

0 Likes 0 · ·
rachid Hadj Abderrahmane avatar image
rachid Hadj Abderrahmane answered ·

It depend on attribute you exported, but in general
UserDataColor or UserDataRgb for Cd
UserDataFloat for attribute that have float value
UserDataInt for attribute with single (integer value)
UserDataVec2 for uv

2 comments 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.

Thanks!

Side question: Is there a way to know from the GPU cachce node which are the names of the geometry attributes saved in the file?

0 Likes 0 · ·

That will be great! unfortunately no, you have to remember all the attributes you add

0 Likes 0 · ·

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.