diff --git a/dependencies/COLLADA2GLTF b/dependencies/COLLADA2GLTF index ee2109a..2ea8e5c 160000 --- a/dependencies/COLLADA2GLTF +++ b/dependencies/COLLADA2GLTF @@ -1 +1 @@ -Subproject commit ee2109a0c783a76a28bb7fc6d52fcb5d0df3e4f1 +Subproject commit 2ea8e5cbcb81af978c5b34d8e71da19fd6fbb35c diff --git a/maya/scripts/create-PBR-spheres.mel b/maya/scripts/create-PBR-spheres.mel deleted file mode 100644 index df8992c..0000000 --- a/maya/scripts/create-PBR-spheres.mel +++ /dev/null @@ -1,26 +0,0 @@ -file -f -new; - -polySphere -r 0.5 -sx 20 -sy 20 -ax 0 1 0 -cuv 2 -ch 1 -name "pSphere0"; - -for ($m=0; $m<=4; ++$m) { - for ($r=0; $r<=4; ++$r) { - select "pSphere0"; - string $nns[] = `instance`; - string $nn = $nns[0]; - move -a -xy ($m-2) ($r-2); - string $sn = `shadingNode -asShader StingrayPBS`; - string $sg = `sets -renderable true -noSurfaceShader true -empty -name $sn`; - setAttr ($sn+".initgraph") true; - connectAttr -f ($sn+".outColor") ($sg+".surfaceShader"); - assignCreatedShader "StingrayPBS" "" $sg $nn; - sets -e -forceElement $sg; - setAttr ($sn+".metallic") ($m/4.0); - setAttr ($sn+".roughness") ($r/4.0); - setAttr ($sn+".emissive") ($m/4.0) ($r/4.0) 0; - setAttr ($sn+".emissive_intensity") 0.25; - } -} - -select "pSphere0"; -doDelete; - diff --git a/maya/scripts/maya2glTF_UI.mel b/maya/scripts/maya2glTF_UI.mel index 57a16a3..ec34654 100644 --- a/maya/scripts/maya2glTF_UI.mel +++ b/maya/scripts/maya2glTF_UI.mel @@ -1,4 +1,4 @@ -proc string _quoted(string $text) +proc string _quoted(string $text) { string $quote = "\""; return $quote+$text+$quote;