From 2ad740058e7a3247f9a07853606e4af2f68efcf5 Mon Sep 17 00:00:00 2001 From: Keli Li Date: Wed, 14 Feb 2024 11:52:33 -0500 Subject: [PATCH 1/3] add test for look through camera&lights --- .../mayaUsd/render/mayaToHydra/CMakeLists.txt | 1 + .../mayaToHydra/LookThroughTest/default.png | Bin 0 -> 2874 bytes .../LookThroughTest/lookThroughAreaLight.png | Bin 0 -> 1930 bytes .../LookThroughTest/lookThroughCamera.png | Bin 0 -> 3798 bytes .../LookThroughTest/lookThroughSpotLight.png | Bin 0 -> 4105 bytes .../render/mayaToHydra/testLookThrough.py | 59 ++++ .../testLookThrough/testLookThrough.ma | 262 ++++++++++++++++++ .../testStandardSurface.ma | 4 - 8 files changed, 322 insertions(+), 4 deletions(-) create mode 100644 test/lib/mayaUsd/render/mayaToHydra/LookThroughTest/default.png create mode 100644 test/lib/mayaUsd/render/mayaToHydra/LookThroughTest/lookThroughAreaLight.png create mode 100644 test/lib/mayaUsd/render/mayaToHydra/LookThroughTest/lookThroughCamera.png create mode 100644 test/lib/mayaUsd/render/mayaToHydra/LookThroughTest/lookThroughSpotLight.png create mode 100644 test/lib/mayaUsd/render/mayaToHydra/testLookThrough.py create mode 100644 test/testSamples/testLookThrough/testLookThrough.ma diff --git a/test/lib/mayaUsd/render/mayaToHydra/CMakeLists.txt b/test/lib/mayaUsd/render/mayaToHydra/CMakeLists.txt index 116f04a372..d68b68949c 100644 --- a/test/lib/mayaUsd/render/mayaToHydra/CMakeLists.txt +++ b/test/lib/mayaUsd/render/mayaToHydra/CMakeLists.txt @@ -16,6 +16,7 @@ set(INTERACTIVE_TEST_SCRIPT_FILES testMayaLights.py testUSDLights.py testArnoldLights.py + testLookThrough.py testStandardSurface.py testFlowViewportAPI.py testStageVariants.py diff --git a/test/lib/mayaUsd/render/mayaToHydra/LookThroughTest/default.png b/test/lib/mayaUsd/render/mayaToHydra/LookThroughTest/default.png new file mode 100644 index 0000000000000000000000000000000000000000..2585b39b739328828ab5964fc98b0f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ipm!V8jqL7=ONO35|&#O+>yG2uCZyuAw%-&X-wN;wO-_Da57Aj6p&63+#{N~ zKiVwL=8Hng{X^fD90w<-!{Knp_r1*vQ34G6DkH>U{jT_wH zY2LHKMB zoltPe`1pKhX{E1VXU%tGTe>+pk-*{!X&UvF9{0qfbGoGU{+P{po2})y=W9vg#ZfwI z7FwV9EH1j5@11EK>h<1&_VvaT{PUxPmt@&Lzl=YCzKjy>G42xn_F_wU&G_ z?{NkWksBEnEtjlQ^)6-J60qU3Y9+x8mBuh!u$qqMaOP3Ak&+RsQ`FZ~ljI*ovXqlU zo|m&({2IjLj7zIo!w!+;)n<&Yy-K**sO=7x4AeA1WbW0aR2wLs-L%^jygCtHvGp%1SrFgS#xx6lYjZ?DqmJZ~?hOU}uQMUJU?4C!-y)-Q zm0+=-Y4VNDs*y5aADzW%t4msLdushYALzorW=+;TKPpbIz0_`?*IYJ4nSa6k#D0s* zH{?|;{3_8LJ7F#-XGAYJ`9gr%dhxxZw=BO$;3gYGkDPyVmkfIKQ!G@6r?XSn8QEWh zwk40Ac|Ye*$^LZs%Osl8z#^Q;t7IRbVtu6naTkHbNAU0qljz*MJ;E=l@Ufk0*`H(p zSI(?QN&|uG*H0vz0l4uzD>bb+{v!YqDDuvWq(pP)N7s^`n|oxr&H((JVzET4X(!`>Q0Nl1(`a1{mg%jX#N}4O(hNJBb8Ws WKKp?%^M8k+ARc literal 0 HcmV?d00001 diff --git a/test/lib/mayaUsd/render/mayaToHydra/LookThroughTest/lookThroughSpotLight.png b/test/lib/mayaUsd/render/mayaToHydra/LookThroughTest/lookThroughSpotLight.png new file mode 100644 index 0000000000000000000000000000000000000000..d4f534b5308e685886b7bb45e79c8da8fb5429d5 GIT binary patch literal 4105 zcmd^CX;_k5*GBRj&CDU+$Ta89u}n)FOvR~E)N;twoKrH=R1}Ybvr;x#PRBe)NyWZ$ zBvUa3bHFjRGAWLV14pPVNf5~tC=qxc-|PMR{rmoW*ZJ}6y|1;OYu$UTb??2_x_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{;F$_t{4B}s-4=|*3gy62lq=* zNfUl~_6M*C2Gqu;JWV^?D4HEoW*vX0kBTsRgjb#kWsg1TGzHS66|cxwkUSGHT2mzk z$|zAXw2+%PIPjOEV%}8YWKe-yX57T7YXe`Z_&*N3jLNB96FCMvh1?Y}GdDJS3*0$t zXnQxYC@xZl5{NGfRCVH7zYMN!t|4m@wrVJC86y04zT-?Fa+FncN|xp4U`qLJTR9fA xBi{pPb*waW{z(naKc$iTKeMw~rm$|IyZ/OCIO-configs/Maya2022-default/config.ocio"; + setAttr ".vtn" -type "string" "ACES 1.0 SDR-video (sRGB)"; + setAttr ".vn" -type "string" "ACES 1.0 SDR-video"; + setAttr ".dn" -type "string" "sRGB"; + setAttr ".wsn" -type "string" "ACEScg"; + setAttr ".otn" -type "string" "ACES 1.0 SDR-video (sRGB)"; + setAttr ".potn" -type "string" "ACES 1.0 SDR-video (sRGB)"; +select -ne :hardwareRenderGlobals; + setAttr ".ctrs" 256; + setAttr ".btrs" 512; +connectAttr "polyCube1.out" "pCubeShape1.i"; +relationship "link" ":lightLinker1" ":initialShadingGroup.message" ":defaultLightSet.message"; +relationship "link" ":lightLinker1" ":initialParticleSE.message" ":defaultLightSet.message"; +relationship "shadowLink" ":lightLinker1" ":initialShadingGroup.message" ":defaultLightSet.message"; +relationship "shadowLink" ":lightLinker1" ":initialParticleSE.message" ":defaultLightSet.message"; +connectAttr "layerManager.dli[0]" "defaultLayer.id"; +connectAttr "renderLayerManager.rlmi[0]" "defaultRenderLayer.rlid"; +connectAttr "defaultRenderLayer.msg" ":defaultRenderingList1.r" -na; +connectAttr "spotLightShape1.ltd" ":lightList1.l" -na; +connectAttr "areaLightShape1.ltd" ":lightList1.l" -na; +connectAttr "pCubeShape1.iog" ":initialShadingGroup.dsm" -na; +connectAttr "spotLight1.iog" ":defaultLightSet.dsm" -na; +connectAttr "areaLight1.iog" ":defaultLightSet.dsm" -na; +// End of testLookThrough.ma diff --git a/test/testSamples/testStandardSurface/testStandardSurface.ma b/test/testSamples/testStandardSurface/testStandardSurface.ma index b26b98a4f1..9cd5846491 100644 --- a/test/testSamples/testStandardSurface/testStandardSurface.ma +++ b/test/testSamples/testStandardSurface/testStandardSurface.ma @@ -3,7 +3,6 @@ //Last modified: Mon, Feb 05, 2024 09:30:35 AM //Codeset: 1252 requires maya "2025ff02"; -requires -nodeType "mayaUsdLayerManager" -dataType "pxrUsdStageData" "mayaUsdPlugin" "0.27.0"; currentUnit -l centimeter -a degree -t film; fileInfo "application" "maya"; fileInfo "product" "Maya 2025"; @@ -112,9 +111,6 @@ createNode file -n "file1"; setAttr ".cs" -type "string" "sRGB"; createNode place2dTexture -n "place2dTexture1"; rename -uid "6616C90D-4B36-08C7-8666-33BB13D15663"; -createNode mayaUsdLayerManager -n "mayaUsdLayerManager1"; - rename -uid "61CE7C31-4E04-09B7-BFEA-F291A58D7E4C"; - setAttr ".sst" -type "string" ""; createNode script -n "uiConfigurationScriptNode"; rename -uid "8E0C2C18-4263-5451-E98E-C6B108D65C44"; setAttr ".b" -type "string" ( From ddd6426f3ab8c8755a3c11f96b8a3294dabbbd5a Mon Sep 17 00:00:00 2001 From: Keli Li Date: Wed, 14 Feb 2024 13:03:31 -0500 Subject: [PATCH 2/3] use different image diff tolerance --- .../render/mayaToHydra/testLookThrough.py | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/test/lib/mayaUsd/render/mayaToHydra/testLookThrough.py b/test/lib/mayaUsd/render/mayaToHydra/testLookThrough.py index 26fc04b74e..2c086d35da 100644 --- a/test/lib/mayaUsd/render/mayaToHydra/testLookThrough.py +++ b/test/lib/mayaUsd/render/mayaToHydra/testLookThrough.py @@ -18,13 +18,23 @@ import fixturesUtils import mtohUtils import mayaUtils +import platform class TestLookThrough(mtohUtils.MtohTestCase): #Subclassing mtohUtils.MtohTestCase to be able to call self.assertSnapshotClose # MayaHydraBaseTestCase.setUpClass requirement. _file = __file__ - IMAGE_DIFF_FAIL_THRESHOLD = 0.01 - IMAGE_DIFF_FAIL_PERCENT = 0.2 + @property + def imageDiffFailThreshold(self): + return 0.01 + + @property + def imageDiffFailPercent(self): + # HYDRA-837 : Wireframes seem to have a slightly different color on macOS. We'll increase the thresholds + # for that platform specifically for now, so we can still catch issues on other platforms. + if platform.system() == "Darwin": + return 3 + return 0.2 #Test look through camera and maya lights (spot & area). def test_LookThrough(self): @@ -38,22 +48,22 @@ def test_LookThrough(self): #Verify Default display panel = mayaUtils.activeModelPanel() - self.assertSnapshotClose("default" + ".png", self.IMAGE_DIFF_FAIL_THRESHOLD, self.IMAGE_DIFF_FAIL_PERCENT) + self.assertSnapshotClose("default" + ".png", self.imageDiffFailThreshold, self.imageDiffFailPercent) #Verify look through camera cmds.lookThru( panel, 'persp1' ) cmds.refresh() - self.assertSnapshotClose("lookThroughCamera" + ".png", self.IMAGE_DIFF_FAIL_THRESHOLD, self.IMAGE_DIFF_FAIL_PERCENT) + self.assertSnapshotClose("lookThroughCamera" + ".png", self.imageDiffFailThreshold, self.imageDiffFailPercent) #Verify look through spot Light cmds.lookThru( panel, 'spotLight1' ) cmds.refresh() - self.assertSnapshotClose("lookThroughSpotLight" + ".png", self.IMAGE_DIFF_FAIL_THRESHOLD, self.IMAGE_DIFF_FAIL_PERCENT) + self.assertSnapshotClose("lookThroughSpotLight" + ".png", self.imageDiffFailThreshold, self.imageDiffFailPercent) #Verify look through area light, use a small far clip to clip the scene cmds.lookThru( panel, 'areaLight1', nc=0.0, fc=7.5 ) cmds.refresh() - self.assertSnapshotClose("lookThroughAreaLight" + ".png", self.IMAGE_DIFF_FAIL_THRESHOLD, self.IMAGE_DIFF_FAIL_PERCENT) + self.assertSnapshotClose("lookThroughAreaLight" + ".png", self.imageDiffFailThreshold, self.imageDiffFailPercent) if __name__ == '__main__': fixturesUtils.runTests(globals()) From 92e443eec171a6f8a40d03f8bdf2e9429060d521 Mon Sep 17 00:00:00 2001 From: Keli Li Date: Thu, 15 Feb 2024 10:58:33 -0500 Subject: [PATCH 3/3] update based on review --- test/lib/mayaUsd/render/mayaToHydra/testLookThrough.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/lib/mayaUsd/render/mayaToHydra/testLookThrough.py b/test/lib/mayaUsd/render/mayaToHydra/testLookThrough.py index 2c086d35da..3e0baf4d2f 100644 --- a/test/lib/mayaUsd/render/mayaToHydra/testLookThrough.py +++ b/test/lib/mayaUsd/render/mayaToHydra/testLookThrough.py @@ -38,8 +38,6 @@ def imageDiffFailPercent(self): #Test look through camera and maya lights (spot & area). def test_LookThrough(self): - cmds.file(new=True, force=True) - # Load a maya scene with a maya native cubic testFile = mayaUtils.openTestScene( "testLookThrough",