//Maya ASCII 3.0 scene //Name: phong_model2.ma //Last modified: Wed, Jul 04, 2001 04:01:37 PM requires maya "3.0"; currentUnit -l centimeter -a degree -t pal; createNode transform -s -n "persp"; setAttr ".t" -type "double3" 0 0 4 ; setAttr ".r" -type "double3" 0 0 3.1060861242445474e-018 ; createNode camera -s -n "perspShape" -p "persp"; setAttr -k off ".v"; setAttr ".fl" 34.999999999999993; setAttr ".coi" 12.821841076483478; setAttr ".imn" -type "string" "persp"; setAttr ".den" -type "string" "persp_depth"; setAttr ".man" -type "string" "persp_mask"; setAttr ".hc" -type "string" "viewSet -p %camera"; createNode transform -s -n "top"; setAttr ".v" no; setAttr ".t" -type "double3" -0.45483294275926944 100 2.5636038591886043 ; setAttr ".r" -type "double3" -89.999999999999986 0 0 ; createNode camera -s -n "topShape" -p "top"; setAttr -k off ".v" no; setAttr ".rnd" no; setAttr ".coi" 100; setAttr ".ow" 21.625239005736137; setAttr ".imn" -type "string" "top"; setAttr ".den" -type "string" "top_depth"; setAttr ".man" -type "string" "top_mask"; setAttr ".hc" -type "string" "viewSet -t %camera"; setAttr ".o" yes; createNode transform -s -n "front"; setAttr ".v" no; setAttr ".t" -type "double3" 0 0 100 ; createNode camera -s -n "frontShape" -p "front"; setAttr -k off ".v" no; setAttr ".rnd" no; setAttr ".coi" 100; setAttr ".ow" 30; setAttr ".imn" -type "string" "front"; setAttr ".den" -type "string" "front_depth"; setAttr ".man" -type "string" "front_mask"; setAttr ".hc" -type "string" "viewSet -f %camera"; setAttr ".o" yes; createNode transform -s -n "side"; setAttr ".v" no; setAttr ".t" -type "double3" 100 0.41878410268576238 2.2400079911098909 ; setAttr ".r" -type "double3" 0 89.999999999999986 0 ; createNode camera -s -n "sideShape" -p "side"; setAttr -k off ".v" no; setAttr ".rnd" no; setAttr ".coi" 100; setAttr ".ow" 9.6123674911660792; setAttr ".imn" -type "string" "side"; setAttr ".den" -type "string" "side_depth"; setAttr ".man" -type "string" "side_mask"; setAttr ".hc" -type "string" "viewSet -s %camera"; setAttr ".o" yes; createNode transform -n "nurbsSphere1"; createNode nurbsSurface -n "nurbsSphereShape1" -p "nurbsSphere1"; setAttr -k off ".v"; setAttr ".vir" yes; setAttr ".vif" yes; setAttr ".tw" yes; setAttr ".dvu" 0; setAttr ".dvv" 0; setAttr ".cpr" 8; setAttr ".cps" 4; createNode transform -n "l"; addAttr -ci true -sn "cTransX" -ln "cTransX" -at "double"; addAttr -ci true -sn "cTransY" -ln "cTransY" -at "double"; addAttr -ci true -sn "cTransZ" -ln "cTransZ" -at "double"; setAttr ".t" -type "double3" 4 0 2 ; createNode locator -n "lshape" -p "l"; setAttr -k off ".v"; createNode lightLinker -n "lightLinker1"; createNode brush -n "brush1"; createNode displayLayerManager -n "layerManager"; createNode displayLayer -n "defaultLayer"; createNode renderLayerManager -n "renderLayerManager"; createNode renderLayer -n "defaultRenderLayer"; createNode renderLayer -s -n "globalRender"; createNode makeNurbSphere -n "makeNurbSphere1"; setAttr ".ax" -type "double3" 0 1 0 ; createNode surfaceShader -n "ss"; createNode shadingEngine -n "surfaceShader1SG"; setAttr ".ihi" 0; setAttr ".ro" yes; createNode materialInfo -n "materialInfo1"; createNode expression -n "phong_shader"; setAttr -k on ".nds"; setAttr -s 12 ".in"; setAttr -s 12 ".in"; setAttr -s 3 ".out"; setAttr ".ixp" -type "string" ( "// Gergely Vass, 2001\r\n" + "// email: gergely_vass@siggraph.org\r\n" + "//\r\n" + "//\r\n" + "// This expression shows how a simple Phong illumination\r\n" + "// model works. It drives a \"surface shader\" node which\r\n" + "// doesn't have any illumination models in it. I didn't\r\n" + "// make parameters for the three color channels so it\r\n" + "// works \"grayscale\".\r\n" + "\r\n" + "\r\n" + "\r\n" + "// the parameters:\r\n" + "\r\n" + "$ambiens=0; // ambient light\r\n" + "$diffuz=0.5; // strength of the diffuse component\r\n" + "$cos_power=2; // the \"sharpness\" of the specular reflection\r\n" + "$specular=0.5; // the strength of the specular component\r\n" + "\r\n" + "// the script uses the following information:\r\n" + "//\r\n" + "// - the position of the rendered surface-element in camera space\r\n" + "// - the position of our light (a locator) in camera space\r\n" + "// note: this is stored in the locators node and is calculated\r\n" + "// by the script called: to_camera_space\r\n" + "// - the direction of our sight (ray direction)\r\n" + "\r\n" + "\r\n" + "//*******************************************************************\r\n" + "\r\n" + "\r\n" + "// this is the vector that points from the light to the surface: \r\n" + "vector $light=<<.I[0]-.I[1],.I[2]-.I[3],.I[4]-.I[5]>>;\r\n" + "\r\n" + "// let's normalize it, and reverse it's direction (I'm lazy to modify the line above)\r\n" + "if(0!=mag($light))$light=-1*$light/mag($light);\r\n" + "\r\n" + "// we can get the normal vector from the sampler info node:\r\n" + "vector $normal=<<.I[6],.I[7],.I[8]>>;\r\n" + "\r\n" + "// we need the direction of the reflected light ray (it'll be \"$tukor\"):\r\n" + "\r\n" + "float $szog=angle($normal,$light);\r\n" + "vector $forgas=-1*cross($light,$normal);\r\n" + "vector $tukor=rot($light,$forgas,-2*$szog);\r\n" + "\r\n" + "\r\n" + "// the ray direction from the sampler info:\r\n" + "vector $view=<<.I[9],.I[10],.I[11]>>;\r\n" + "\r\n" + "// normalize it (this might be unnecessary)\r\n" + "if(0!=mag($view))$view=$view/mag($view);\r\n" + "\r\n" + "\r\n" + "// and set the final color (this is the heart of it all):\r\n" + ".O[0]=\r\n" + "\r\n" + "// diffuse component: uses the angle between the normal and the light vector\r\n" + " $diffuz*clamp(0,1,dot(<<.I[6],.I[7],.I[8]>>,$light))+\r\n" + "\r\n" + "// specular component: uses the angle between the reflected light end the ray direction\r\n" + " $specular*pow(clamp(0,1,dot(-1*$tukor,$view)),$cos_power)+\r\n" + "\r\n" + "// and finally our simple ambient term\r\n" + " $ambiens;\r\n" + "\r\n" + "\r\n" + "\r\n" + "// we set all three channels the same\r\n" + ".O[1]=.O[0];\r\n" + ".O[2]=.O[0]; \r"); createNode samplerInfo -n "si"; createNode partition -n "mtorPartition"; createNode script -n "uiConfigurationScriptNode"; setAttr ".b" -type "string" ( "// Maya Mel UI Configuration File.\n" + "//\n" + "// This script is machine generated. Edit at your own risk.\n" + "//\n" + "//\n" + "if (`paneLayout -exists $gMainPane`) {\n" + " global int $gUseScenePanelConfig;\n" + " int $useSceneConfig = $gUseScenePanelConfig;\n" + " int $menusOkayInPanels = `optionVar -q allowMenusInPanels`; int $nVisPanes = `paneLayout -q -nvp $gMainPane`;\n" + " int $nPanes = 0;\n" + " string $editorName;\n" + " string $panelName;\n" + " string $itemFilterName;\n" + " string $panelConfig;\n" + " //\n" + " // get current state of the UI\n" + " //\n" + " sceneUIReplacement -update $gMainPane;\n" + " $panelName = `sceneUIReplacement -getNextPanel \"modelPanel\" \"Top View\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `modelPanel -unParent -l \"Top View\" -mbv $menusOkayInPanels `;\n" + " $editorName = $panelName;\n" + " modelEditor -e \n" + " -camera \"persp\" \n" + " -useInteractiveMode 0\n" + " -displayLights \"default\" \n" + " -displayAppearance \"wireframe\" \n" + " -activeOnly 0\n" + " -wireframeOnShaded 0\n" + " -bufferMode \"double\" \n" + " -twoSidedLighting 1\n" + " -backfaceCulling 0\n" + " -xray 0\n" + " -displayTextures 0\n" + " -textureMaxSize 1024\n" + " -nurbsCurves 1\n" + " -nurbsSurfaces 1\n" + " -polymeshes 1\n" + " -subdivSurfaces 1\n" + " -planes 1\n" + " -lights 1\n" + " -cameras 1\n" + " -controlVertices 1\n" + " -hulls 1\n" + " -grid 1\n" + " -joints 1\n" + " -ikHandles 1\n" + " -deformers 1\n" + " -dynamics 1\n" + " -locators 1\n" + " -dimensions 1\n" + " -handles 1\n" + " -pivots 1\n" + " -textures 1\n" + " -strokes 1\n" + " $editorName;\n" + "modelEditor -e -viewSelected 0 $editorName;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " modelPanel -edit -l \"Top View\" -mbv $menusOkayInPanels $panelName;\n" + " $editorName = $panelName;\n" + " modelEditor -e \n" + " -camera \"persp\" \n" + " -useInteractiveMode 0\n" + " -displayLights \"default\" \n" + " -displayAppearance \"wireframe\" \n" + " -activeOnly 0\n" + " -wireframeOnShaded 0\n" + " -bufferMode \"double\" \n" + " -twoSidedLighting 1\n" + " -backfaceCulling 0\n" + " -xray 0\n" + " -displayTextures 0\n" + " -textureMaxSize 1024\n" + " -nurbsCurves 1\n" + " -nurbsSurfaces 1\n" + " -polymeshes 1\n" + " -subdivSurfaces 1\n" + " -planes 1\n" + " -lights 1\n" + " -cameras 1\n" + " -controlVertices 1\n" + " -hulls 1\n" + " -grid 1\n" + " -joints 1\n" + " -ikHandles 1\n" + " -deformers 1\n" + " -dynamics 1\n" + " -locators 1\n" + " -dimensions 1\n" + " -handles 1\n" + " -pivots 1\n" + " -textures 1\n" + " -strokes 1\n" + " $editorName;\n" + "modelEditor -e -viewSelected 0 $editorName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextPanel \"modelPanel\" \"Side View\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `modelPanel -unParent -l \"Side View\" -mbv $menusOkayInPanels `;\n" + " $editorName = $panelName;\n" + " modelEditor -e \n" + " -camera \"side\" \n" + " -useInteractiveMode 0\n" + " -displayLights \"default\" \n" + " -displayAppearance \"wireframe\" \n" + " -activeOnly 0\n" + " -wireframeOnShaded 0\n" + " -bufferMode \"double\" \n" + " -twoSidedLighting 1\n" + " -backfaceCulling 0\n" + " -xray 0\n" + " -displayTextures 0\n" + " -textureMaxSize 1024\n" + " -nurbsCurves 1\n" + " -nurbsSurfaces 1\n" + " -polymeshes 1\n" + " -subdivSurfaces 1\n" + " -planes 1\n" + " -lights 1\n" + " -cameras 1\n" + " -controlVertices 1\n" + " -hulls 1\n" + " -grid 1\n" + " -joints 1\n" + " -ikHandles 1\n" + " -deformers 1\n" + " -dynamics 1\n" + " -locators 1\n" + " -dimensions 1\n" + " -handles 1\n" + " -pivots 1\n" + " -textures 1\n" + " -strokes 1\n" + " $editorName;\n" + "modelEditor -e -viewSelected 0 $editorName;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " modelPanel -edit -l \"Side View\" -mbv $menusOkayInPanels $panelName;\n" + " $editorName = $panelName;\n" + " modelEditor -e \n" + " -camera \"side\" \n" + " -useInteractiveMode 0\n" + " -displayLights \"default\" \n" + " -displayAppearance \"wireframe\" \n" + " -activeOnly 0\n" + " -wireframeOnShaded 0\n" + " -bufferMode \"double\" \n" + " -twoSidedLighting 1\n" + " -backfaceCulling 0\n" + " -xray 0\n" + " -displayTextures 0\n" + " -textureMaxSize 1024\n" + " -nurbsCurves 1\n" + " -nurbsSurfaces 1\n" + " -polymeshes 1\n" + " -subdivSurfaces 1\n" + " -planes 1\n" + " -lights 1\n" + " -cameras 1\n" + " -controlVertices 1\n" + " -hulls 1\n" + " -grid 1\n" + " -joints 1\n" + " -ikHandles 1\n" + " -deformers 1\n" + " -dynamics 1\n" + " -locators 1\n" + " -dimensions 1\n" + " -handles 1\n" + " -pivots 1\n" + " -textures 1\n" + " -strokes 1\n" + " $editorName;\n" + "modelEditor -e -viewSelected 0 $editorName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextPanel \"modelPanel\" \"Front View\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `modelPanel -unParent -l \"Front View\" -mbv $menusOkayInPanels `;\n" + " $editorName = $panelName;\n" + " modelEditor -e \n" + " -camera \"top\" \n" + " -useInteractiveMode 0\n" + " -displayLights \"default\" \n" + " -displayAppearance \"wireframe\" \n" + " -activeOnly 0\n" + " -wireframeOnShaded 0\n" + " -bufferMode \"double\" \n" + " -twoSidedLighting 1\n" + " -backfaceCulling 0\n" + " -xray 0\n" + " -displayTextures 0\n" + " -textureMaxSize 1024\n" + " -nurbsCurves 1\n" + " -nurbsSurfaces 1\n" + " -polymeshes 1\n" + " -subdivSurfaces 1\n" + " -planes 1\n" + " -lights 1\n" + " -cameras 1\n" + " -controlVertices 1\n" + " -hulls 1\n" + " -grid 1\n" + " -joints 1\n" + " -ikHandles 1\n" + " -deformers 1\n" + " -dynamics 1\n" + " -locators 1\n" + " -dimensions 1\n" + " -handles 1\n" + " -pivots 1\n" + " -textures 1\n" + " -strokes 1\n" + " $editorName;\n" + "modelEditor -e -viewSelected 0 $editorName;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " modelPanel -edit -l \"Front View\" -mbv $menusOkayInPanels $panelName;\n" + " $editorName = $panelName;\n" + " modelEditor -e \n" + " -camera \"top\" \n" + " -useInteractiveMode 0\n" + " -displayLights \"default\" \n" + " -displayAppearance \"wireframe\" \n" + " -activeOnly 0\n" + " -wireframeOnShaded 0\n" + " -bufferMode \"double\" \n" + " -twoSidedLighting 1\n" + " -backfaceCulling 0\n" + " -xray 0\n" + " -displayTextures 0\n" + " -textureMaxSize 1024\n" + " -nurbsCurves 1\n" + " -nurbsSurfaces 1\n" + " -polymeshes 1\n" + " -subdivSurfaces 1\n" + " -planes 1\n" + " -lights 1\n" + " -cameras 1\n" + " -controlVertices 1\n" + " -hulls 1\n" + " -grid 1\n" + " -joints 1\n" + " -ikHandles 1\n" + " -deformers 1\n" + " -dynamics 1\n" + " -locators 1\n" + " -dimensions 1\n" + " -handles 1\n" + " -pivots 1\n" + " -textures 1\n" + " -strokes 1\n" + " $editorName;\n" + "modelEditor -e -viewSelected 0 $editorName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextPanel \"modelPanel\" \"Persp View\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `modelPanel -unParent -l \"Persp View\" -mbv $menusOkayInPanels `;\n" + " $editorName = $panelName;\n" + " modelEditor -e \n" + " -camera \"front\" \n" + " -useInteractiveMode 0\n" + " -displayLights \"default\" \n" + " -displayAppearance \"smoothShaded\" \n" + " -activeOnly 0\n" + " -wireframeOnShaded 0\n" + " -bufferMode \"double\" \n" + " -twoSidedLighting 1\n" + " -backfaceCulling 0\n" + " -xray 0\n" + " -displayTextures 1\n" + " -textureMaxSize 1024\n" + " -nurbsCurves 1\n" + " -nurbsSurfaces 1\n" + " -polymeshes 1\n" + " -subdivSurfaces 1\n" + " -planes 1\n" + " -lights 1\n" + " -cameras 1\n" + " -controlVertices 1\n" + " -hulls 1\n" + " -grid 1\n" + " -joints 1\n" + " -ikHandles 1\n" + " -deformers 1\n" + " -dynamics 1\n" + " -locators 1\n" + " -dimensions 1\n" + " -handles 1\n" + " -pivots 1\n" + " -textures 1\n" + " -strokes 1\n" + " $editorName;\n" + "modelEditor -e -viewSelected 0 $editorName;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " modelPanel -edit -l \"Persp View\" -mbv $menusOkayInPanels $panelName;\n" + " $editorName = $panelName;\n" + " modelEditor -e \n" + " -camera \"front\" \n" + " -useInteractiveMode 0\n" + " -displayLights \"default\" \n" + " -displayAppearance \"smoothShaded\" \n" + " -activeOnly 0\n" + " -wireframeOnShaded 0\n" + " -bufferMode \"double\" \n" + " -twoSidedLighting 1\n" + " -backfaceCulling 0\n" + " -xray 0\n" + " -displayTextures 1\n" + " -textureMaxSize 1024\n" + " -nurbsCurves 1\n" + " -nurbsSurfaces 1\n" + " -polymeshes 1\n" + " -subdivSurfaces 1\n" + " -planes 1\n" + " -lights 1\n" + " -cameras 1\n" + " -controlVertices 1\n" + " -hulls 1\n" + " -grid 1\n" + " -joints 1\n" + " -ikHandles 1\n" + " -deformers 1\n" + " -dynamics 1\n" + " -locators 1\n" + " -dimensions 1\n" + " -handles 1\n" + " -pivots 1\n" + " -textures 1\n" + " -strokes 1\n" + " $editorName;\n" + "modelEditor -e -viewSelected 0 $editorName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextPanel \"outlinerPanel\" \"Outliner\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `outlinerPanel -unParent -l \"Outliner\" -mbv $menusOkayInPanels `;\n" + " $editorName = $panelName;\n" + " outlinerEditor -e \n" + " -mainListConnection \"worldList\" \n" + " -selectionConnection \"modelList\" \n" + " -showShapes 0\n" + " -showAttributes 0\n" + " -showConnected 0\n" + " -showAnimCurvesOnly 0\n" + " -autoExpand 0\n" + " -showDagOnly 1\n" + " -ignoreDagHierarchy 0\n" + " -expandConnections 0\n" + " -showUnitlessCurves 1\n" + " -showCompounds 1\n" + " -showLeafs 1\n" + " -showNumericAttrsOnly 0\n" + " -highlightActive 1\n" + " -autoSelectNewObjects 0\n" + " -doNotSelectNewObjects 0\n" + " -dropIsParent 1\n" + " -transmitFilters 0\n" + " -setFilter \"defaultSetFilter\" \n" + " -showSetMembers 1\n" + " -allowMultiSelection 1\n" + " -alwaysToggleSelect 0\n" + " -directSelect 0\n" + " -displayMode \"DAG\" \n" + " -expandObjects 0\n" + " -setsIgnoreFilters 1\n" + " -editAttrName 0\n" + " -showAttrValues 0\n" + " -highlightSecondary 0\n" + " -showUVAttrsOnly 0\n" + " -showTextureNodesOnly 0\n" + " $editorName;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " outlinerPanel -edit -l \"Outliner\" -mbv $menusOkayInPanels $panelName;\n" + " $editorName = $panelName;\n" + " outlinerEditor -e \n" + " -mainListConnection \"worldList\" \n" + " -selectionConnection \"modelList\" \n" + " -showShapes 0\n" + " -showAttributes 0\n" + " -showConnected 0\n" + " -showAnimCurvesOnly 0\n" + " -autoExpand 0\n" + " -showDagOnly 1\n" + " -ignoreDagHierarchy 0\n" + " -expandConnections 0\n" + " -showUnitlessCurves 1\n" + " -showCompounds 1\n" + " -showLeafs 1\n" + " -showNumericAttrsOnly 0\n" + " -highlightActive 1\n" + " -autoSelectNewObjects 0\n" + " -doNotSelectNewObjects 0\n" + " -dropIsParent 1\n" + " -transmitFilters 0\n" + " -setFilter \"defaultSetFilter\" \n" + " -showSetMembers 1\n" + " -allowMultiSelection 1\n" + " -alwaysToggleSelect 0\n" + " -directSelect 0\n" + " -displayMode \"DAG\" \n" + " -expandObjects 0\n" + " -setsIgnoreFilters 1\n" + " -editAttrName 0\n" + " -showAttrValues 0\n" + " -highlightSecondary 0\n" + " -showUVAttrsOnly 0\n" + " -showTextureNodesOnly 0\n" + " $editorName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextScriptedPanel \"graphEditor\" \"Graph Editor\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `scriptedPanel -unParent -type \"graphEditor\" -l \"Graph Editor\" -mbv $menusOkayInPanels `;\n" + " $editorName = ($panelName+\"OutlineEd\");\n" + " outlinerEditor -e \n" + " -mainListConnection \"graphEditorList\" \n" + " -selectionConnection \"graphEditor1FromOutliner\" \n" + " -highlightConnection \"keyframeList\" \n" + " -showShapes 1\n" + " -showAttributes 1\n" + " -showConnected 1\n" + " -showAnimCurvesOnly 1\n" + " -autoExpand 1\n" + " -showDagOnly 0\n" + " -ignoreDagHierarchy 0\n" + " -expandConnections 1\n" + " -showUnitlessCurves 1\n" + " -showCompounds 0\n" + " -showLeafs 1\n" + " -showNumericAttrsOnly 1\n" + " -highlightActive 0\n" + " -autoSelectNewObjects 1\n" + " -doNotSelectNewObjects 0\n" + " -dropIsParent 1\n" + " -transmitFilters 1\n" + " -setFilter \"0\" \n" + " -showSetMembers 0\n" + " -allowMultiSelection 1\n" + " -alwaysToggleSelect 0\n" + " -directSelect 0\n" + " -displayMode \"DAG\" \n" + " -expandObjects 0\n" + " -setsIgnoreFilters 1\n" + " -editAttrName 0\n" + " -showAttrValues 0\n" + " -highlightSecondary 0\n" + " -showUVAttrsOnly 0\n" + " -showTextureNodesOnly 0\n" + " $editorName;\n" + " $editorName = ($panelName+\"GraphEd\");\n" + " animCurveEditor -e \n" + " -mainListConnection \"graphEditor1FromOutliner\" \n" + " -displayKeys 1\n" + " -displayTangents 0\n" + " -displayActiveKeys 0\n" + " -displayActiveKeyTangents 1\n" + " -displayInfinities 0\n" + " -autoFit 0\n" + " -snapTime \"none\" \n" + " -snapValue \"none\" \n" + " -showResults \"off\" \n" + " -showBufferCurves \"off\" \n" + " -smoothness \"fine\" \n" + " -resultSamples 1\n" + " -resultScreenSamples 0\n" + " -resultUpdate \"delayed\" \n" + " $editorName;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " scriptedPanel -edit -l \"Graph Editor\" -mbv $menusOkayInPanels $panelName;\n" + " $editorName = ($panelName+\"OutlineEd\");\n" + " outlinerEditor -e \n" + " -mainListConnection \"graphEditorList\" \n" + " -selectionConnection \"graphEditor1FromOutliner\" \n" + " -highlightConnection \"keyframeList\" \n" + " -showShapes 1\n" + " -showAttributes 1\n" + " -showConnected 1\n" + " -showAnimCurvesOnly 1\n" + " -autoExpand 1\n" + " -showDagOnly 0\n" + " -ignoreDagHierarchy 0\n" + " -expandConnections 1\n" + " -showUnitlessCurves 1\n" + " -showCompounds 0\n" + " -showLeafs 1\n" + " -showNumericAttrsOnly 1\n" + " -highlightActive 0\n" + " -autoSelectNewObjects 1\n" + " -doNotSelectNewObjects 0\n" + " -dropIsParent 1\n" + " -transmitFilters 1\n" + " -setFilter \"0\" \n" + " -showSetMembers 0\n" + " -allowMultiSelection 1\n" + " -alwaysToggleSelect 0\n" + " -directSelect 0\n" + " -displayMode \"DAG\" \n" + " -expandObjects 0\n" + " -setsIgnoreFilters 1\n" + " -editAttrName 0\n" + " -showAttrValues 0\n" + " -highlightSecondary 0\n" + " -showUVAttrsOnly 0\n" + " -showTextureNodesOnly 0\n" + " $editorName;\n" + " $editorName = ($panelName+\"GraphEd\");\n" + " animCurveEditor -e \n" + " -mainListConnection \"graphEditor1FromOutliner\" \n" + " -displayKeys 1\n" + " -displayTangents 0\n" + " -displayActiveKeys 0\n" + " -displayActiveKeyTangents 1\n" + " -displayInfinities 0\n" + " -autoFit 0\n" + " -snapTime \"none\" \n" + " -snapValue \"none\" \n" + " -showResults \"off\" \n" + " -showBufferCurves \"off\" \n" + " -smoothness \"fine\" \n" + " -resultSamples 1\n" + " -resultScreenSamples 0\n" + " -resultUpdate \"delayed\" \n" + " $editorName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextScriptedPanel \"dopeSheetPanel\" \"Dope Sheet\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `scriptedPanel -unParent -type \"dopeSheetPanel\" -l \"Dope Sheet\" -mbv $menusOkayInPanels `;\n" + " $editorName = ($panelName+\"OutlineEd\");\n" + " outlinerEditor -e \n" + " -mainListConnection \"animationList\" \n" + " -selectionConnection \"dopeSheetPanel1OutlinerSelection\" \n" + " -highlightConnection \"keyframeList\" \n" + " -showShapes 1\n" + " -showAttributes 1\n" + " -showConnected 1\n" + " -showAnimCurvesOnly 1\n" + " -autoExpand 0\n" + " -showDagOnly 0\n" + " -ignoreDagHierarchy 0\n" + " -expandConnections 1\n" + " -showUnitlessCurves 0\n" + " -showCompounds 1\n" + " -showLeafs 1\n" + " -showNumericAttrsOnly 1\n" + " -highlightActive 0\n" + " -autoSelectNewObjects 0\n" + " -doNotSelectNewObjects 1\n" + " -dropIsParent 1\n" + " -transmitFilters 0\n" + " -setFilter \"0\" \n" + " -showSetMembers 0\n" + " -allowMultiSelection 1\n" + " -alwaysToggleSelect 0\n" + " -directSelect 0\n" + " -displayMode \"DAG\" \n" + " -expandObjects 0\n" + " -setsIgnoreFilters 1\n" + " -editAttrName 0\n" + " -showAttrValues 0\n" + " -highlightSecondary 0\n" + " -showUVAttrsOnly 0\n" + " -showTextureNodesOnly 0\n" + " $editorName;\n" + " $editorName = ($panelName+\"DopeSheetEd\");\n" + " dopeSheetEditor -e \n" + " -mainListConnection \"dopeSheetPanel1FromOutliner\" \n" + " -highlightConnection \"dopeSheetPanel1OutlinerSelection\" \n" + " -displayKeys 1\n" + " -displayTangents 0\n" + " -displayActiveKeys 0\n" + " -displayActiveKeyTangents 0\n" + " -displayInfinities 0\n" + " -autoFit 0\n" + " -snapTime \"integer\" \n" + " -snapValue \"none\" \n" + " -outliner \"dopeSheetPanel1OutlineEd\" \n" + " -showSummary 1\n" + " -showScene 0\n" + " -hierarchyBelow 0\n" + " $editorName;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " scriptedPanel -edit -l \"Dope Sheet\" -mbv $menusOkayInPanels $panelName;\n" + " $editorName = ($panelName+\"OutlineEd\");\n" + " outlinerEditor -e \n" + " -mainListConnection \"animationList\" \n" + " -selectionConnection \"dopeSheetPanel1OutlinerSelection\" \n" + " -highlightConnection \"keyframeList\" \n" + " -showShapes 1\n" + " -showAttributes 1\n" + " -showConnected 1\n" + " -showAnimCurvesOnly 1\n" + " -autoExpand 0\n" + " -showDagOnly 0\n" + " -ignoreDagHierarchy 0\n" + " -expandConnections 1\n" + " -showUnitlessCurves 0\n" + " -showCompounds 1\n" + " -showLeafs 1\n" + " -showNumericAttrsOnly 1\n" + " -highlightActive 0\n" + " -autoSelectNewObjects 0\n" + " -doNotSelectNewObjects 1\n" + " -dropIsParent 1\n" + " -transmitFilters 0\n" + " -setFilter \"0\" \n" + " -showSetMembers 0\n" + " -allowMultiSelection 1\n" + " -alwaysToggleSelect 0\n" + " -directSelect 0\n" + " -displayMode \"DAG\" \n" + " -expandObjects 0\n" + " -setsIgnoreFilters 1\n" + " -editAttrName 0\n" + " -showAttrValues 0\n" + " -highlightSecondary 0\n" + " -showUVAttrsOnly 0\n" + " -showTextureNodesOnly 0\n" + " $editorName;\n" + " $editorName = ($panelName+\"DopeSheetEd\");\n" + " dopeSheetEditor -e \n" + " -mainListConnection \"dopeSheetPanel1FromOutliner\" \n" + " -highlightConnection \"dopeSheetPanel1OutlinerSelection\" \n" + " -displayKeys 1\n" + " -displayTangents 0\n" + " -displayActiveKeys 0\n" + " -displayActiveKeyTangents 0\n" + " -displayInfinities 0\n" + " -autoFit 0\n" + " -snapTime \"integer\" \n" + " -snapValue \"none\" \n" + " -outliner \"dopeSheetPanel1OutlineEd\" \n" + " -showSummary 1\n" + " -showScene 0\n" + " -hierarchyBelow 0\n" + " $editorName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextScriptedPanel \"clipEditorPanel\" \"Trax Editor\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `scriptedPanel -unParent -type \"clipEditorPanel\" -l \"Trax Editor\" -mbv $menusOkayInPanels `;\n" + " $editorName = ($panelName+\"ClipEditor\");\n" + " clipEditor -e \n" + " $editorName;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " scriptedPanel -edit -l \"Trax Editor\" -mbv $menusOkayInPanels $panelName;\n" + " $editorName = ($panelName+\"ClipEditor\");\n" + " clipEditor -e \n" + " $editorName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextScriptedPanel \"hyperGraphPanel\" \"Hypergraph\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `scriptedPanel -unParent -type \"hyperGraphPanel\" -l \"Hypergraph\" -mbv $menusOkayInPanels `;\n" + " $editorName = ($panelName+\"HyperGraphEd\");\n" + " hyperGraph -e \n" + " -orientation \"horiz\" \n" + " -animateTransition 0\n" + " -showShapes 0\n" + " -showDeformers 0\n" + " -showExpressions 0\n" + " -showConstraints 0\n" + " -showUnderworld 0\n" + " -showInvisible 0\n" + " -transitionFrames 1\n" + " -freeform 0\n" + " -imageEnabled 0\n" + " -graphType \"DAG\" \n" + " -updateSelection 1\n" + " -updateNodeAdded 1\n" + " $editorName;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " scriptedPanel -edit -l \"Hypergraph\" -mbv $menusOkayInPanels $panelName;\n" + " $editorName = ($panelName+\"HyperGraphEd\");\n" + " hyperGraph -e \n" + " -orientation \"horiz\" \n" + " -animateTransition 0\n" + " -showShapes 0\n" + " -showDeformers 0\n" + " -showExpressions 0\n" + " -showConstraints 0\n" + " -showUnderworld 0\n" + " -showInvisible 0\n" + " -transitionFrames 1\n" + " -freeform 0\n" + " -imageEnabled 0\n" + " -graphType \"DAG\" \n" + " -updateSelection 1\n" + " -updateNodeAdded 1\n" + " $editorName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextScriptedPanel \"hyperShadePanel\" \"Hypershade\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `scriptedPanel -unParent -type \"hyperShadePanel\" -l \"Hypershade\" -mbv $menusOkayInPanels `;\n" + " $editorName = ($panelName+\"HyperShadeEd\");\n" + " hyperGraph -e \n" + " -orientation \"horiz\" \n" + " -animateTransition 0\n" + " -showShapes 0\n" + " -showDeformers 0\n" + " -showExpressions 0\n" + " -showConstraints 0\n" + " -showUnderworld 0\n" + " -showInvisible 0\n" + " -transitionFrames 1\n" + " -currentNode \"blinn1\" \n" + " -freeform 1\n" + " -imageEnabled 0\n" + " -graphType \"HyperShade\" \n" + " -updateSelection 1\n" + " -updateNodeAdded 1\n" + " $editorName;\n" + " $editorName = ($panelName+\"VisorEd\");\n" + " hyperGraph -e \n" + " -orientation \"horiz\" \n" + " -animateTransition 0\n" + " -showShapes 0\n" + " -showDeformers 0\n" + " -showExpressions 0\n" + " -showConstraints 0\n" + " -showUnderworld 0\n" + " -showInvisible 0\n" + " -transitionFrames 1\n" + " -freeform 0\n" + " -imageEnabled 0\n" + " -graphType \"Visor\" \n" + " -updateSelection 1\n" + " -updateNodeAdded 1\n" + " $editorName;\n" + "visor -reset hyperShadePanel1VisorEd;\n" + "visor -addFolder -name \"Animation\" -parent \"\" -openDirectories 1 hyperShadePanel1VisorEd;\n" + "visor -addFolder -name \"Character Clips & Poses\" -parent \"Animation\" -type command -cmd \"currentCharacters\" $editorName;\n" + "visor -addFolder -name \"Clips\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterClips\" $editorName;\n" + "visor -addFolder -name \"Poses\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterPoses\" $editorName;\n" + "visor -addFolder -name \"Unused Clips & Poses\" -parent \"Animation\" hyperShadePanel1VisorEd;\n" + "visor -addFolder -name \"Clips\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryClips\" $editorName;\n" + "visor -addFolder -name \"Poses\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryPoses\" $editorName;\n" + "visor -addFolder -name \"Rendering\" -parent \"\" -openDirectories 1 hyperShadePanel1VisorEd;\n" + "visor -addFolder -name \"Cameras\" -parent \"Rendering\" -type command -cmd \"ls -type camera -type imagePlane\" $editorName;\n" + "visor -addFolder -name \"Lights\" -parent \"Rendering\" -type command -cmd \"ls -type light\" $editorName;\n" + "visor -addFolder -name \"Materials\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultShaderList\" $editorName;\n" + "visor -addFolder -name \"Post Process\" -parent \"Rendering\" -type command -cmd \"ls -type opticalFX -type shaderGlow\" $editorName;\n" + "visor -addFolder -name \"Textures\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultTextureList\" $editorName;\n" + "visor -addFolder -name \"Utilities\" -parent \"Rendering\" -type connectedNodes -cmd \"ls -type defaultRenderUtilityList\" $editorName;\n" + "visor -addFolder -name \"Create\" -parent \"\" -openDirectories 1 hyperShadePanel1VisorEd;\n" + "visor -addFolder -name \"Cameras\" -parent \"Create\" -type defaultNodes -cmd \"cameraCreateFolder()\" $editorName;\n" + "visor -addFolder -name \"Lights\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes light\" $editorName;\n" + "visor -addFolder -name \"Materials\" -parent \"Create\" -openFolder 1 -type defaultNodes -cmd \"listNodeTypes \\\"shader/surface\\\"\" $editorName;\n" + "visor -addFolder -name \"Volume\" -parent \"Create/Materials\" -type defaultNodes -cmd \"listNodeTypes \\\"shader/volume\\\"\" $editorName;\n" + "visor -addFolder -name \"Post Process\" -parent \"Create\" -type defaultNodes -cmd \"postProcessCreateFolder()\" $editorName;\n" + "visor -addFolder -name \"Textures\" -parent \"Create\" -openFolder 1 -type defaultNodes -cmd \"listNodeTypes texture\" $editorName;\n" + "visor -addFolder -name \"Utilities\" -parent \"Create\" hyperShadePanel1VisorEd;\n" + "visor -addFolder -name \"Color\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/color\\\"\" $editorName;\n" + "visor -addFolder -name \"General\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/general\\\"\" $editorName;\n" + "visor -addFolder -name \"Particle\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/particle\\\"\" $editorName;\n" + "visor -addFolder -name \"Switch\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/switch\\\"\" $editorName;\n" + "visor -addFolder -name \"Project\" -parent \"\" -openDirectories 1 -type directoryCommand -cmd \"currentProjectParentDir()\" $editorName;\n" + "visor -addFolder -name \"Brushes\" -parent \"\" -type shelfItems -cmd \"C:/AW/Maya3.0/brushes\" $editorName;\n" + "visor -rebuild hyperShadePanel1VisorEd;\n" + ";\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " scriptedPanel -edit -l \"Hypershade\" -mbv $menusOkayInPanels $panelName;\n" + " $editorName = ($panelName+\"HyperShadeEd\");\n" + " hyperGraph -e \n" + " -orientation \"horiz\" \n" + " -animateTransition 0\n" + " -showShapes 0\n" + " -showDeformers 0\n" + " -showExpressions 0\n" + " -showConstraints 0\n" + " -showUnderworld 0\n" + " -showInvisible 0\n" + " -transitionFrames 1\n" + " -currentNode \"blinn1\" \n" + " -freeform 1\n" + " -imageEnabled 0\n" + " -graphType \"HyperShade\" \n" + " -updateSelection 1\n" + " -updateNodeAdded 1\n" + " $editorName;\n" + " $editorName = ($panelName+\"VisorEd\");\n" + " hyperGraph -e \n" + " -orientation \"horiz\" \n" + " -animateTransition 0\n" + " -showShapes 0\n" + " -showDeformers 0\n" + " -showExpressions 0\n" + " -showConstraints 0\n" + " -showUnderworld 0\n" + " -showInvisible 0\n" + " -transitionFrames 1\n" + " -freeform 0\n" + " -imageEnabled 0\n" + " -graphType \"Visor\" \n" + " -updateSelection 1\n" + " -updateNodeAdded 1\n" + " $editorName;\n" + "visor -reset hyperShadePanel1VisorEd;\n" + "visor -addFolder -name \"Animation\" -parent \"\" -openDirectories 1 hyperShadePanel1VisorEd;\n" + "visor -addFolder -name \"Character Clips & Poses\" -parent \"Animation\" -type command -cmd \"currentCharacters\" $editorName;\n" + "visor -addFolder -name \"Clips\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterClips\" $editorName;\n" + "visor -addFolder -name \"Poses\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterPoses\" $editorName;\n" + "visor -addFolder -name \"Unused Clips & Poses\" -parent \"Animation\" hyperShadePanel1VisorEd;\n" + "visor -addFolder -name \"Clips\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryClips\" $editorName;\n" + "visor -addFolder -name \"Poses\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryPoses\" $editorName;\n" + "visor -addFolder -name \"Rendering\" -parent \"\" -openDirectories 1 hyperShadePanel1VisorEd;\n" + "visor -addFolder -name \"Cameras\" -parent \"Rendering\" -type command -cmd \"ls -type camera -type imagePlane\" $editorName;\n" + "visor -addFolder -name \"Lights\" -parent \"Rendering\" -type command -cmd \"ls -type light\" $editorName;\n" + "visor -addFolder -name \"Materials\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultShaderList\" $editorName;\n" + "visor -addFolder -name \"Post Process\" -parent \"Rendering\" -type command -cmd \"ls -type opticalFX -type shaderGlow\" $editorName;\n" + "visor -addFolder -name \"Textures\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultTextureList\" $editorName;\n" + "visor -addFolder -name \"Utilities\" -parent \"Rendering\" -type connectedNodes -cmd \"ls -type defaultRenderUtilityList\" $editorName;\n" + "visor -addFolder -name \"Create\" -parent \"\" -openDirectories 1 hyperShadePanel1VisorEd;\n" + "visor -addFolder -name \"Cameras\" -parent \"Create\" -type defaultNodes -cmd \"cameraCreateFolder()\" $editorName;\n" + "visor -addFolder -name \"Lights\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes light\" $editorName;\n" + "visor -addFolder -name \"Materials\" -parent \"Create\" -openFolder 1 -type defaultNodes -cmd \"listNodeTypes \\\"shader/surface\\\"\" $editorName;\n" + "visor -addFolder -name \"Volume\" -parent \"Create/Materials\" -type defaultNodes -cmd \"listNodeTypes \\\"shader/volume\\\"\" $editorName;\n" + "visor -addFolder -name \"Post Process\" -parent \"Create\" -type defaultNodes -cmd \"postProcessCreateFolder()\" $editorName;\n" + "visor -addFolder -name \"Textures\" -parent \"Create\" -openFolder 1 -type defaultNodes -cmd \"listNodeTypes texture\" $editorName;\n" + "visor -addFolder -name \"Utilities\" -parent \"Create\" hyperShadePanel1VisorEd;\n" + "visor -addFolder -name \"Color\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/color\\\"\" $editorName;\n" + "visor -addFolder -name \"General\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/general\\\"\" $editorName;\n" + "visor -addFolder -name \"Particle\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/particle\\\"\" $editorName;\n" + "visor -addFolder -name \"Switch\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/switch\\\"\" $editorName;\n" + "visor -addFolder -name \"Project\" -parent \"\" -openDirectories 1 -type directoryCommand -cmd \"currentProjectParentDir()\" $editorName;\n" + "visor -addFolder -name \"Brushes\" -parent \"\" -type shelfItems -cmd \"C:/AW/Maya3.0/brushes\" $editorName;\n" + "visor -rebuild hyperShadePanel1VisorEd;\n" + ";\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextScriptedPanel \"visorPanel\" \"Visor\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `scriptedPanel -unParent -type \"visorPanel\" -l \"Visor\" -mbv $menusOkayInPanels `;\n" + " $editorName = ($panelName+\"VisorEd\");\n" + " hyperGraph -e \n" + " -orientation \"horiz\" \n" + " -animateTransition 0\n" + " -showShapes 0\n" + " -showDeformers 0\n" + " -showExpressions 0\n" + " -showConstraints 0\n" + " -showUnderworld 0\n" + " -showInvisible 0\n" + " -transitionFrames 1\n" + " -freeform 0\n" + " -imageEnabled 0\n" + " -graphType \"Visor\" \n" + " -updateSelection 1\n" + " -updateNodeAdded 1\n" + " $editorName;\n" + "visor -reset visorPanel1VisorEd;\n" + "visor -addFolder -name \"Animation\" -parent \"\" -openDirectories 1 visorPanel1VisorEd;\n" + "visor -addFolder -name \"Character Clips & Poses\" -parent \"Animation\" -type command -cmd \"currentCharacters\" $editorName;\n" + "visor -addFolder -name \"Clips\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterClips\" $editorName;\n" + "visor -addFolder -name \"Poses\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterPoses\" $editorName;\n" + "visor -addFolder -name \"Unused Clips & Poses\" -parent \"Animation\" visorPanel1VisorEd;\n" + "visor -addFolder -name \"Clips\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryClips\" $editorName;\n" + "visor -addFolder -name \"Poses\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryPoses\" $editorName;\n" + "visor -addFolder -name \"Rendering\" -parent \"\" -openDirectories 1 visorPanel1VisorEd;\n" + "visor -addFolder -name \"Cameras\" -parent \"Rendering\" -type command -cmd \"ls -type camera -type imagePlane\" $editorName;\n" + "visor -addFolder -name \"Lights\" -parent \"Rendering\" -type command -cmd \"ls -type light\" $editorName;\n" + "visor -addFolder -name \"Materials\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultShaderList\" $editorName;\n" + "visor -addFolder -name \"Post Process\" -parent \"Rendering\" -type command -cmd \"ls -type opticalFX -type shaderGlow\" $editorName;\n" + "visor -addFolder -name \"Textures\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultTextureList\" $editorName;\n" + "visor -addFolder -name \"Utilities\" -parent \"Rendering\" -type connectedNodes -cmd \"ls -type defaultRenderUtilityList\" $editorName;\n" + "visor -addFolder -name \"Create\" -parent \"\" -openDirectories 1 visorPanel1VisorEd;\n" + "visor -addFolder -name \"Cameras\" -parent \"Create\" -type defaultNodes -cmd \"cameraCreateFolder()\" $editorName;\n" + "visor -addFolder -name \"Lights\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes light\" $editorName;\n" + "visor -addFolder -name \"Materials\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes \\\"shader/surface\\\"\" $editorName;\n" + "visor -addFolder -name \"Volume\" -parent \"Create/Materials\" -type defaultNodes -cmd \"listNodeTypes \\\"shader/volume\\\"\" $editorName;\n" + "visor -addFolder -name \"Post Process\" -parent \"Create\" -type defaultNodes -cmd \"postProcessCreateFolder()\" $editorName;\n" + "visor -addFolder -name \"Textures\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes texture\" $editorName;\n" + "visor -addFolder -name \"Utilities\" -parent \"Create\" visorPanel1VisorEd;\n" + "visor -addFolder -name \"Color\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/color\\\"\" $editorName;\n" + "visor -addFolder -name \"General\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/general\\\"\" $editorName;\n" + "visor -addFolder -name \"Particle\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/particle\\\"\" $editorName;\n" + "visor -addFolder -name \"Switch\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/switch\\\"\" $editorName;\n" + "visor -addFolder -name \"Project\" -parent \"\" -openDirectories 1 -type directoryCommand -cmd \"currentProjectParentDir()\" $editorName;\n" + "visor -addFolder -name \"Brushes\" -parent \"\" -type shelfItems -cmd \"C:/AW/Maya3.0/brushes\" $editorName;\n" + "visor -rebuild visorPanel1VisorEd;\n" + ";\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " scriptedPanel -edit -l \"Visor\" -mbv $menusOkayInPanels $panelName;\n" + " $editorName = ($panelName+\"VisorEd\");\n" + " hyperGraph -e \n" + " -orientation \"horiz\" \n" + " -animateTransition 0\n" + " -showShapes 0\n" + " -showDeformers 0\n" + " -showExpressions 0\n" + " -showConstraints 0\n" + " -showUnderworld 0\n" + " -showInvisible 0\n" + " -transitionFrames 1\n" + " -freeform 0\n" + " -imageEnabled 0\n" + " -graphType \"Visor\" \n" + " -updateSelection 1\n" + " -updateNodeAdded 1\n" + " $editorName;\n" + "visor -reset visorPanel1VisorEd;\n" + "visor -addFolder -name \"Animation\" -parent \"\" -openDirectories 1 visorPanel1VisorEd;\n" + "visor -addFolder -name \"Character Clips & Poses\" -parent \"Animation\" -type command -cmd \"currentCharacters\" $editorName;\n" + "visor -addFolder -name \"Clips\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterClips\" $editorName;\n" + "visor -addFolder -name \"Poses\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterPoses\" $editorName;\n" + "visor -addFolder -name \"Unused Clips & Poses\" -parent \"Animation\" visorPanel1VisorEd;\n" + "visor -addFolder -name \"Clips\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryClips\" $editorName;\n" + "visor -addFolder -name \"Poses\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryPoses\" $editorName;\n" + "visor -addFolder -name \"Rendering\" -parent \"\" -openDirectories 1 visorPanel1VisorEd;\n" + "visor -addFolder -name \"Cameras\" -parent \"Rendering\" -type command -cmd \"ls -type camera -type imagePlane\" $editorName;\n" + "visor -addFolder -name \"Lights\" -parent \"Rendering\" -type command -cmd \"ls -type light\" $editorName;\n" + "visor -addFolder -name \"Materials\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultShaderList\" $editorName;\n" + "visor -addFolder -name \"Post Process\" -parent \"Rendering\" -type command -cmd \"ls -type opticalFX -type shaderGlow\" $editorName;\n" + "visor -addFolder -name \"Textures\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultTextureList\" $editorName;\n" + "visor -addFolder -name \"Utilities\" -parent \"Rendering\" -type connectedNodes -cmd \"ls -type defaultRenderUtilityList\" $editorName;\n" + "visor -addFolder -name \"Create\" -parent \"\" -openDirectories 1 visorPanel1VisorEd;\n" + "visor -addFolder -name \"Cameras\" -parent \"Create\" -type defaultNodes -cmd \"cameraCreateFolder()\" $editorName;\n" + "visor -addFolder -name \"Lights\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes light\" $editorName;\n" + "visor -addFolder -name \"Materials\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes \\\"shader/surface\\\"\" $editorName;\n" + "visor -addFolder -name \"Volume\" -parent \"Create/Materials\" -type defaultNodes -cmd \"listNodeTypes \\\"shader/volume\\\"\" $editorName;\n" + "visor -addFolder -name \"Post Process\" -parent \"Create\" -type defaultNodes -cmd \"postProcessCreateFolder()\" $editorName;\n" + "visor -addFolder -name \"Textures\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes texture\" $editorName;\n" + "visor -addFolder -name \"Utilities\" -parent \"Create\" visorPanel1VisorEd;\n" + "visor -addFolder -name \"Color\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/color\\\"\" $editorName;\n" + "visor -addFolder -name \"General\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/general\\\"\" $editorName;\n" + "visor -addFolder -name \"Particle\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/particle\\\"\" $editorName;\n" + "visor -addFolder -name \"Switch\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/switch\\\"\" $editorName;\n" + "visor -addFolder -name \"Project\" -parent \"\" -openDirectories 1 -type directoryCommand -cmd \"currentProjectParentDir()\" $editorName;\n" + "visor -addFolder -name \"Brushes\" -parent \"\" -type shelfItems -cmd \"C:/AW/Maya3.0/brushes\" $editorName;\n" + "visor -rebuild visorPanel1VisorEd;\n" + ";\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextScriptedPanel \"polyTexturePlacementPanel\" \"Texture View\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `scriptedPanel -unParent -type \"polyTexturePlacementPanel\" -l \"Texture View\" -mbv $menusOkayInPanels `;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " scriptedPanel -edit -l \"Texture View\" -mbv $menusOkayInPanels $panelName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextScriptedPanel \"multiListerPanel\" \"Multilister\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `scriptedPanel -unParent -type \"multiListerPanel\" -l \"Multilister\" -mbv $menusOkayInPanels `;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " scriptedPanel -edit -l \"Multilister\" -mbv $menusOkayInPanels $panelName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextScriptedPanel \"renderWindowPanel\" \"Render View\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `scriptedPanel -unParent -type \"renderWindowPanel\" -l \"Render View\" -mbv $menusOkayInPanels `;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " scriptedPanel -edit -l \"Render View\" -mbv $menusOkayInPanels $panelName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextPanel \"blendShapePanel\" \"Blend Shape\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " blendShapePanel -unParent -l \"Blend Shape\" -mbv $menusOkayInPanels ;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " blendShapePanel -edit -l \"Blend Shape\" -mbv $menusOkayInPanels $panelName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextScriptedPanel \"dynRelEdPanel\" \"Dynamic Relationships\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `scriptedPanel -unParent -type \"dynRelEdPanel\" -l \"Dynamic Relationships\" -mbv $menusOkayInPanels `;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " scriptedPanel -edit -l \"Dynamic Relationships\" -mbv $menusOkayInPanels $panelName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextPanel \"devicePanel\" \"Devices\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " devicePanel -unParent -l \"Devices\" -mbv $menusOkayInPanels ;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " devicePanel -edit -l \"Devices\" -mbv $menusOkayInPanels $panelName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextScriptedPanel \"relationshipPanel\" \"Relationship Editor\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `scriptedPanel -unParent -type \"relationshipPanel\" -l \"Relationship Editor\" -mbv $menusOkayInPanels `;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " scriptedPanel -edit -l \"Relationship Editor\" -mbv $menusOkayInPanels $panelName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextScriptedPanel \"referenceEditorPanel\" \"Reference Editor\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `scriptedPanel -unParent -type \"referenceEditorPanel\" -l \"Reference Editor\" -mbv $menusOkayInPanels `;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " scriptedPanel -edit -l \"Reference Editor\" -mbv $menusOkayInPanels $panelName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextScriptedPanel \"componentEditorPanel\" \"Component Editor\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `scriptedPanel -unParent -type \"componentEditorPanel\" -l \"Component Editor\" -mbv $menusOkayInPanels `;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " scriptedPanel -edit -l \"Component Editor\" -mbv $menusOkayInPanels $panelName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " $panelName = `sceneUIReplacement -getNextScriptedPanel \"dynPaintScriptedPanelType\" \"Paint Effects\"`;\n" + " if (\"\" == $panelName) {\n" + " if ($useSceneConfig) {\n" + " $panelName = `scriptedPanel -unParent -type \"dynPaintScriptedPanelType\" -l \"Paint Effects\" -mbv $menusOkayInPanels `;\n" + " }\n" + " } else {\n" + " $label = `panel -q -label $panelName`;\n" + " scriptedPanel -edit -l \"Paint Effects\" -mbv $menusOkayInPanels $panelName;\n" + " if (!$useSceneConfig) {\n" + " panel -e -l $label $panelName;\n" + " }\n" + " }\n" + " if ($useSceneConfig) {\n" + " string $configName = `getPanel -cwl \"Current Layout\"`;\n" + " if (\"\" != $configName) {\n" + " panelConfiguration -edit -label \"Current Layout\"\n" + " -sc false\n" + " -configString \"paneLayout -e -cn \\\"quad\\\" -ps 1 50 50 -ps 2 50 50 -ps 3 50 50 -ps 4 50 50 $gMainPane;\"\n" + " -removeAllPanels\n" + " -ap true\n" + " \"Top View\"\n" + " \"modelPanel\"\n" + " \"$panelName = `modelPanel -unParent -l \\\"Top View\\\" -mbv $menusOkayInPanels `;\\n$editorName = $panelName;\\nmodelEditor -e \\n -camera \\\"persp\\\" \\n -useInteractiveMode 0\\n -displayLights \\\"default\\\" \\n -displayAppearance \\\"wireframe\\\" \\n -activeOnly 0\\n -wireframeOnShaded 0\\n -bufferMode \\\"double\\\" \\n -twoSidedLighting 1\\n -backfaceCulling 0\\n -xray 0\\n -displayTextures 0\\n -textureMaxSize 1024\\n -nurbsCurves 1\\n -nurbsSurfaces 1\\n -polymeshes 1\\n -subdivSurfaces 1\\n -planes 1\\n -lights 1\\n -cameras 1\\n -controlVertices 1\\n -hulls 1\\n -grid 1\\n -joints 1\\n -ikHandles 1\\n -deformers 1\\n -dynamics 1\\n -locators 1\\n -dimensions 1\\n -handles 1\\n -pivots 1\\n -textures 1\\n -strokes 1\\n $editorName;\\nmodelEditor -e -viewSelected 0 $editorName\"\n" + " \"modelPanel -edit -l \\\"Top View\\\" -mbv $menusOkayInPanels $panelName;\\n$editorName = $panelName;\\nmodelEditor -e \\n -camera \\\"persp\\\" \\n -useInteractiveMode 0\\n -displayLights \\\"default\\\" \\n -displayAppearance \\\"wireframe\\\" \\n -activeOnly 0\\n -wireframeOnShaded 0\\n -bufferMode \\\"double\\\" \\n -twoSidedLighting 1\\n -backfaceCulling 0\\n -xray 0\\n -displayTextures 0\\n -textureMaxSize 1024\\n -nurbsCurves 1\\n -nurbsSurfaces 1\\n -polymeshes 1\\n -subdivSurfaces 1\\n -planes 1\\n -lights 1\\n -cameras 1\\n -controlVertices 1\\n -hulls 1\\n -grid 1\\n -joints 1\\n -ikHandles 1\\n -deformers 1\\n -dynamics 1\\n -locators 1\\n -dimensions 1\\n -handles 1\\n -pivots 1\\n -textures 1\\n -strokes 1\\n $editorName;\\nmodelEditor -e -viewSelected 0 $editorName\"\n" + " -ap false\n" + " \"Persp View\"\n" + " \"modelPanel\"\n" + " \"$panelName = `modelPanel -unParent -l \\\"Persp View\\\" -mbv $menusOkayInPanels `;\\n$editorName = $panelName;\\nmodelEditor -e \\n -camera \\\"front\\\" \\n -useInteractiveMode 0\\n -displayLights \\\"default\\\" \\n -displayAppearance \\\"smoothShaded\\\" \\n -activeOnly 0\\n -wireframeOnShaded 0\\n -bufferMode \\\"double\\\" \\n -twoSidedLighting 1\\n -backfaceCulling 0\\n -xray 0\\n -displayTextures 1\\n -textureMaxSize 1024\\n -nurbsCurves 1\\n -nurbsSurfaces 1\\n -polymeshes 1\\n -subdivSurfaces 1\\n -planes 1\\n -lights 1\\n -cameras 1\\n -controlVertices 1\\n -hulls 1\\n -grid 1\\n -joints 1\\n -ikHandles 1\\n -deformers 1\\n -dynamics 1\\n -locators 1\\n -dimensions 1\\n -handles 1\\n -pivots 1\\n -textures 1\\n -strokes 1\\n $editorName;\\nmodelEditor -e -viewSelected 0 $editorName\"\n" + " \"modelPanel -edit -l \\\"Persp View\\\" -mbv $menusOkayInPanels $panelName;\\n$editorName = $panelName;\\nmodelEditor -e \\n -camera \\\"front\\\" \\n -useInteractiveMode 0\\n -displayLights \\\"default\\\" \\n -displayAppearance \\\"smoothShaded\\\" \\n -activeOnly 0\\n -wireframeOnShaded 0\\n -bufferMode \\\"double\\\" \\n -twoSidedLighting 1\\n -backfaceCulling 0\\n -xray 0\\n -displayTextures 1\\n -textureMaxSize 1024\\n -nurbsCurves 1\\n -nurbsSurfaces 1\\n -polymeshes 1\\n -subdivSurfaces 1\\n -planes 1\\n -lights 1\\n -cameras 1\\n -controlVertices 1\\n -hulls 1\\n -grid 1\\n -joints 1\\n -ikHandles 1\\n -deformers 1\\n -dynamics 1\\n -locators 1\\n -dimensions 1\\n -handles 1\\n -pivots 1\\n -textures 1\\n -strokes 1\\n $editorName;\\nmodelEditor -e -viewSelected 0 $editorName\"\n" + " -ap false\n" + " \"Render View\"\n" + " \"scriptedPanel\"\n" + " \"$panelName = `scriptedPanel -unParent -type \\\"renderWindowPanel\\\" -l \\\"Render View\\\" -mbv $menusOkayInPanels `\"\n" + " \"scriptedPanel -edit -l \\\"Render View\\\" -mbv $menusOkayInPanels $panelName\"\n" + " -ap false\n" + " \"Front View\"\n" + " \"modelPanel\"\n" + " \"$panelName = `modelPanel -unParent -l \\\"Front View\\\" -mbv $menusOkayInPanels `;\\n$editorName = $panelName;\\nmodelEditor -e \\n -camera \\\"top\\\" \\n -useInteractiveMode 0\\n -displayLights \\\"default\\\" \\n -displayAppearance \\\"wireframe\\\" \\n -activeOnly 0\\n -wireframeOnShaded 0\\n -bufferMode \\\"double\\\" \\n -twoSidedLighting 1\\n -backfaceCulling 0\\n -xray 0\\n -displayTextures 0\\n -textureMaxSize 1024\\n -nurbsCurves 1\\n -nurbsSurfaces 1\\n -polymeshes 1\\n -subdivSurfaces 1\\n -planes 1\\n -lights 1\\n -cameras 1\\n -controlVertices 1\\n -hulls 1\\n -grid 1\\n -joints 1\\n -ikHandles 1\\n -deformers 1\\n -dynamics 1\\n -locators 1\\n -dimensions 1\\n -handles 1\\n -pivots 1\\n -textures 1\\n -strokes 1\\n $editorName;\\nmodelEditor -e -viewSelected 0 $editorName\"\n" + " \"modelPanel -edit -l \\\"Front View\\\" -mbv $menusOkayInPanels $panelName;\\n$editorName = $panelName;\\nmodelEditor -e \\n -camera \\\"top\\\" \\n -useInteractiveMode 0\\n -displayLights \\\"default\\\" \\n -displayAppearance \\\"wireframe\\\" \\n -activeOnly 0\\n -wireframeOnShaded 0\\n -bufferMode \\\"double\\\" \\n -twoSidedLighting 1\\n -backfaceCulling 0\\n -xray 0\\n -displayTextures 0\\n -textureMaxSize 1024\\n -nurbsCurves 1\\n -nurbsSurfaces 1\\n -polymeshes 1\\n -subdivSurfaces 1\\n -planes 1\\n -lights 1\\n -cameras 1\\n -controlVertices 1\\n -hulls 1\\n -grid 1\\n -joints 1\\n -ikHandles 1\\n -deformers 1\\n -dynamics 1\\n -locators 1\\n -dimensions 1\\n -handles 1\\n -pivots 1\\n -textures 1\\n -strokes 1\\n $editorName;\\nmodelEditor -e -viewSelected 0 $editorName\"\n" + " $configName;\n" + " setNamedPanelLayout \"Current Layout\";\n" + " }\n" + " panelHistory -e -clear mainPanelHistory;\n" + " setFocus `paneLayout -q -p1 $gMainPane`;\n" + " sceneUIReplacement -deleteRemaining;\n" + " sceneUIReplacement -clear;\n" + " }\n" + " grid -spacing 5cm -size 12cm -divisions 5 -style 3;\n" + "}\n"); setAttr ".st" 3; createNode script -n "animationScriptNode"; setAttr ".a" -type "string" ( "playbackOptions -min 1 -max 50 -animationStartTime 1 -animationEndTime 50;"); createNode expression -n "to_camera_space"; setAttr -k on ".nds"; setAttr -s 3 ".in"; setAttr -s 3 ".in"; setAttr -s 3 ".out"; setAttr ".ixp" -type "string" ( "\r\n" + "// this expression calculates the locators X,Y,Z coordinates in\r\n" + "// camera space. this is done by multiplying the locators world\r\n" + "// position vector by the inverse of the camera's world transformation\r\n" + "// matrix.\r\n" + "// the camera space parameters are stored in extra attributes (cTrans?)\r\n" + "\r\n" + "\r\n" + "float $inv_camera_matrix[16]=`getAttr \"persp.worldInverseMatrix\"`; //RENDER KAMERA\r\n" + ".O[0]= .I[0]*$inv_camera_matrix[0]+.I[1]*$inv_camera_matrix[4]+.I[2]*$inv_camera_matrix[8]+$inv_camera_matrix[12];\r\n" + ".O[1]= .I[0]*$inv_camera_matrix[1]+.I[1]*$inv_camera_matrix[5]+.I[2]*$inv_camera_matrix[9]+$inv_camera_matrix[13];\r\n" + ".O[2]= .I[0]*$inv_camera_matrix[2]+.I[1]*$inv_camera_matrix[6]+.I[2]*$inv_camera_matrix[10]+$inv_camera_matrix[14];\r"); createNode brush -n "brush2"; select -ne :time1; setAttr ".o" 1; select -ne :renderPartition; setAttr -s 3 ".st"; select -ne :renderGlobalsList1; select -ne :defaultShaderList1; setAttr -s 3 ".s"; select -ne :postProcessList1; setAttr -s 2 ".p"; select -ne :defaultRenderUtilityList1; select -ne :lightList1; select -ne :initialShadingGroup; setAttr ".ro" yes; select -ne :initialParticleSE; setAttr ".ro" yes; select -ne :defaultRenderGlobals; setAttr ".top" 0; setAttr ".rght" 0; setAttr ".fs" 1; setAttr ".ef" 10; select -ne :hyperGraphLayout; setAttr ".cch" no; setAttr ".ihi" 2; setAttr ".nds" 0; setAttr ".img" -type "string" ""; setAttr ".ims" 1; connectAttr "makeNurbSphere1.os" "nurbsSphereShape1.cr"; connectAttr "to_camera_space.out[0]" "l.cTransX"; connectAttr "to_camera_space.out[1]" "l.cTransY"; connectAttr "to_camera_space.out[2]" "l.cTransZ"; connectAttr ":defaultLightSet.msg" "lightLinker1.lnk[0].llnk"; connectAttr ":initialShadingGroup.msg" "lightLinker1.lnk[0].olnk"; connectAttr ":defaultLightSet.msg" "lightLinker1.lnk[1].llnk"; connectAttr ":initialParticleSE.msg" "lightLinker1.lnk[1].olnk"; connectAttr ":defaultLightSet.msg" "lightLinker1.lnk[2].llnk"; connectAttr "surfaceShader1SG.msg" "lightLinker1.lnk[2].olnk"; connectAttr "layerManager.dli[0]" "defaultLayer.id"; connectAttr "renderLayerManager.rlmi[0]" "defaultRenderLayer.rlid"; connectAttr "phong_shader.out[0]" "ss.ocr"; connectAttr "phong_shader.out[1]" "ss.ocg"; connectAttr "phong_shader.out[2]" "ss.ocb"; connectAttr "ss.oc" "surfaceShader1SG.ss"; connectAttr "nurbsSphereShape1.iog" "surfaceShader1SG.dsm" -na; connectAttr "surfaceShader1SG.msg" "materialInfo1.sg"; connectAttr ":time1.o" "phong_shader.tim"; connectAttr "ss.msg" "phong_shader.obm"; connectAttr "si.px" "phong_shader.in[0]"; connectAttr "l.cTransX" "phong_shader.in[1]"; connectAttr "si.py" "phong_shader.in[2]"; connectAttr "l.cTransY" "phong_shader.in[3]"; connectAttr "si.pz" "phong_shader.in[4]"; connectAttr "l.cTransZ" "phong_shader.in[5]"; connectAttr "si.nx" "phong_shader.in[6]"; connectAttr "si.ny" "phong_shader.in[7]"; connectAttr "si.nz" "phong_shader.in[8]"; connectAttr "si.rx" "phong_shader.in[9]"; connectAttr "si.ry" "phong_shader.in[10]"; connectAttr "si.rz" "phong_shader.in[11]"; connectAttr "l.tx" "to_camera_space.in[0]"; connectAttr "l.ty" "to_camera_space.in[1]"; connectAttr "l.tz" "to_camera_space.in[2]"; connectAttr ":time1.o" "to_camera_space.tim"; connectAttr "l.msg" "to_camera_space.obm"; connectAttr "surfaceShader1SG.pa" ":renderPartition.st" -na; connectAttr "ss.msg" ":defaultShaderList1.s" -na; connectAttr "si.msg" ":defaultRenderUtilityList1.u" -na; connectAttr "lightLinker1.msg" ":lightList1.ln" -na; // End of phong_model2.ma