Depending on how a usd file was authored, we can want the image filename relative paths to be considered the "Arnold way" (i.e. relative to the arnold texture_search_path), or the "USD way" (relative to the layer).
This is important when relative paths have UDIMs, as we're currently trying to solve this only for UvTexture shaders, but not for arnold image shaders.
The Arnold relative paths are needed when an arnold scene is converted to usd, in order to ensure a roundtrip between ass & usd is possible.
However, when the usd file was authored from another source (i.e. Lookdevx), it's more natural to consider relative paths as USD would.
A solution for that could be that the writer adds a special attribute on the UsdShade primitive (e.g. arnold_relative_path), and that the reader looks for it to know what to do. This way, all usd files authored from an arnold scene will keep behaving as arnold expects, but files created elsewhere would now behave as UvTexture does, and would support UDIM tokens on relative paths.
Depending on how a usd file was authored, we can want the image filename relative paths to be considered the "Arnold way" (i.e. relative to the arnold texture_search_path), or the "USD way" (relative to the layer).
This is important when relative paths have UDIMs, as we're currently trying to solve this only for UvTexture shaders, but not for arnold image shaders.
The Arnold relative paths are needed when an arnold scene is converted to usd, in order to ensure a roundtrip between ass & usd is possible.
However, when the usd file was authored from another source (i.e. Lookdevx), it's more natural to consider relative paths as USD would.
A solution for that could be that the writer adds a special attribute on the UsdShade primitive (e.g. arnold_relative_path), and that the reader looks for it to know what to do. This way, all usd files authored from an arnold scene will keep behaving as arnold expects, but files created elsewhere would now behave as UvTexture does, and would support UDIM tokens on relative paths.