Changeset 590
- Timestamp:
- 07/03/08 15:55:29 (5 months ago)
- Files:
-
- trunk/libx42/write.c (modified) (1 diff)
- trunk/test-scenes/x42_test2.ma (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libx42/write.c
r471 r590 225 225 get_stream_bounds( bounds, 3, (float*)x42->scaleValues, h->numScaleValues, sizeof( vec3_t ) ); 226 226 227 pack->animScalePack[0] = min( bounds[0][0], bounds[1][0]);228 pack->animScalePack[1] = max( bounds[0][1], bounds[1][1]);227 pack->animScalePack[0] = min( bounds[0][0], min( bounds[1][0], bounds[2][0] ) ); 228 pack->animScalePack[1] = max( bounds[0][1], max( bounds[1][1], bounds[2][1] ) ); 229 229 230 230 get_stream_bounds( pack->vertPosPack, 3, (float*)&x42->vertPos[0].pos, h->numVerts, sizeof( x42vertAnim_t ) ); trunk/test-scenes/x42_test2.ma
r585 r590 1 1 //Maya ASCII 8.5 scene 2 2 //Name: x42_test2.ma 3 //Last modified: Thu, Jul 03, 2008 12:48:37PM3 //Last modified: Thu, Jul 03, 2008 03:31:02 PM 4 4 //Codeset: 1252 5 5 requires maya "8.5"; … … 9 9 fileInfo "version" "8.5"; 10 10 fileInfo "cutIdentifier" "200612162224-692032"; 11 fileInfo "osv" "Microsoft Windows XP x64 Service Pack 2 (Build 3790)\n";11 fileInfo "osv" "Microsoft Windows Vista (Build 6000)\n"; 12 12 createNode transform -s -n "persp"; 13 13 setAttr ".v" no; 14 setAttr ".t" -type "double3" - 14.316745726690826 10.67859506696632 -12.838725146854296;15 setAttr ".r" -type "double3" -3 84.93835272952657 226.999999999999010 ;14 setAttr ".t" -type "double3" -20.505527203253973 7.4995127232633356 -5.4973451292339028 ; 15 setAttr ".r" -type "double3" -376.53835272951784 250.99999999999579 0 ; 16 16 createNode camera -s -n "perspShape" -p "persp"; 17 17 setAttr -k off ".v" no; 18 18 setAttr ".fl" 34.999999999999986; 19 setAttr ".coi" 20.683327043106 807;19 setAttr ".coi" 20.68332704310663; 20 20 setAttr ".imn" -type "string" "persp"; 21 21 setAttr ".den" -type "string" "persp_depth"; … … 85 85 setAttr ".covm[0]" 0 1 1; 86 86 setAttr ".cdvm[0]" 0 1 1; 87 createNode transform -n "tag_transform"; 87 createNode transform -n "transform_group"; 88 addAttr -ci true -sn "gelatoProxy" -ln "gelatoProxy" -dt "string"; 89 setAttr ".gelatoProxy" -type "string" ""; 90 createNode transform -n "tag_transform" -p "transform_group"; 88 91 addAttr -ci true -sn "treat_as_tag" -ln "treat_as_tag" -dt "string"; 89 92 addAttr -ci true -sn "gelatoProxy" -ln "gelatoProxy" -dt "string"; 93 setAttr ".t" -type "double3" -5.8064660184075061 2.4267532067591873 0 ; 90 94 setAttr -k on ".treat_as_tag" -type "string" "tag_name_here"; 91 95 setAttr ".gelatoProxy" -type "string" ""; … … 225 229 + "\t\t}\n\t}\n\n\n\t$panelName = `sceneUIReplacement -getNextScriptedPanel \"relationshipPanel\" (localizedPanelLabel(\"Relationship Editor\")) `;\n\tif (\"\" == $panelName) {\n\t\tif ($useSceneConfig) {\n\t\t\t$panelName = `scriptedPanel -unParent -type \"relationshipPanel\" -l (localizedPanelLabel(\"Relationship Editor\")) -mbv $menusOkayInPanels `;\n\t\t}\n\t} else {\n\t\t$label = `panel -q -label $panelName`;\n\t\tscriptedPanel -edit -l (localizedPanelLabel(\"Relationship Editor\")) -mbv $menusOkayInPanels $panelName;\n\t\tif (!$useSceneConfig) {\n\t\t\tpanel -e -l $label $panelName;\n\t\t}\n\t}\n\n\n\t$panelName = `sceneUIReplacement -getNextScriptedPanel \"referenceEditorPanel\" (localizedPanelLabel(\"Reference Editor\")) `;\n\tif (\"\" == $panelName) {\n\t\tif ($useSceneConfig) {\n\t\t\t$panelName = `scriptedPanel -unParent -type \"referenceEditorPanel\" -l (localizedPanelLabel(\"Reference Editor\")) -mbv $menusOkayInPanels `;\n\t\t}\n\t} else {\n\t\t$label = `panel -q -label $panelName`;\n\t\tscriptedPanel -edit -l (localizedPanelLabel(\"Reference Editor\")) -mbv $menusOkayInPanels $panelName;\n" 226 230 + "\t\tif (!$useSceneConfig) {\n\t\t\tpanel -e -l $label $panelName;\n\t\t}\n\t}\n\n\n\t$panelName = `sceneUIReplacement -getNextScriptedPanel \"componentEditorPanel\" (localizedPanelLabel(\"Component Editor\")) `;\n\tif (\"\" == $panelName) {\n\t\tif ($useSceneConfig) {\n\t\t\t$panelName = `scriptedPanel -unParent -type \"componentEditorPanel\" -l (localizedPanelLabel(\"Component Editor\")) -mbv $menusOkayInPanels `;\n\t\t}\n\t} else {\n\t\t$label = `panel -q -label $panelName`;\n\t\tscriptedPanel -edit -l (localizedPanelLabel(\"Component Editor\")) -mbv $menusOkayInPanels $panelName;\n\t\tif (!$useSceneConfig) {\n\t\t\tpanel -e -l $label $panelName;\n\t\t}\n\t}\n\n\n\t$panelName = `sceneUIReplacement -getNextScriptedPanel \"dynPaintScriptedPanelType\" (localizedPanelLabel(\"Paint Effects\")) `;\n\tif (\"\" == $panelName) {\n\t\tif ($useSceneConfig) {\n\t\t\t$panelName = `scriptedPanel -unParent -type \"dynPaintScriptedPanelType\" -l (localizedPanelLabel(\"Paint Effects\")) -mbv $menusOkayInPanels `;\n\t\t}\n\t} else {\n\t\t$label = `panel -q -label $panelName`;\n\t\tscriptedPanel -edit -l (localizedPanelLabel(\"Paint Effects\")) -mbv $menusOkayInPanels $panelName;\n" 227 + "\t\tif (!$useSceneConfig) {\n\t\t\tpanel -e -l $label $panelName;\n\t\t}\n\t}\n\n\n\t$panelName = `sceneUIReplacement -getNextScriptedPanel \"scriptEditorPanel\" (localizedPanelLabel(\"Script Editor\")) `;\n\tif (\"\" == $panelName) {\n\t\tif ($useSceneConfig) {\n\t\t\t$panelName = `scriptedPanel -unParent -type \"scriptEditorPanel\" -l (localizedPanelLabel(\"Script Editor\")) -mbv $menusOkayInPanels `;\n\t\t}\n\t} else {\n\t\t$label = `panel -q -label $panelName`;\n\t\tscriptedPanel -edit -l (localizedPanelLabel(\"Script Editor\")) -mbv $menusOkayInPanels $panelName;\n\t\tif (!$useSceneConfig) {\n\t\t\tpanel -e -l $label $panelName;\n\t\t}\n\t}\n\tif ($useSceneConfig) {\n\t\tscriptedPanel -e -to $panelName;\n\t}\n\n\n\t$panelName = `sceneUIReplacement -getNextScriptedPanel \"webBrowserPanel\" (localizedPanelLabel(\"Web Browser\")) `;\n\tif (\"\" == $panelName) {\n\t\tif ($useSceneConfig) {\n\t\t\t$panelName = `scriptedPanel -unParent -type \"webBrowserPanel\" -l (localizedPanelLabel(\"Web Browser\")) -mbv $menusOkayInPanels `;\n\t\t}\n\t} else {\n\t\t$label = `panel -q -label $panelName`;\n\t\tscriptedPanel -edit -l (localizedPanelLabel(\"Web Browser\")) -mbv $menusOkayInPanels $panelName;\n" 228 + "\t\tif (!$useSceneConfig) {\n\t\t\tpanel -e -l $label $panelName;\n\t\t}\n\t}\n\n\n\tif ($useSceneConfig) {\n string $configName = `getPanel -cwl (localizedPanelLabel(\"Current Layout\"))`;\n if (\"\" != $configName) {\n\t\t\tpanelConfiguration -edit -label (localizedPanelLabel(\"Current Layout\")) \n\t\t\t\t-defaultImage \"\"\n\t\t\t\t-image \"\"\n\t\t\t\t-sc false\n\t\t\t\t-configString \"global string $gMainPane; paneLayout -e -cn \\\"single\\\" -ps 1 100 100 $gMainPane;\"\n\t\t\t\t-removeAllPanels\n\t\t\t\t-ap false\n\t\t\t\t\t(localizedPanelLabel(\"Persp View\")) \n\t\t\t\t\t\"modelPanel\"\n" 231 + "\t\tif (!$useSceneConfig) {\n\t\t\tpanel -e -l $label $panelName;\n\t\t}\n\t}\n\n\n\t$panelName = `sceneUIReplacement -getNextScriptedPanel \"webBrowserPanel\" (localizedPanelLabel(\"Web Browser\")) `;\n\tif (\"\" == $panelName) {\n\t\tif ($useSceneConfig) {\n\t\t\t$panelName = `scriptedPanel -unParent -type \"webBrowserPanel\" -l (localizedPanelLabel(\"Web Browser\")) -mbv $menusOkayInPanels `;\n\t\t}\n\t} else {\n\t\t$label = `panel -q -label $panelName`;\n\t\tscriptedPanel -edit -l (localizedPanelLabel(\"Web Browser\")) -mbv $menusOkayInPanels $panelName;\n\t\tif (!$useSceneConfig) {\n\t\t\tpanel -e -l $label $panelName;\n\t\t}\n\t}\n\n\n\t$panelName = `sceneUIReplacement -getNextScriptedPanel \"scriptEditorPanel\" (localizedPanelLabel(\"Script Editor\")) `;\n\tif (\"\" == $panelName) {\n\t\tif ($useSceneConfig) {\n\t\t\t$panelName = `scriptedPanel -unParent -type \"scriptEditorPanel\" -l (localizedPanelLabel(\"Script Editor\")) -mbv $menusOkayInPanels `;\n\t\t}\n\t} else {\n\t\t$label = `panel -q -label $panelName`;\n\t\tscriptedPanel -edit -l (localizedPanelLabel(\"Script Editor\")) -mbv $menusOkayInPanels $panelName;\n" 232 + "\t\tif (!$useSceneConfig) {\n\t\t\tpanel -e -l $label $panelName;\n\t\t}\n\t}\n\n\n\t$panelName = `sceneUIReplacement -getNextScriptedPanel \"hyperGraphPanel\" (localizedPanelLabel(\"Hypergraph Hierarchy1\")) `;\n\tif (\"\" == $panelName) {\n\t\tif ($useSceneConfig) {\n\t\t\t$panelName = `scriptedPanel -unParent -type \"hyperGraphPanel\" -l (localizedPanelLabel(\"Hypergraph Hierarchy1\")) -mbv $menusOkayInPanels `;\n\n\t\t\t$editorName = ($panelName+\"HyperGraphEd\");\n hyperGraph -e \n -graphLayoutStyle \"hierarchicalLayout\" \n -orientation \"horiz\" \n -zoom 1.3525\n -animateTransition 0\n -showShapes 0\n -showDeformers 0\n -showExpressions 0\n -showConstraints 0\n -showUnderworld 0\n -showInvisible 0\n -transitionFrames 5\n -currentNode \"group1\" \n -freeform 0\n -imagePosition 0 0 \n -imageScale 1\n -imageEnabled 0\n -graphType \"DAG\" \n" 233 + " -updateSelection 1\n -updateNodeAdded 1\n -useDrawOverrideColor 0\n -limitGraphTraversal -1\n -iconSize \"largeIcons\" \n -showCachedConnections 0\n $editorName;\n\t\t}\n\t} else {\n\t\t$label = `panel -q -label $panelName`;\n\t\tscriptedPanel -edit -l (localizedPanelLabel(\"Hypergraph Hierarchy1\")) -mbv $menusOkayInPanels $panelName;\n\n\t\t\t$editorName = ($panelName+\"HyperGraphEd\");\n hyperGraph -e \n -graphLayoutStyle \"hierarchicalLayout\" \n -orientation \"horiz\" \n -zoom 1.3525\n -animateTransition 0\n -showShapes 0\n -showDeformers 0\n -showExpressions 0\n -showConstraints 0\n -showUnderworld 0\n -showInvisible 0\n -transitionFrames 5\n -currentNode \"group1\" \n -freeform 0\n -imagePosition 0 0 \n -imageScale 1\n" 234 + " -imageEnabled 0\n -graphType \"DAG\" \n -updateSelection 1\n -updateNodeAdded 1\n -useDrawOverrideColor 0\n -limitGraphTraversal -1\n -iconSize \"largeIcons\" \n -showCachedConnections 0\n $editorName;\n\t\tif (!$useSceneConfig) {\n\t\t\tpanel -e -l $label $panelName;\n\t\t}\n\t}\n\tif ($useSceneConfig) {\n\t\tscriptedPanel -e -to $panelName;\n\t}\n\n\n\tif ($useSceneConfig) {\n string $configName = `getPanel -cwl (localizedPanelLabel(\"Current Layout\"))`;\n if (\"\" != $configName) {\n\t\t\tpanelConfiguration -edit -label (localizedPanelLabel(\"Current Layout\")) \n\t\t\t\t-defaultImage \"\"\n\t\t\t\t-image \"\"\n\t\t\t\t-sc false\n\t\t\t\t-configString \"global string $gMainPane; paneLayout -e -cn \\\"single\\\" -ps 1 100 100 $gMainPane;\"\n\t\t\t\t-removeAllPanels\n\t\t\t\t-ap false\n\t\t\t\t\t(localizedPanelLabel(\"Persp View\")) \n\t\t\t\t\t\"modelPanel\"\n" 229 235 + "\t\t\t\t\t\"$panelName = `modelPanel -unParent -l (localizedPanelLabel(\\\"Persp View\\\")) -mbv $menusOkayInPanels `;\\n$editorName = $panelName;\\nmodelEditor -e \\n -cam `findStartUpCamera persp` \\n -useInteractiveMode 0\\n -displayLights \\\"default\\\" \\n -displayAppearance \\\"smoothShaded\\\" \\n -activeOnly 0\\n -wireframeOnShaded 0\\n -headsUpDisplay 1\\n -selectionHiliteDisplay 1\\n -useDefaultMaterial 0\\n -bufferMode \\\"double\\\" \\n -twoSidedLighting 1\\n -backfaceCulling 0\\n -xray 0\\n -displayTextures 0\\n -smoothWireframe 0\\n -textureAnisotropic 0\\n -textureHilight 1\\n -textureSampling 2\\n -textureDisplay \\\"modulate\\\" \\n -textureMaxSize 8192\\n -fogging 0\\n -fogSource \\\"fragment\\\" \\n -fogMode \\\"linear\\\" \\n -fogStart 0\\n -fogEnd 100\\n -fogDensity 0.1\\n -fogColor 0.5 0.5 0.5 1 \\n -maxConstantTransparency 1\\n -rendererName \\\"base_OpenGL_Renderer\\\" \\n -colorResolution 256 256 \\n -bumpResolution 512 512 \\n -textureCompression 0\\n -transparencyAlgorithm \\\"frontAndBackCull\\\" \\n -transpInShadows 0\\n -cullingOverride \\\"none\\\" \\n -lowQualityLighting 0\\n -maximumNumHardwareLights 1\\n -occlusionCulling 0\\n -useBaseRenderer 0\\n -useReducedRenderer 0\\n -smallObjectCulling 0\\n -smallObjectThreshold -1 \\n -interactiveDisableShadows 0\\n -interactiveBackFaceCull 0\\n -sortTransparent 1\\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 -fluids 1\\n -hairSystems 1\\n -follicles 1\\n -nCloths 1\\n -nRigids 1\\n -dynamicConstraints 1\\n -locators 1\\n -manipulators 1\\n -dimensions 1\\n -handles 1\\n -pivots 1\\n -textures 1\\n -strokes 1\\n -shadows 0\\n $editorName;\\nmodelEditor -e -viewSelected 0 $editorName\"\n" 230 236 + "\t\t\t\t\t\"modelPanel -edit -l (localizedPanelLabel(\\\"Persp View\\\")) -mbv $menusOkayInPanels $panelName;\\n$editorName = $panelName;\\nmodelEditor -e \\n -cam `findStartUpCamera persp` \\n -useInteractiveMode 0\\n -displayLights \\\"default\\\" \\n -displayAppearance \\\"smoothShaded\\\" \\n -activeOnly 0\\n -wireframeOnShaded 0\\n -headsUpDisplay 1\\n -selectionHiliteDisplay 1\\n -useDefaultMaterial 0\\n -bufferMode \\\"double\\\" \\n -twoSidedLighting 1\\n -backfaceCulling 0\\n -xray 0\\n -displayTextures 0\\n -smoothWireframe 0\\n -textureAnisotropic 0\\n -textureHilight 1\\n -textureSampling 2\\n -textureDisplay \\\"modulate\\\" \\n -textureMaxSize 8192\\n -fogging 0\\n -fogSource \\\"fragment\\\" \\n -fogMode \\\"linear\\\" \\n -fogStart 0\\n -fogEnd 100\\n -fogDensity 0.1\\n -fogColor 0.5 0.5 0.5 1 \\n -maxConstantTransparency 1\\n -rendererName \\\"base_OpenGL_Renderer\\\" \\n -colorResolution 256 256 \\n -bumpResolution 512 512 \\n -textureCompression 0\\n -transparencyAlgorithm \\\"frontAndBackCull\\\" \\n -transpInShadows 0\\n -cullingOverride \\\"none\\\" \\n -lowQualityLighting 0\\n -maximumNumHardwareLights 1\\n -occlusionCulling 0\\n -useBaseRenderer 0\\n -useReducedRenderer 0\\n -smallObjectCulling 0\\n -smallObjectThreshold -1 \\n -interactiveDisableShadows 0\\n -interactiveBackFaceCull 0\\n -sortTransparent 1\\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 -fluids 1\\n -hairSystems 1\\n -follicles 1\\n -nCloths 1\\n -nRigids 1\\n -dynamicConstraints 1\\n -locators 1\\n -manipulators 1\\n -dimensions 1\\n -handles 1\\n -pivots 1\\n -textures 1\\n -strokes 1\\n -shadows 0\\n $editorName;\\nmodelEditor -e -viewSelected 0 $editorName\"\n" … … 232 238 setAttr ".st" 3; 233 239 createNode script -n "sceneConfigurationScriptNode"; 234 setAttr ".b" -type "string" "playbackOptions -min 1 -max 20 -ast 1 -aet 2 0";240 setAttr ".b" -type "string" "playbackOptions -min 1 -max 20 -ast 1 -aet 21 "; 235 241 setAttr ".st" 6; 236 242 createNode polyPlane -n "polyPlane1"; … … 286 292 setAttr ".wgt" no; 287 293 setAttr -s 3 ".ktv[0:2]" 1 1 10 1 20 1; 288 createNode animCurveTL -n "tag_transform_translateX"; 289 setAttr ".tan" 10; 290 setAttr ".wgt" no; 291 setAttr -s 5 ".ktv[0:4]" 1 -5.8064660184075061 5 -0.045004457503166506 292 10 5.8799028214410134 15 -0.049907829044357754 20 -5.806; 293 createNode animCurveTL -n "tag_transform_translateY"; 294 setAttr ".tan" 10; 295 setAttr ".wgt" no; 296 setAttr -s 5 ".ktv[0:4]" 1 2.4267532067591873 5 2.4267532067591873 297 10 2.4267532067591873 15 0.55401345376310829 20 2.427; 298 createNode animCurveTL -n "tag_transform_translateZ"; 299 setAttr ".tan" 10; 300 setAttr ".wgt" no; 301 setAttr -s 5 ".ktv[0:4]" 1 0 5 4.2087272395258655 10 0 15 -6.012169131742116 302 20 0; 303 createNode animCurveTU -n "tag_transform_visibility"; 294 createNode animCurveTA -n "transform_group_rotateX"; 295 setAttr ".tan" 10; 296 setAttr ".wgt" no; 297 setAttr -s 5 ".ktv[0:4]" 1 0 5 0 10 0 15 0 20 0; 298 createNode animCurveTA -n "transform_group_rotateY"; 299 setAttr ".tan" 10; 300 setAttr ".wgt" no; 301 setAttr -s 5 ".ktv[0:4]" 1 0 5 90 10 180 15 270 20 360; 302 createNode animCurveTA -n "transform_group_rotateZ"; 303 setAttr ".tan" 10; 304 setAttr ".wgt" no; 305 setAttr -s 5 ".ktv[0:4]" 1 0 5 0 10 0 15 0 20 0; 306 createNode animCurveTU -n "transform_group_visibility"; 304 307 setAttr ".tan" 9; 305 308 setAttr ".wgt" no; 306 309 setAttr -s 5 ".ktv[0:4]" 1 1 5 1 10 1 15 1 20 1; 307 310 setAttr -s 5 ".kot[0:4]" 5 5 5 5 5; 308 createNode animCurveTA -n "tag_transform_rotateX"; 309 setAttr ".tan" 10; 310 setAttr ".wgt" no; 311 setAttr -s 5 ".ktv[0:4]" 1 0 5 89.299643786655977 10 -1.1023744308256278 312 15 -267.59006773362711 20 0; 313 createNode animCurveTA -n "tag_transform_rotateY"; 314 setAttr ".tan" 10; 315 setAttr ".wgt" no; 316 setAttr -s 5 ".ktv[0:4]" 1 0 5 103.71978309910013 10 177.65047763679783 317 15 257.66015972491749 20 0; 318 createNode animCurveTA -n "tag_transform_rotateZ"; 319 setAttr ".tan" 10; 320 setAttr ".wgt" no; 321 setAttr -s 5 ".ktv[0:4]" 1 0 5 89.3196249437202 10 20.613921476006571 322 15 262.70289120578661 20 0; 311 createNode animCurveTL -n "transform_group_translateX"; 312 setAttr ".tan" 10; 313 setAttr ".wgt" no; 314 setAttr -s 5 ".ktv[0:4]" 1 0 5 0 10 0 15 0 20 0; 315 createNode animCurveTL -n "transform_group_translateY"; 316 setAttr ".tan" 10; 317 setAttr ".wgt" no; 318 setAttr -s 5 ".ktv[0:4]" 1 0 5 0 10 0 15 0 20 0; 319 createNode animCurveTL -n "transform_group_translateZ"; 320 setAttr ".tan" 10; 321 setAttr ".wgt" no; 322 setAttr -s 5 ".ktv[0:4]" 1 0 5 0 10 0 15 0 20 0; 323 createNode animCurveTU -n "transform_group_scaleX"; 324 setAttr ".tan" 10; 325 setAttr ".wgt" no; 326 setAttr -s 5 ".ktv[0:4]" 1 1 5 1 10 1 15 1 20 1; 327 createNode animCurveTU -n "transform_group_scaleY"; 328 setAttr ".tan" 10; 329 setAttr ".wgt" no; 330 setAttr -s 5 ".ktv[0:4]" 1 1 5 1 10 1 15 1 20 1; 331 createNode animCurveTU -n "transform_group_scaleZ"; 332 setAttr ".tan" 10; 333 setAttr ".wgt" no; 334 setAttr -s 5 ".ktv[0:4]" 1 1 5 1 10 1 15 1 20 1; 323 335 createNode animCurveTU -n "tag_transform_scaleX"; 324 336 setAttr ".tan" 10; 325 337 setAttr ".wgt" no; 326 setAttr -s 5 ".ktv[0:4]" 1 1 5 1 10 1 15 1 201;338 setAttr -s 3 ".ktv[0:2]" 5 1 10 1 15 1; 327 339 createNode animCurveTU -n "tag_transform_scaleY"; 328 340 setAttr ".tan" 10; 329 341 setAttr ".wgt" no; 330 setAttr -s 5 ".ktv[0:4]" 1 1 5 1 10 1 15 1 201;342 setAttr -s 3 ".ktv[0:2]" 5 1 10 1 15 1; 331 343 createNode animCurveTU -n "tag_transform_scaleZ"; 332 344 setAttr ".tan" 10; 333 345 setAttr ".wgt" no; 334 setAttr -s 5 ".ktv[0:4]" 1 1 5 1 10 1 15 1 201;346 setAttr -s 3 ".ktv[0:2]" 5 1 10 2 15 1; 335 347 select -ne :time1; 336 setAttr ".o" 4;348 setAttr ".o" 10; 337 349 select -ne :renderPartition; 338 350 setAttr -s 5 ".st"; … … 348 360 select -ne :initialParticleSE; 349 361 setAttr ".ro" yes; 362 select -ne :defaultRenderGlobals; 363 addAttr -ci true -sn "inputPath" -ln "inputPath" -dt "string"; 364 addAttr -ci true -sn "shaderPath" -ln "shaderPath" -dt "string"; 365 addAttr -ci true -sn "texturePath" -ln "texturePath" -dt "string"; 366 addAttr -ci true -sn "generatorPath" -ln "generatorPath" -dt "string"; 367 addAttr -ci true -sn "imageioPath" -ln "imageioPath" -dt "string"; 368 addAttr -ci true -sn "gelatoTextureLocation" -ln "gelatoTextureLocation" -dt "string"; 369 addAttr -ci true -sn "gelatoViewer" -ln "gelatoViewer" -dt "string"; 370 addAttr -ci true -sn "gelatoVerbosity" -ln "gelatoVerbosity" -dv 1 -min 1 -max 5 371 -smx 5 -at "long"; 372 addAttr -ci true -sn "gelatoUserScript" -ln "gelatoUserScript" -dt "string"; 373 addAttr -ci true -sn "gelatoBinary" -ln "gelatoBinary" -dv 1 -min 0 -max 1 -at "bool"; 374 addAttr -ci true -sn "gelatoFullPathNames" -ln "gelatoFullPathNames" -min 0 -max 375 1 -at "bool"; 376 addAttr -ci true -sn "gelatoCleanupPyg" -ln "gelatoCleanupPyg" -dv 1 -min 0 -max 377 1 -at "bool"; 378 addAttr -ci true -sn "gelatoNetRender" -ln "gelatoNetRender" -min 0 -max 1 -at "bool"; 379 addAttr -ci true -sn "gelatoNetRenderList" -ln "gelatoNetRenderList" -dt "string"; 380 addAttr -ci true -sn "gelatoRenderCmd" -ln "gelatoRenderCmd" -dt "string"; 381 addAttr -ci true -sn "gelatoProgressive" -ln "gelatoProgressive" -min 0 -max 1 -at "bool"; 382 addAttr -ci true -sn "gelatoPreview" -ln "gelatoPreview" -min 0 -max 1 -at "bool"; 383 addAttr -ci true -sn "gelatoPreviewSpatialQuality" -ln "gelatoPreviewSpatialQuality" 384 -dv 0.1 -min 0 -max 1 -smx 1 -at "float"; 385 addAttr -ci true -sn "gelatoSpatialQuality" -ln "gelatoSpatialQuality" -at "long2" 386 -nc 2; 387 addAttr -ci true -sn "gelatoSpatialQualityX" -ln "gelatoSpatialQualityX" -dv 4 -min 388 1 -max 16 -at "long" -p "gelatoSpatialQuality"; 389 addAttr -ci true -sn "gelatoSpatialQualityY" -ln "gelatoSpatialQualityY" -dv 4 -min 390 1 -max 16 -at "long" -p "gelatoSpatialQuality"; 391 addAttr -ci true -sn "gelatoDOFQuality" -ln "gelatoDOFQuality" -dv 16 -at "long"; 392 addAttr -ci true -sn "gelatoPixelFilter" -ln "gelatoPixelFilter" -dt "string"; 393 addAttr -ci true -sn "gelatoPixelFilterWidth" -ln "gelatoPixelFilterWidth" -at "float2" 394 -nc 2; 395 addAttr -ci true -sn "gelatoPixelFilterWidthX" -ln "gelatoPixelFilterWidthX" -dv 396 2 -min 0 -max 64 -at "float" -p "gelatoPixelFilterWidth"; 397 addAttr -ci true -sn "gelatoPixelFilterWidthY" -ln "gelatoPixelFilterWidthY" -dv 398 2 -min 0 -max 64 -at "float" -p "gelatoPixelFilterWidth"; 399 addAttr -ci true -sn "gelatoTemporalQuality" -ln "gelatoTemporalQuality" -dv 16 400 -min 1 -max 1000 -smx 100 -at "long"; 401 addAttr -ci true -sn "gelatoUseCameraShutter" -ln "gelatoUseCameraShutter" -dv 1 402 -min 0 -max 1 -at "bool"; 403 addAttr -ci true -sn "gelatoShutterAngle" -ln "gelatoShutterAngle" -dv 144 -min 404 0 -max 360 -smx 360 -at "float"; 405 addAttr -ci true -sn "gelatoShutterStart" -ln "gelatoShutterStart" -dv -72 -min 406 -360 -max 360 -smx 360 -at "float"; 407 addAttr -ci true -sn "gelatoRayTraceMotion" -ln "gelatoRayTraceMotion" -min 0 -max 408 1 -at "bool"; 409 addAttr -ci true -sn "gelatoGain" -ln "gelatoGain" -dv 1 -at "float"; 410 addAttr -ci true -sn "gelatoDither" -ln "gelatoDither" -dv 0.5 -at "float"; 411 addAttr -ci true -sn "gelatoBucketSize" -ln "gelatoBucketSize" -at "long2" -nc 2; 412 addAttr -ci true -sn "gelatoBucketSizeX" -ln "gelatoBucketSizeX" -dv 32 -at "long" 413 -p "gelatoBucketSize"; 414 addAttr -ci true -sn "gelatoBucketSizeY" -ln "gelatoBucketSizeY" -dv 32 -at "long" 415 -p "gelatoBucketSize"; 416 addAttr -ci true -sn "gelatoBucketOrder" -ln "gelatoBucketOrder" -dt "string"; 417 addAttr -ci true -sn "gelatoGridSize" -ln "gelatoGridSize" -dv 256 -at "long"; 418 addAttr -ci true -sn "gelatoTextureMemory" -ln "gelatoTextureMemory" -dv 20480 -at "long"; 419 addAttr -ci true -sn "gelatoTrimCurveQuality" -ln "gelatoTrimCurveQuality" -dv 1 420 -at "float"; 421 addAttr -ci true -sn "gelatoTrimMemory" -ln "gelatoTrimMemory" -dv 10240 -at "long"; 422 addAttr -ci true -sn "gelatoThreads" -ln "gelatoThreads" -dv 1 -min 1 -max 100 -smx 423 8 -at "long"; 424 addAttr -ci true -sn "gelatoImageFormat" -ln "gelatoImageFormat" -min 0 -max 1000 425 -smx 1000 -at "long"; 426 addAttr -ci true -sn "gelatoUseOverrideSurfaceShader" -ln "gelatoUseOverrideSurfaceShader" 427 -min 0 -max 1 -at "bool"; 428 addAttr -ci true -sn "gelatoOverrideSurfaceShader" -ln "gelatoOverrideSurfaceShader" 429 -dt "string"; 430 addAttr -ci true -sn "gelatoOcclusionDBName" -ln "gelatoOcclusionDBName" -dt "string"; 431 addAttr -ci true -sn "gelatoOcclusionSampleRays" -ln "gelatoOcclusionSampleRays" 432 -dv 64 -min 16 -max 16384 -smx 1024 -at "long"; 433 addAttr -ci true -sn "gelatoOcclusionAdaptive" -ln "gelatoOcclusionAdaptive" -min 434 0 -max 4 -smx 1 -at "float"; 435 addAttr -ci true -sn "gelatoOcclusionMinSamples" -ln "gelatoOcclusionMinSamples" 436 -dv 3 -min 1 -max 10 -smx 10 -at "long"; 437 addAttr -ci true -sn "gelatoOcclusionMaxErr" -ln "gelatoOcclusionMaxErr" -dv 0.25 438 -min 0 -max 1 -smx 1 -at "float"; 439 addAttr -ci true -sn "gelatoOcclusionMaxPixelDist" -ln "gelatoOcclusionMaxPixelDist" 440 -dv 20 -min 0 -max 100 -smx 30 -at "float"; 441 addAttr -ci true -sn "gelatoOcclusionMaxHitDist" -ln "gelatoOcclusionMaxHitDist" 442 -dv 10000 -min 0 -max 1000000 -smx 10000 -at "float"; 443 addAttr -ci true -sn "gelatoOcclusionBias" -ln "gelatoOcclusionBias" -dv 0.01 -min 444 0 -max 100 -smx 10 -at "float"; 445 addAttr -ci true -sn "gelatoOcclusionFalloff" -ln "gelatoOcclusionFalloff" -min 446 0 -max 100 -smx 10 -at "float"; 447 addAttr -ci true -sn "gelatoOcclusionFalloffMode" -ln "gelatoOcclusionFalloffMode" 448 -min 0 -max 1 -en "Exponential:Polynomial" -at "enum"; 449 addAttr -ci true -sn "gelatoOcclusionTwosided" -ln "gelatoOcclusionTwosided" -dv 450 1 -min 0 -max 1 -at "bool"; 451 addAttr -ci true -sn "gelatoReflOcclusionAngle" -ln "gelatoReflOcclusionAngle" -dv 452 0.01 -min 0 -max 3.14159 -smx 0.1 -at "float"; 453 addAttr -ci true -sn "gelatoReflOcclusionSampleRays" -ln "gelatoReflOcclusionSampleRays" 454 -dv 4 -min 1 -max 256 -smx 64 -at "long"; 455 addAttr -ci true -sn "gelatoOverrideIndirect" -ln "gelatoOverrideIndirect" -min 456 0 -max 1 -at "bool"; 457 addAttr -ci true -sn "gelatoIndirectDBName" -ln "gelatoIndirectDBName" -dt "string"; 458 addAttr -ci true -sn "gelatoIndirectIntensity" -ln "gelatoIndirectIntensity" -dv 459 1 -min 0 -max 1000 -smx 1 -at "float"; 460 addAttr -ci true -sn "gelatoIndirectSampleRays" -ln "gelatoIndirectSampleRays" -dv 461 64 -min 16 -max 16384 -smx 1024 -at "long"; 462 addAttr -ci true -sn "gelatoIndirectMinSamples" -ln "gelatoIndirectMinSamples" -dv 463 3 -min 1 -max 10 -smx 10 -at "long"; 464 addAttr -ci true -sn "gelatoIndirectMaxErr" -ln "gelatoIndirectMaxErr" -dv 0.25 465 -min 0 -max 1 -smx 1 -at "float"; 466 addAttr -ci true -sn "gelatoIndirectMaxPixelDist" -ln "gelatoIndirectMaxPixelDist" 467 -dv 20 -min 0 -max 100 -smx 30 -at "float"; 468 addAttr -ci true -sn "gelatoIndirectMaxHitDist" -ln "gelatoIndirectMaxHitDist" -dv 469 1000000 -min 0 -max 1000000 -smx 10000 -at "float"; 470 addAttr -ci true -sn "gelatoIndirectBias" -ln "gelatoIndirectBias" -dv 0.01 -min 471 0 -max 100 -smx 10 -at "float"; 472 addAttr -ci true -sn "gelatoIndirectFalloff" -ln "gelatoIndirectFalloff" -min 0 473 -max 100 -smx 10 -at "float"; 474 addAttr -ci true -sn "gelatoIndirectFalloffMode" -ln "gelatoIndirectFalloffMode" 475 -min 0 -max 1 -en "Exponential:Polynomial" -at "enum"; 476 addAttr -ci true -sn "gelatoSubsurfaceScattering" -ln "gelatoSubsurfaceScattering" 477 -dv 1 -min 0 -max 1 -at "bool"; 478 addAttr -ci true -sn "gelatoSubsurfaceMaterial" -ln "gelatoSubsurfaceMaterial" -dt "string"; 479 addAttr -ci true -sn "gelatoRerenderDepthMaps" -ln "gelatoRerenderDepthMaps" -dv 480 1 -min 0 -max 1 -at "bool"; 481 addAttr -ci true -sn "gelatoLiveUpdates" -ln "gelatoLiveUpdates" -min 0 -max 1 -at "bool"; 482 addAttr -ci true -sn "gelatoShadowMapUpdates" -ln "gelatoShadowMapUpdates" -dv 1 483 -min 0 -max 1 -at "bool"; 484 addAttr -ci true -sn "gelatoSorbettoPreview" -ln "gelatoSorbettoPreview" -min 0 485 -max 1 -at "bool"; 486 addAttr -ci true -sn "gelatoReshadeRays" -ln "gelatoReshadeRays" -min 0 -max 1 -at "bool"; 487 addAttr -ci true -sn "gelatoOverrideMisc" -ln "gelatoOverrideMisc" -dv 1 -min 0 488 -max 1 -at "bool"; 489 addAttr -ci true -sn "gelatoShadingQuality" -ln "gelatoShadingQuality" -dv 1 -min 490 0 -max 10 -smx 4 -at "float"; 491 addAttr -ci true -sn "gelatoMaxRadius" -ln "gelatoMaxRadius" -min 0 -max 1000000 492 -smx 10 -at "float"; 493 addAttr -ci true -sn "gelatoOpaqueShadows" -ln "gelatoOpaqueShadows" -dv 1 -min 494 0 -max 1 -at "bool"; 495 addAttr -ci true -sn "gelatoStereo" -ln "gelatoStereo" -min 0 -max 1 -at "bool"; 496 addAttr -ci true -sn "gelatoStereoSeparation" -ln "gelatoStereoSeparation" -min 497 0 -max 1000 -smx 10 -at "float"; 498 addAttr -ci true -sn "gelatoStereoConvergence" -ln "gelatoStereoConvergence" -min 499 0 -max 1000000 -smx 1000 -at "float"; 500 addAttr -ci true -sn "gelatoStereoShade" -ln "gelatoStereoShade" -min 0 -max 2 -en 501 "Center:Left:Right" -at "enum"; 502 addAttr -ci true -sn "gelatoStereoProjection" -ln "gelatoStereoProjection" -min 503 0 -max 2 -en "Off-axis:Parallel:Toe-in" -at "enum"; 504 addAttr -ci true -sn "gelatoVolumeLightDensity" -ln "gelatoVolumeLightDensity" -dv 505 0.005 -min 0 -max 1000 -smx 1 -at "float"; 506 addAttr -ci true -sn "gelatoVolumeOpacityDensity" -ln "gelatoVolumeOpacityDensity" 507 -min 0 -max 1000 -smx 1 -at "float"; 508 addAttr -ci true -sn "gelatoVolumeStepsize" -ln "gelatoVolumeStepsize" -dv 0.1 -min 509 0 -max 1000 -smx 1 -at "float"; 510 addAttr -ci true -sn "gelatoVolumeMinsteps" -ln "gelatoVolumeMinsteps" -dv 3 -min 511 0 -max 1000 -smx 1 -at "long"; 512 addAttr -ci true -sn "gelatoVolumeMaxsteps" -ln "gelatoVolumeMaxsteps" -dv 100 -min 513 0 -max 10000 -smx 1000 -at "long"; 514 addAttr -ci true -sn "gelatoVolumeIntegStart" -ln "gelatoVolumeIntegStart" -min 515 0 -max 10000 -smx 1000 -at "float"; 516 addAttr -ci true -sn "gelatoVolumeIntegEnd" -ln "gelatoVolumeIntegEnd" -dv 10000 517 -min 0 -max 100000 -smx 10000 -at "float"; 518 addAttr -ci true -sn "gelatoBakeFixedDicing" -ln "gelatoBakeFixedDicing" -dv 1 -min 519 0 -max 1 -at "bool"; 520 addAttr -ci true -sn "gelatoOutputBeauty" -ln "gelatoOutputBeauty" -dv 1 -min 0 521 -max 1 -at "bool"; 522 addAttr -ci true -sn "gelatoOutputDiffuse" -ln "gelatoOutputDiffuse" -min 0 -max 523 1 -at "bool"; 524 addAttr -ci true -sn "gelatoOutputSpecular" -ln "gelatoOutputSpecular" -min 0 -max 525 1 -at "bool"; 526 addAttr -ci true -sn "gelatoOutputReflect" -ln "gelatoOutputReflect" -min 0 -max 527 1 -at "bool"; 528 addAttr -ci true -sn "gelatoOutputRefract" -ln "gelatoOutputRefract" -min 0 -max 529 1 -at "bool"; 530 addAttr -ci true -sn "gelatoOutputOcclusion" -ln "gelatoOutputOcclusion" -min 0 531 -max 1 -at "bool"; 532 addAttr -ci true -sn "gelatoOutputReflectionOcclusion" -ln "gelatoOutputReflectionOcclusion" 533 -min 0 -max 1 -at "bool"; 534 addAttr -ci true -sn "gelatoOutputSubsurface" -ln "gelatoOutputSubsurface" -min 535 0 -max 1 -at "bool"; 536 addAttr -ci true -sn "gelatoOutputTranslucence" -ln "gelatoOutputTranslucence" -min 537 0 -max 1 -at "bool"; 538 addAttr -ci true -sn "gelatoOutputIncandescence" -ln "gelatoOutputIncandescence" 539 -min 0 -max 1 -at "bool"; 540 addAttr -ci true -sn "gelatoOutputGlow" -ln "gelatoOutputGlow" -min 0 -max 1 -at "bool"; 541 addAttr -ci true -sn "gelatoOutputUnlit" -ln "gelatoOutputUnlit" -min 0 -max 1 -at "bool"; 542 addAttr -ci true -sn "gelatoOutputShadowed" -ln "gelatoOutputShadowed" -min 0 -max 543 1 -at "bool"; 544 addAttr -ci true -sn "gelatoOutputUnshadowedDiffuse" -ln "gelatoOutputUnshadowedDiffuse" 545 -min 0 -max 1 -at "bool"; 546 addAttr -ci true -sn "gelatoOutputDepth" -ln "gelatoOutputDepth" -min 0 -max 1 -at "bool"; 547 setAttr ".rd" 3; 548 setAttr ".inputPath" -type "string" "$MANGOHOME/inputs:$GELATOHOME/inputs"; 549 setAttr ".shaderPath" -type "string" "$MANGOHOME/shaders:$GELATOHOME/shaders"; 550 setAttr ".texturePath" -type "string" "$MANGOHOME/textures:$GELATOHOME/textures"; 551 setAttr ".generatorPath" -type "string" "$MANGOHOME/lib:$GELATOHOME/lib"; 552 setAttr ".imageioPath" -type "string" "$MANGOHOME/lib:$GELATOHOME/lib"; 553 setAttr ".gelatoTextureLocation" -type "string" "$MAYA_PROJECT/gelatoTextures"; 554 setAttr ".gelatoViewer" -type "string" "iv"; 555 setAttr ".gelatoUserScript" -type "string" ""; 556 setAttr ".gelatoNetRenderList" -type "string" ""; 557 setAttr ".gelatoRenderCmd" -type "string" "gelato"; 558 setAttr ".gelatoPixelFilter" -type "string" "gaussian"; 559 setAttr ".gelatoBucketOrder" -type "string" "horizontal"; 560 setAttr ".gelatoOverrideSurfaceShader" -type "string" ""; 561 setAttr ".gelatoOcclusionDBName" -type "string" "occlusion.sdb"; 562 setAttr ".gelatoIndirectDBName" -type "string" "indirect.sdb"; 563 setAttr ".gelatoSubsurfaceMaterial" -type "string" "gelatoSubsurface"; 350 564 select -ne :hardwareRenderGlobals; 351 565 setAttr ".ctrs" 256; … … 373 587 connectAttr "groupId2.id" "pSolidShape1.ciog.cog[0].cgid"; 374 588 connectAttr "polyPlane1.out" "pPlaneShape1.i"; 375 connectAttr "tag_transform_translateX.o" "tag_transform.tx"; 376 connectAttr "tag_transform_translateY.o" "tag_transform.ty"; 377 connectAttr "tag_transform_translateZ.o" "tag_transform.tz"; 378 connectAttr "tag_transform_visibility.o" "tag_transform.v"; 379 connectAttr "tag_transform_rotateX.o" "tag_transform.rx"; 380 connectAttr "tag_transform_rotateY.o" "tag_transform.ry"; 381 connectAttr "tag_transform_rotateZ.o" "tag_transform.rz"; 589 connectAttr "transform_group_rotateX.o" "transform_group.rx"; 590 connectAttr "transform_group_rotateY.o" "transform_group.ry"; 591 connectAttr "transform_group_rotateZ.o" "transform_group.rz"; 592 connectAttr "transform_group_visibility.o" "transform_group.v"; 593 connectAttr "transform_group_translateX.o" "transform_group.tx"; 594 connectAttr "transform_group_translateY.o" "transform_group.ty"; 595 connectAttr "transform_group_translateZ.o" "transform_group.tz"; 596 connectAttr "transform_group_scaleX.o" "transform_group.sx"; 597 connectAttr "transform_group_scaleY.o" "transform_group.sy"; 598 connectAttr "transform_group_scaleZ.o" "transform_group.sz"; 382 599 connectAttr "tag_transform_scaleX.o" "tag_transform.sx"; 383 600 connectAttr "tag_transform_scaleY.o" "tag_transform.sy";
