State:Closed|icon_bug|icon_katana|database:public|Resolution:Fixed|TargetRelease:4.5v3|BugID:501773|
Problem summary
Importing USD with negative st index values crashes Katana when expanding the scene graph location.
In USD, primvars:st:indices
In Katana attributes: geometry.arbitrary.st.index
Customer reported version
katana.4.5v1
Customer reported platform
Steps to reproduce
1) Save the following as a .usda file:
#usda 1.0
def Mesh "pCube1"
{
int[] faceVertexCounts = [4, 4, 4, 4, 4, 4]
int[] faceVertexIndices = [0, 1, 3, 2, 2, 3, 5, 4, 4, 5, 7, 6, 6, 7, 1, 0, 1, 7, 5, 3, 6, 0, 2, 4]
point3f[] points = [(-0.5, -0.5, 0.5), (0.5, -0.5, 0.5), (-0.5, 0.5, 0.5), (0.5, 0.5, 0.5), (-0.5, 0.5, -0.5), (0.5, 0.5, -0.5), (-0.5, -0.5, -0.5), (0.5, -0.5, -0.5)]
texCoord2f[] primvars:st = [] (
interpolation = "faceVarying"
)
int[] primvars:st:indices = [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
}
2) In Katana, import the USDA file with a UsdIn node.
We're sorry to hear that
Please tell us why