Open p0las opened 1 month ago
The paths returned by UsdUtils.ExtractExternalReferences no longer contain <udim> tag in 23.11
<udim>
23.02 → gorilla-tex_lookDev_texture_v0001_base_colour..exr 23.11 → gorilla-tex_lookDev_texture_v0001_base_colour.1001.exr
given the simple USD file as below:
#usda 1.0 ( upAxis = "Y" ) def Scope "mtl" { def Material "material" { token outputs:surface.connect = </mtl/material/PBRShader.outputs:surface> def Shader "PBRShader" { uniform token info:id = "arnold:standard_surface" color3f inputs:base_color.connect = </mtl/material/diffuseTexture.outputs:rgb> token outputs:surface } def Shader "diffuseTexture" { uniform token info:id = "arnold:image" asset inputs:filename = @C:/CODE/pyCharm/pipeline/fin_unittest/TEST_PROJECT_0/_Temp/Creatures/gorilla-tex/lookDev/texture/texture/0001/gorilla-tex_lookDev_texture_v0001_base_colour.<UDIM>.exr@ color3f outputs:rgb } } }
execute UsdUtils.ExtractExternalReferences for it. in the 23.11 the path returned doesn't match what is stored in the file and is returned as 1001 udim. In the previous versions, the <udim> tag was preserved by the utility.
UsdUtils.ExtractExternalReferences
1001
windows 10, USD 23.11
Filed as internal issue #USD-9867
Description of Issue
The paths returned by UsdUtils.ExtractExternalReferences no longer contain
<udim>
tag in 23.1123.02 → gorilla-tex_lookDev_texture_v0001_base_colour..exr
23.11 → gorilla-tex_lookDev_texture_v0001_base_colour.1001.exr
Steps to Reproduce
given the simple USD file as below:
execute
UsdUtils.ExtractExternalReferences
for it. in the 23.11 the path returned doesn't match what is stored in the file and is returned as1001
udim. In the previous versions, the<udim>
tag was preserved by the utility.System Information (OS, Hardware)
windows 10, USD 23.11
Package Versions
Build Flags