State:New|TargetRelease:No Target|icon_bug|icon_katana|database:public|Resolution:Fixed|BugID:519803|
Problem summary
Typically, to load texture files with UDIM format a <UDIM> is added to the path. For example, if you have texture files: abledo.1001.exr, albedo.1002, etc., you can use the texture file path /path/to/albedo.<UDIM>.exr.
Loading textures with the <UDIM> format works with a UsdUVTexture node connected to the UsdPreviewSurface nodes's diffuseColor input.
However, UsdPreviewSurface displacement does not work with the <UDIM> format.
Customer reported version
katana.4.5v3
Customer reported platform
centos7
Steps to reproduce
1) Create a PrimitiveCreate node and set the type parameter to 'cube'.
2) Create a NetworkMaterialCreate node and enter the NMC interface.
3) Create a UsdUVTexture node and set the file parameter to a UDIM texture path, e.g. "/path/to/displacement.<UDIM>.exr".
4) Create a UsdPreviewSurface node and attach the surface output port to the NMC's NetworkMaterial usd.usdSurface port.
5) Connect the UsdUVTexture's rgb output port to the UsdPreviewSurface displacement input port.
6) Exit the NMC context.
7) Merge the PrimitiveCreate node and NetworkMaterialCreate node with a Merge node.
8) Create and attach a MaterialAssign downstream of the Merge node
9) Set the view and edit flag on the MaterialAssign
10) In the Parameters tab, set the CEL parameter to /root/world/geo/primitive and the materialAssign parameter to /root/materials.NetworkMaterial.
11) In the Viewer tab, click the Display menu and uncheck "Basic Material".
12) in the Scene Graph tab, Expand All the scene graph and select the /root/world/geo/primitive location.
13) In the Viewer, press "F".
Expected behavior
The geometry surfaces are displaced according to the texture file.


[WARN plugins.HydraViewer]: Failed to compile shader (GL_GEOMETRY_SHADER): 0(567) : error C1115: unable to find compatible overloaded function "HdGet_displacement(int)"[WARN plugins.HydraViewer]: Failed to compile shader (GL_GEOMETRY_SHADER): 0(567) : error C1115: unable to find compatible overloaded function "HdGet_displacement(int)"[ERROR plugins.HydraViewer]: Failed to compile shader for prim /root/world/geo/primitive.[ERROR plugins.HydraViewer]: Failed to compile shader for prim /root/world/geo/primitive.[WARN plugins.HydraViewer]: Failed to compile shader (GL_GEOMETRY_SHADER): 0(690) : error C1115: unable to find compatible overloaded function "HdGet_displacement(int)"[WARN plugins.HydraViewer]: Failed to compile shader (GL_GEOMETRY_SHADER): 0(690) : error C1115: unable to find compatible overloaded function "HdGet_displacement(int)"[ERROR plugins.HydraViewer]: Failed to compile shader for prim /root/world/geo/primitive.[ERROR plugins.HydraViewer]: Failed to compile shader for prim /root/world/geo/primitive. We're sorry to hear that
Please tell us why