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

user_data_string into image node udim

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
tjvollB4GZV
743 Views, 4 Replies

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?

Labels (3)
4 REPLIES 4
Message 2 of 5
Stephen.Blair
in reply to: tjvollB4GZV

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



// Stephen Blair
// Arnold Renderer Support
Message 3 of 5
tjvollB4GZV
in reply to: Stephen.Blair

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

Message 4 of 5

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

Message 5 of 5

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.

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

Post to forums