question

Tom Voll avatar image
Tom Voll asked ·

user_data_string into image node udim

Further to my previous post, I am now trying to incorporate udim textures into the scenario.

A udim texture path that works with an image shader node no longer gets applied correctly when assigning via the ArnoldUserData node.

 ERROR   |   [texturesys] Could not open file: ....<udim>.tif: No such file or directory

Is this a known limitation? If so, is there a work around?

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

Stephen Blair avatar image
Stephen Blair answered ·

This might be the case I was thinking of before. Try using the <attr> token instead of connection a user data shader.

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, Stephen!

For anyone interested, it worked as long as <udim> was outside of the <attr> token.

ie.

This is the filename parameter,

<attr:texture_attribute>.<udim>.tif

0 Likes 0 · ·

Yeah, you can't nest texture tags (they're not recursive).

0 Likes 0 · ·
Laurent Clavier avatar image
Laurent Clavier answered ·

The udim token, as others, is detected at update time of the image node : ie. before the shading operate on any object. At that time, values coming from object user datas can't be solved.

This means that no object dependent user data can be used to set a filename using udim token. But you can use unconnected generic token based filename to resolve filename templates.

It will be difficult to treat udim and non-udim files with the same image node though, it's certainly easier to drive a switch node between udim and non-udim file nodes in that case. Or make non-udim files use udim naming even with a single udim.

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.