Skip to content

Commit

Permalink
remove root prim xformOps for testProxyShapeLiveSurface test USD
Browse files Browse the repository at this point in the history
The pxrUsdReferenceAssembly workflow never really supported significant
authoring on the root prim that is referenced by the assembly. This means that
for the purposes of the testProxyShapeLiveSurface test, the existing authoring
that attempts to translate the root prim is actually being ignored when the USD
is referenced by a USD reference assembly or proxy shape. The test was authored
taking that into account.

However, that is only the case when using Pixar's batch renderer. This issue
has been fixed when using UFE and the Viewport 2.0 render delegate. In that
case, using the same Maya scene and USD, the referenced geometry ends up being
transformed correctly, but differently as compared to the Pixar batch renderer.

To keep the test results consistent (and correct) between the Pixar batch
renderer and the VP2.0 render delegate, we simply remove the root prim
xformOps.

(Internal change: 2094559)
  • Loading branch information
mattyjams committed Sep 5, 2020
1 parent 14e0c2b commit 17f789a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ def Mesh "BlockModel" (
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 = [(-20, -20, 0.5), (20, -20, 0.5), (-20, 20, 0.5), (20, 20, 0.5), (-20, 20, -0.5), (20, 20, -0.5), (-20, -20, -0.5), (20, -20, -0.5)]
uniform token subdivisionScheme = "none"
double3 xformOp:translate = (0, 0, 7)
uniform token[] xformOpOrder = ["xformOp:translate"]
}

0 comments on commit 17f789a

Please sign in to comment.