Skip to content

Commit

Permalink
exclude light gizmo impact for usdLight test (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
lilike-adsk authored Dec 11, 2024
1 parent 7082e71 commit e4c2839
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/lib/mayaUsd/render/mayaToHydra/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set(INTERACTIVE_TEST_SCRIPT_FILES
testMayaDisplayLayers.py
testMayaIsolateSelect.py
testMayaLights.py
testUSDLights.py|skipOnPlatform:osx # HYDRA-1315 : Wire of DiskLight not showing on OSX
testUSDLights.py
testUVandUDIM.py
testArnoldLights.py|depOnPlugins:mtoa
testLookThrough.py
Expand Down
Binary file modified test/lib/mayaUsd/render/mayaToHydra/USDLightsTest/allLights.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions test/testSamples/testUSDLights/testUSDLights.ma
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ createNode mayaUsdLayerManager -n "mayaUsdLayerManager1";
setAttr ".lyr[1].id" -type "string" "./UsdStageWithSphereMatXStdSurf.usda";
setAttr ".lyr[1].fid" -type "string" "usd";
setAttr ".lyr[1].szd" -type "string" (
"#usda 1.0\n\ndef Sphere \"Sphere1\" (\n prepend apiSchemas = [\"MaterialBindingAPI\"]\n)\n{\n rel material:binding = </mtl/standard_surface1>\n double3 xformOp:translate = (0, 0, -2.3244301402269603)\n uniform token[] xformOpOrder = [\"xformOp:translate\"]\n}\n\ndef Scope \"mtl\"\n{\n def Material \"standard_surface1\"\n {\n token outputs:mtlx:surface.connect = </mtl/standard_surface1/standard_surface1.outputs:out>\n\n def Shader \"standard_surface1\"\n {\n uniform token info:id = \"ND_standard_surface_surfaceshader\"\n token outputs:out\n }\n }\n}\n\ndef DistantLight \"DistantLight1\"\n{\n float inputs:angle = 0.53\n color3f inputs:shadow:color\n bool inputs:shadow:enable = 1\n token visibility = \"inherited\"\n float3 xformOp:rotateXYZ = (-90, 0, 0)\n double3 xformOp:translate = (0, 2, 0)\n uniform token[] xformOpOrder = [\"xformOp:translate\", \"xformOp:rotateXYZ\"]\n}\n\ndef DiskLight \"DiskLight1\"\n{\n float inputs:radius = 2.4875622\n token visibility = \"inherited\"\n float3 xformOp:rotateXYZ = (-90, 0, 0)\n"
+ " double3 xformOp:translate = (0, 2, 0)\n uniform token[] xformOpOrder = [\"xformOp:translate\", \"xformOp:rotateXYZ\"]\n}\n\ndef DomeLight \"DomeLight1\"\n{\n asset inputs:texture:file = @sky.hdr@\n double3 xformOp:translate = (0, 2.329096001473479, 0)\n uniform token[] xformOpOrder = [\"xformOp:translate\"]\n}\n\n");
"#usda 1.0\n\ndef Sphere \"Sphere1\" (\n prepend apiSchemas = [\"MaterialBindingAPI\"]\n)\n{\n rel material:binding = </mtl/standard_surface1>\n double3 xformOp:translate = (0, 0, -2.3244301402269603)\n uniform token[] xformOpOrder = [\"xformOp:translate\"]\n}\n\ndef Scope \"mtl\"\n{\n def Material \"standard_surface1\"\n {\n token outputs:mtlx:surface.connect = </mtl/standard_surface1/standard_surface1.outputs:out>\n\n def Shader \"standard_surface1\"\n {\n uniform token info:id = \"ND_standard_surface_surfaceshader\"\n token outputs:out\n }\n }\n}\n\ndef DistantLight \"DistantLight1\"\n{\n float inputs:angle = 0.53\n color3f inputs:shadow:color\n bool inputs:shadow:enable = 1\n token visibility = \"inherited\"\n float3 xformOp:rotateXYZ = (-90, 0, 0)\n double3 xformOp:translate = (0, 8, 0)\n uniform token[] xformOpOrder = [\"xformOp:translate\", \"xformOp:rotateXYZ\"]\n}\n\ndef DiskLight \"DiskLight1\"\n{\n float inputs:radius = 2.4875622\n token visibility = \"inherited\"\n float3 xformOp:rotateXYZ = (-90, 0, 0)\n"
+ " double3 xformOp:translate = (0, 8, 0)\n uniform token[] xformOpOrder = [\"xformOp:translate\", \"xformOp:rotateXYZ\"]\n}\n\ndef DomeLight \"DomeLight1\"\n{\n asset inputs:texture:file = @sky.hdr@\n double3 xformOp:translate = (0, 8.329096001473479, 0)\n uniform token[] xformOpOrder = [\"xformOp:translate\"]\n}\n\n");
select -ne :time1;
setAttr ".o" 0;
select -ne :hardwareRenderingGlobals;
Expand Down

0 comments on commit e4c2839

Please sign in to comment.