Loading a usd file, which has an image shader with a relative path gives an error when the texture search path is properly set.
Repro:
Seems like usd ignores the Arnold texture search path and looking for the texture in the current working directory.
00:00:00 244MB | starting 12 bucket workers of size 64x64 ...
00:00:00 257MB ERROR | [texturesys] /mtl/mat/standard_surface/uvgrid: Could not open file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg"
Could not open file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg"
Invalid image file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg": Could not open file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg"
Could not open file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg"
00:00:00 258MB ERROR | [texturesys] /mtl/mat/standard_surface/uvgrid: Invalid image file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg": Could not open file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg"
Could not open file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg"
00:00:00 260MB WARNING | [kick] render aborted due to earlier errors
00:00:00 260MB ERROR | [texturesys] /mtl/mat/standard_surface/uvgrid: Invalid image file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg": Could not open file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg"
Could not open file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg"
00:00:00 261MB ERROR | [texturesys] /mtl/mat/standard_surface/uvgrid: Invalid image file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg": Could not open file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg"
Could not open file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg"
00:00:00 261MB ERROR | [texturesys] /mtl/mat/standard_surface/uvgrid: Invalid image file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg": Could not open file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg"
Could not open file "c:/tmp/usd_texture_searchpath_error/uvgrid.jpg"
00:00:00 270MB | [skydome_light] /Arnold_Sky: 1000x1000 importance map done in 0:00.07, average energy 0.212518
00:00:00 270MB WARNING | render terminating early: unknown reason
The same scene is working fine with an ASS procedural (see scene_assproc.ass).
Also tested in Arnold 7.1 where the USD procedural is working fine, so this is a regression in the latest build.
Loading a usd file, which has an image shader with a relative path gives an error when the texture search path is properly set.
Repro:
Seems like usd ignores the Arnold texture search path and looking for the texture in the current working directory.
The same scene is working fine with an ASS procedural (see
scene_assproc.ass).Also tested in Arnold 7.1 where the USD procedural is working fine, so this is a regression in the latest build.