From e14064407091dbf9e341eef166e6742823cf312b Mon Sep 17 00:00:00 2001 From: Keli Li Date: Thu, 1 Feb 2024 16:27:56 -0500 Subject: [PATCH] use relative path for the hdr iamge --- test/testSamples/testUSDLights/testUSDLights.ma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testSamples/testUSDLights/testUSDLights.ma b/test/testSamples/testUSDLights/testUSDLights.ma index 9ab5b29322..3f6a37b7f1 100644 --- a/test/testSamples/testUSDLights/testUSDLights.ma +++ b/test/testSamples/testUSDLights/testUSDLights.ma @@ -202,7 +202,7 @@ createNode mayaUsdLayerManager -n "mayaUsdLayerManager1"; 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 = \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 = \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 = @E:/MayaHydra/ecg-maya-hydra/maya-hydra/test/testSamples/testUSDLights/sky.hdr@\n double3 xformOp:translate = (0, 2.329096001473479, 0)\n uniform token[] xformOpOrder = [\"xformOp:translate\"]\n}\n\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"); select -ne :time1; setAttr ".o" 0; select -ne :hardwareRenderingGlobals;