diff --git a/VERSION.txt b/VERSION.txt index a23270fa..3ba033af 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -v1.0.11 Experimental \ No newline at end of file +v1.0.12 Experimental \ No newline at end of file diff --git a/examples/animated_instances.hip b/examples/animated_instances.hip index d3ce704d..8ae2bb63 100644 Binary files a/examples/animated_instances.hip and b/examples/animated_instances.hip differ diff --git a/examples/explode_and_curl.hip b/examples/explode_and_curl.hip index 3d4e82f3..13c19a6b 100644 Binary files a/examples/explode_and_curl.hip and b/examples/explode_and_curl.hip differ diff --git a/examples/spread_falloff_01.hip b/examples/spread_falloff_01.hip index ae725781..07ecc16a 100644 Binary files a/examples/spread_falloff_01.hip and b/examples/spread_falloff_01.hip differ diff --git a/otls/MOPS_Align.hda/INDEX__SECTION b/otls/MOPS_Align.hda/INDEX__SECTION index 53e4bd65..b94fd607 100644 --- a/otls/MOPS_Align.hda/INDEX__SECTION +++ b/otls/MOPS_Align.hda/INDEX__SECTION @@ -10,7 +10,7 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Thu Nov 14 21:51:29 2019 +Modified: Mon Nov 11 18:51:29 2019 Operator: MOPS::Align::1.1 Label: MOPs Align @@ -24,5 +24,19 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Thu Dec 5 21:20:14 2019 +Modified: Mon Dec 2 18:13:21 2019 + +Operator: MOPS::Align::1.2 +Label: MOPs Align +Path: oplib:/MOPS::Sop/Align::1.2?MOPS::Sop/Align::1.2 +Icon: opdef:/MOPS::Sop/Align::1.2?IconSVG +Table: Sop +License: +Extra: +User: +Inputs: 1 to 1 +Subnet: true +Python: false +Empty: false +Modified: Sat Mar 14 14:51:53 2020 diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/Contents.dir/.OPdummydefs b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/Contents.dir/.OPdummydefs index 561c2e58..3b4513a1 100644 Binary files a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/Contents.dir/.OPdummydefs and b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/Contents.dir/.OPdummydefs differ diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/Contents.dir/.OPfallbacks b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/Contents.dir/.OPfallbacks index 4ec63fbb..15866eba 100644 --- a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/Contents.dir/.OPfallbacks +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/Contents.dir/.OPfallbacks @@ -1,6 +1,6 @@ -MOPS::Sop/Extract_Attributes::1.0 C:/Users/Henry/Projects/VFX/MOPS/otls/MOPS_extractAttributes.hda +MOPS::Sop/Extract_Attributes::1.0 C:/Users/Henry/Projects/VFX/MOPS_Prime/otls/MOPS_extractAttributes.hda MOPS::Sop/Extract_Attributes::1.0 otls/MOPS_extractAttributes.hda -Sop/attribdelete C:/PROGRA~1/SIDEEF~1/HOUDIN~1.229/houdini/otls/OPlibSop.hda +Sop/attribdelete C:/PROGRA~1/SIDEEF~1/HOUDIN~1.287/houdini/otls/OPlibSop.hda Sop/attribdelete otls/OPlibSop.hda -Sop/attribwrangle C:/PROGRA~1/SIDEEF~1/HOUDIN~1.229/houdini/otls/OPlibSop.hda +Sop/attribwrangle C:/PROGRA~1/SIDEEF~1/HOUDIN~1.287/houdini/otls/OPlibSop.hda Sop/attribwrangle otls/OPlibSop.hda diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/Contents.dir/Contents.mime b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/Contents.dir/Contents.mime index 7dfcb8e5..f893e18b 100644 --- a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/Contents.dir/Contents.mime +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/Contents.dir/Contents.mime @@ -32,9 +32,9 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -3.09016 1.21885 +position -7.243 3.62388 connectornextid 0 -flags = lock off model off template off footprint off xray off bypass off display on render on highlight off unload off savedata off compress on colordefault on exposed on +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 { } @@ -46,8 +46,8 @@ inputs } stat { - create 1575609598 - modify 1575609606 + create 1575608772 + modify 1575609200 author Henry@LAPPY586 access 0777 } @@ -107,7 +107,7 @@ inputs stat { create 1555384760 - modify 1575609599 + modify 1575608772 author Henry@LAPPY586 access 0777 } @@ -340,6 +340,12 @@ Content-Type: text/plain parmtag { "editor" "1" } parmtag { "editorlang" "vex" } } + parm { + name "vex_precision" + baseparm + label "VEX Precision" + export none + } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot/align_pivots.chn" @@ -531,6 +537,7 @@ vex_updatenmls [ 0 locks=0 ] ( "off" ) vex_matchattrib [ 0 locks=0 ] ( id ) vex_inplace [ 0 locks=0 ] ( "off" ) vex_selectiongroup [ 0 locks=0 ] ( "" ) +vex_precision [ 0 locks=0 ] ( auto ) folder1 [ 0 locks=0 ] ( 0 0 ) mode [ 0 locks=0 ] ( [ mode 9 ] ) do_falloff [ 0 locks=0 ] ( [ do_falloff 0 ] ) @@ -672,7 +679,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"17.5.229" + "value":"18.0.287" } } @@ -731,7 +738,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"17.5.229" + "value":"18.0.287" } } diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/ExtraFileOptions b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/ExtraFileOptions index 5dde6aad..e8838258 100644 --- a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/ExtraFileOptions +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/ExtraFileOptions @@ -1,7 +1,7 @@ { "OnCreated/Cursor":{ "type":"intarray", - "value":[1,1] + "value":[13,38] }, "OnCreated/IsExpr":{ "type":"bool", @@ -19,6 +19,10 @@ "type":"string", "value":"" }, + "ViewerStateModule/CodeGenInput":{ + "type":"string", + "value":"{\n\t\"state_name\":\"\",\n\t\"state_label\":\"\",\n\t\"state_descr\":\"\",\n\t\"state_icon\":\"$HH/config/Icons\",\n\t\"state_sample\":0,\n\t\"state_handler_indices\":[]\n}\n" + }, "mops_modifier_02.svg/Cursor":{ "type":"intarray", "value":[1,1] diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/OnCreated b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/OnCreated index 5d5cae19..bf097f36 100644 --- a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/OnCreated +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/OnCreated @@ -7,4 +7,7 @@ try: import mops_tools mops_tools.send_on_create_analytics(me) except: - pass \ No newline at end of file + pass + +import mops_tools +mops_tools.viewport_selection(kwargs) \ No newline at end of file diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/TypePropertiesOptions b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/TypePropertiesOptions index b4811492..a6d52acf 100644 --- a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/TypePropertiesOptions +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.1/TypePropertiesOptions @@ -1,14 +1,14 @@ -SaveSpareParms := 0; CheckExternal := 1; -SaveIcon := 1; -GzipContents := 1; ContentsCompressionType := 1; -UnlockOnCreate := 0; -SaveCachedCode := 0; +ForbidOutsideParms := 1; +GzipContents := 1; LockContents := 1; MakeDefault := 1; -UseDSParms := 1; -ForbidOutsideParms := 1; +ParmsFromVfl := 0; PrefixDroppedParmLabel := 0; PrefixDroppedParmName := 0; -ParmsFromVfl := 0; +SaveCachedCode := 0; +SaveIcon := 1; +SaveSpareParms := 0; +UnlockOnCreate := 0; +UseDSParms := 1; diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Contents.dir/.OPdummydefs b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Contents.dir/.OPdummydefs new file mode 100644 index 00000000..d7682a5f Binary files /dev/null and b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Contents.dir/.OPdummydefs differ diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Contents.dir/.OPfallbacks b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Contents.dir/.OPfallbacks new file mode 100644 index 00000000..77d05cba --- /dev/null +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Contents.dir/.OPfallbacks @@ -0,0 +1,4 @@ +Sop/attribdelete C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibSop.hda +Sop/attribdelete otls/OPlibSop.hda +Sop/attribwrangle C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibSop.hda +Sop/attribwrangle otls/OPlibSop.hda diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Contents.dir/Contents.mime b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Contents.dir/Contents.mime new file mode 100644 index 00000000..872a5b68 --- /dev/null +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Contents.dir/Contents.mime @@ -0,0 +1,2812 @@ +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary="HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY" + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename=".OPfallbacks" +Content-Type: application/external-reference + +.OPfallbacks + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename=".OPdummydefs" +Content-Type: application/external-reference + +.OPdummydefs + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="node_type" +Content-Type: text/plain + +Sop + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot.init" +Content-Type: text/plain + +type = MOPS::Align::1.2 +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -5.15845 -4.17522 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 MOPs_Color_Modifier 1 1 "input1" +} +inputs +{ +0 MOPs_Color_Modifier 0 1 +} +stat +{ + create 1584220739 + modify 1584222691 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot.inp" +Content-Type: text/plain + +1 +0 -4.3967336955224088 9.4503295562118499 2 0 __NO_OWNER_NETWORK_BOX__ "FROMOUTPUT" + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/centroid.init" +Content-Type: text/plain + +type = attribwrangle +matchesdef = 1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/centroid.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -3.03386 2.75374 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 attribpromote1 1 1 "input1" +} +inputs +{ +0 attribpromote1 0 1 +} +stat +{ + create 1584071885 + modify 1584220739 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/centroid.spareparmdef" +Content-Type: text/plain + + group { + name "folder1" + label "Code" + + parm { + name "group" + baseparm + label "Group" + export none + bindselector points "Modify Points" + "Select the points to affect and press Enter to complete." + 0 1 0xffffffff 0 grouptype 0 + } + parm { + name "grouptype" + baseparm + label "Group Type" + export none + } + parm { + name "class" + baseparm + label "Run Over" + export none + } + parm { + name "vex_numcount" + baseparm + label "Number Count" + export none + } + parm { + name "vex_threadjobsize" + baseparm + label "Thread Job Size" + export none + } + parm { + name "snippet" + baseparm + label "VEXpression" + export all + } + parm { + name "exportlist" + baseparm + label "Attributes to Create" + export none + } + parm { + name "vex_strict" + baseparm + label "Enforce Prototypes" + export none + } + } + + group { + name "folder1_1" + label "Bindings" + + parm { + name "autobind" + baseparm + label "Autobind by Name" + export none + } + multiparm { + name "bindings" + label "Number of Bindings" + baseparm + default 0 + parmtag { "autoscope" "0000000000000000" } + parmtag { "multistartoffset" "1" } + + parm { + name "bindname#" + baseparm + label "Attribute Name" + export none + } + parm { + name "bindparm#" + baseparm + label "VEX Parameter" + export none + } + } + + parm { + name "groupautobind" + baseparm + label "Autobind Groups by Name" + export none + } + multiparm { + name "groupbindings" + label "Group Bindings" + baseparm + default 0 + parmtag { "autoscope" "0000000000000000" } + parmtag { "multistartoffset" "1" } + + parm { + name "bindgroupname#" + baseparm + label "Group Name" + export none + } + parm { + name "bindgroupparm#" + baseparm + label "VEX Parameter" + export none + } + } + + parm { + name "vex_cwdpath" + baseparm + label "Evaluation Node Path" + export none + } + parm { + name "vex_outputmask" + baseparm + label "Export Parameters" + export none + } + parm { + name "vex_updatenmls" + baseparm + label "Update Normals If Displaced" + export none + } + parm { + name "vex_matchattrib" + baseparm + label "Attribute to Match" + export none + } + parm { + name "vex_inplace" + baseparm + label "Compute Results In Place" + export none + } + parm { + name "vex_selectiongroup" + baseparm + label "Output Selection Group" + export none + } + parm { + name "vex_precision" + baseparm + label "VEX Precision" + export none + } + } + + parm { + name "move" + label "Move" + type integer + default { "0" } + range { 0 10 } + } + parm { + name "do_falloff" + label "Do Falloff" + type integer + default { "0" } + range { 0 10 } + } + parm { + name "do_vexpression" + label "Do Vexpression" + type toggle + default { "0" } + range { 0 1 } + } + parm { + name "vexpression" + label "Vexpression" + type string + default { "" } + parmtag { "editor" "1" } + parmtag { "editorlang" "vex" } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/centroid.chn" +Content-Type: text/plain + +{ + channel do_falloff { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../do_falloff\") } + } + channel bindname1 { + lefttype = extend + righttype = extend + defaultString = \"mops_falloff\" + flags = 0 + segment { length = 0 expr = chs(\"../falloff_attribute\") } + } + channel group { + lefttype = extend + righttype = extend + defaultString = \"\" + flags = 0 + segment { length = 0 expr = chs(\"../group\") } + } + channel grouptype { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../grouptype\") } + } + channel do_vexpression { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../do_vexpression\") } + } + channel vexpression { + lefttype = extend + righttype = extend + defaultString = \"\" + flags = 0 + segment { length = 0 expr = chs(\"../vexpression\") } + } + channel move { + lefttype = extend + righttype = extend + default = 1 + flags = 0 + segment { length = 0 value = 1 1 expr = ch(\"../pivots_only\") } + } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/centroid.parm" +Content-Type: text/plain + +{ +version 0.8 +folder0 [ 0 locks=0 ] ( 0 0 ) +group [ 0 locks=0 ] ( [ group "" ] ) +grouptype [ 0 locks=0 ] ( [ grouptype 0 ] ) +class [ 0 locks=0 ] ( "point" ) +vex_numcount [ 0 locks=0 ] ( 10 ) +vex_threadjobsize [ 0 locks=0 ] ( 1024 ) +snippet [ 0 locks=0 ] ( "int move = chi(\"move\"); +float weight = @attr; +if(!chi(\"do_falloff\")) { + weight = 1; +} +vector old_pivot = v@__pivot; +vector pivot = set(0,0,0); + +// vexpression +`ifs(ch(\"do_vexpression\"), chs(\"vexpression\"), \"\")` + +pivot = lerp(old_pivot, pivot, weight); +vector offset = pivot - old_pivot; +matrix xform = 4@__xform; +// setprimintrinsic(0, \"pivot\", @ptnum, new_pivot, \"set\"); +v@__pivot = pivot; +if(move) { + @P = offset * xform; +}" ) +exportlist [ 0 locks=0 ] ( * ) +vex_strict [ 0 locks=0 ] ( "off" ) +autobind [ 0 locks=0 ] ( "on" ) +bindings [ 0 locks=0 ] ( 1 ) +groupautobind [ 0 locks=0 ] ( "on" ) +groupbindings [ 0 locks=0 ] ( 0 ) +vex_cwdpath [ 0 locks=0 ] ( . ) +vex_outputmask [ 0 locks=0 ] ( * ) +vex_updatenmls [ 0 locks=0 ] ( "off" ) +vex_matchattrib [ 0 locks=0 ] ( id ) +vex_inplace [ 0 locks=0 ] ( "off" ) +vex_selectiongroup [ 0 locks=0 ] ( "" ) +vex_precision [ 0 locks=0 ] ( auto ) +folder1 [ 0 locks=0 ] ( 0 0 ) +move [ 0 locks=0 ] ( [ move 1 ] ) +do_falloff [ 0 locks=0 ] ( [ do_falloff 0 ] ) +do_vexpression [ 0 locks=0 ] ( [ do_vexpression 0 ] ) +vexpression [ 0 locks=0 ] ( [ vexpression "// pivot = {0,0,0};" ] ) +bindname1 [ 0 locks=0 ] ( [ bindname1 mops_falloff ] ) +bindparm1 [ 0 locks=0 ] ( attr ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/centroid.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/local_pivot.init" +Content-Type: text/plain + +type = attribwrangle +matchesdef = 1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/local_pivot.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position 9.5617 3.00728 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 attribpromote1 1 1 "input1" +} +inputs +{ +0 attribpromote1 0 1 +} +stat +{ + create 1584071885 + modify 1584220739 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/local_pivot.spareparmdef" +Content-Type: text/plain + + group { + name "folder1" + label "Code" + + parm { + name "group" + baseparm + label "Group" + export none + bindselector points "Modify Points" + "Select the points to affect and press Enter to complete." + 0 1 0xffffffff 0 grouptype 0 + } + parm { + name "grouptype" + baseparm + label "Group Type" + export none + } + parm { + name "class" + baseparm + label "Run Over" + export none + } + parm { + name "vex_numcount" + baseparm + label "Number Count" + export none + } + parm { + name "vex_threadjobsize" + baseparm + label "Thread Job Size" + export none + } + parm { + name "snippet" + baseparm + label "VEXpression" + export all + } + parm { + name "exportlist" + baseparm + label "Attributes to Create" + export none + } + parm { + name "vex_strict" + baseparm + label "Enforce Prototypes" + export none + } + } + + group { + name "folder1_1" + label "Bindings" + + parm { + name "autobind" + baseparm + label "Autobind by Name" + export none + } + multiparm { + name "bindings" + label "Number of Bindings" + baseparm + default 0 + parmtag { "autoscope" "0000000000000000" } + parmtag { "multistartoffset" "1" } + + parm { + name "bindname#" + baseparm + label "Attribute Name" + export none + } + parm { + name "bindparm#" + baseparm + label "VEX Parameter" + export none + } + } + + parm { + name "groupautobind" + baseparm + label "Autobind Groups by Name" + export none + } + multiparm { + name "groupbindings" + label "Group Bindings" + baseparm + default 0 + parmtag { "autoscope" "0000000000000000" } + parmtag { "multistartoffset" "1" } + + parm { + name "bindgroupname#" + baseparm + label "Group Name" + export none + } + parm { + name "bindgroupparm#" + baseparm + label "VEX Parameter" + export none + } + } + + parm { + name "vex_cwdpath" + baseparm + label "Evaluation Node Path" + export none + } + parm { + name "vex_outputmask" + baseparm + label "Export Parameters" + export none + } + parm { + name "vex_updatenmls" + baseparm + label "Update Normals If Displaced" + export none + } + parm { + name "vex_matchattrib" + baseparm + label "Attribute to Match" + export none + } + parm { + name "vex_inplace" + baseparm + label "Compute Results In Place" + export none + } + parm { + name "vex_selectiongroup" + baseparm + label "Output Selection Group" + export none + } + parm { + name "vex_precision" + baseparm + label "VEX Precision" + export none + } + } + + parm { + name "pivot" + label "Pivot" + type vector + size 3 + default { "0" "0" "0" } + range { 0 1 } + } + parm { + name "move" + label "Move" + type integer + default { "0" } + range { 0 10 } + } + parm { + name "do_falloff" + label "Do Falloff" + type integer + default { "0" } + range { 0 10 } + } + parm { + name "do_vexpression" + label "Do Vexpression" + type toggle + default { "0" } + range { 0 1 } + } + parm { + name "vexpression" + label "Vexpression" + type string + default { "" } + parmtag { "editor" "1" } + parmtag { "editorlang" "vex" } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/local_pivot.chn" +Content-Type: text/plain + +{ + channel do_falloff { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../do_falloff\") } + } + channel bindname1 { + lefttype = extend + righttype = extend + defaultString = \"mops_falloff\" + flags = 0 + segment { length = 0 expr = chs(\"../falloff_attribute\") } + } + channel move { + lefttype = extend + righttype = extend + default = 1 + flags = 0 + segment { length = 0 value = 1 1 expr = ch(\"../pivots_only\") } + } + channel pivotx { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../pivotx\") } + } + channel pivoty { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../pivoty\") } + } + channel pivotz { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../pivotz\") } + } + channel group { + lefttype = extend + righttype = extend + defaultString = \"\" + flags = 0 + segment { length = 0 expr = chs(\"../group\") } + } + channel grouptype { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../grouptype\") } + } + channel do_vexpression { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../do_vexpression\") } + } + channel vexpression { + lefttype = extend + righttype = extend + defaultString = \"\" + flags = 0 + segment { length = 0 expr = chs(\"../vexpression\") } + } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/local_pivot.parm" +Content-Type: text/plain + +{ +version 0.8 +folder0 [ 0 locks=0 ] ( 0 0 ) +group [ 0 locks=0 ] ( [ group "" ] ) +grouptype [ 0 locks=0 ] ( [ grouptype 0 ] ) +class [ 0 locks=0 ] ( "point" ) +vex_numcount [ 0 locks=0 ] ( 10 ) +vex_threadjobsize [ 0 locks=0 ] ( 1024 ) +snippet [ 0 locks=0 ] ( "int move = chi(\"move\"); +float weight = @attr; +if(!chi(\"do_falloff\")) { + weight = 1; +} +vector old_pivot = v@__pivot; +vector pivot = chv(\"pivot\"); + +// vexpression +`ifs(ch(\"do_vexpression\"), chs(\"vexpression\"), \"\")` + +pivot = lerp(old_pivot, pivot, weight); +vector offset = pivot - old_pivot; +matrix xform = 4@__xform; +// setprimintrinsic(0, \"pivot\", @ptnum, new_pivot, \"set\"); +v@__pivot = pivot; +if(move) { + @P = offset * xform; +}" ) +exportlist [ 0 locks=0 ] ( * ) +vex_strict [ 0 locks=0 ] ( "off" ) +autobind [ 0 locks=0 ] ( "on" ) +bindings [ 0 locks=0 ] ( 1 ) +groupautobind [ 0 locks=0 ] ( "on" ) +groupbindings [ 0 locks=0 ] ( 0 ) +vex_cwdpath [ 0 locks=0 ] ( . ) +vex_outputmask [ 0 locks=0 ] ( * ) +vex_updatenmls [ 0 locks=0 ] ( "off" ) +vex_matchattrib [ 0 locks=0 ] ( id ) +vex_inplace [ 0 locks=0 ] ( "off" ) +vex_selectiongroup [ 0 locks=0 ] ( "" ) +vex_precision [ 0 locks=0 ] ( auto ) +folder1 [ 0 locks=0 ] ( 0 0 ) +pivot [ 0 locks=0 ] ( [ pivotx 0 ] [ pivoty 0 ] [ pivotz 0 ] ) +move [ 0 locks=0 ] ( [ move 1 ] ) +do_falloff [ 0 locks=0 ] ( [ do_falloff 0 ] ) +do_vexpression [ 0 locks=0 ] ( [ do_vexpression 0 ] ) +vexpression [ 0 locks=0 ] ( [ vexpression "// pivot = {0,0,0};" ] ) +bindname1 [ 0 locks=0 ] ( [ bindname1 mops_falloff ] ) +bindparm1 [ 0 locks=0 ] ( attr ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/local_pivot.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/pivot_shift.init" +Content-Type: text/plain + +type = attribwrangle +matchesdef = 1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/pivot_shift.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position 5.67995 2.75374 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 attribpromote1 1 1 "input1" +} +inputs +{ +0 attribpromote1 0 1 +} +stat +{ + create 1584071885 + modify 1584220739 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/pivot_shift.spareparmdef" +Content-Type: text/plain + + group { + name "folder1" + label "Code" + + parm { + name "group" + baseparm + label "Group" + export none + bindselector points "Modify Points" + "Select the points to affect and press Enter to complete." + 0 1 0xffffffff 0 grouptype 0 + } + parm { + name "grouptype" + baseparm + label "Group Type" + export none + } + parm { + name "class" + baseparm + label "Run Over" + export none + } + parm { + name "vex_numcount" + baseparm + label "Number Count" + export none + } + parm { + name "vex_threadjobsize" + baseparm + label "Thread Job Size" + export none + } + parm { + name "snippet" + baseparm + label "VEXpression" + export all + } + parm { + name "exportlist" + baseparm + label "Attributes to Create" + export none + } + parm { + name "vex_strict" + baseparm + label "Enforce Prototypes" + export none + } + } + + group { + name "folder1_1" + label "Bindings" + + parm { + name "autobind" + baseparm + label "Autobind by Name" + export none + } + multiparm { + name "bindings" + label "Number of Bindings" + baseparm + default 0 + parmtag { "autoscope" "0000000000000000" } + parmtag { "multistartoffset" "1" } + + parm { + name "bindname#" + baseparm + label "Attribute Name" + export none + } + parm { + name "bindparm#" + baseparm + label "VEX Parameter" + export none + } + } + + parm { + name "groupautobind" + baseparm + label "Autobind Groups by Name" + export none + } + multiparm { + name "groupbindings" + label "Group Bindings" + baseparm + default 0 + parmtag { "autoscope" "0000000000000000" } + parmtag { "multistartoffset" "1" } + + parm { + name "bindgroupname#" + baseparm + label "Group Name" + export none + } + parm { + name "bindgroupparm#" + baseparm + label "VEX Parameter" + export none + } + } + + parm { + name "vex_cwdpath" + baseparm + label "Evaluation Node Path" + export none + } + parm { + name "vex_outputmask" + baseparm + label "Export Parameters" + export none + } + parm { + name "vex_updatenmls" + baseparm + label "Update Normals If Displaced" + export none + } + parm { + name "vex_matchattrib" + baseparm + label "Attribute to Match" + export none + } + parm { + name "vex_inplace" + baseparm + label "Compute Results In Place" + export none + } + parm { + name "vex_selectiongroup" + baseparm + label "Output Selection Group" + export none + } + parm { + name "vex_precision" + baseparm + label "VEX Precision" + export none + } + } + + parm { + name "pivot" + label "Pivot" + type vector + size 3 + default { "0" "0" "0" } + range { 0 1 } + } + parm { + name "local" + label "Local" + type integer + default { "0" } + range { 0 10 } + } + parm { + name "move" + label "Move" + type integer + default { "0" } + range { 0 10 } + } + parm { + name "do_falloff" + label "Do Falloff" + type integer + default { "0" } + range { 0 10 } + } + parm { + name "do_vexpression" + label "Do Vexpression" + type toggle + default { "0" } + range { 0 1 } + } + parm { + name "vexpression" + label "Vexpression" + type string + default { "" } + parmtag { "editor" "1" } + parmtag { "editorlang" "vex" } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/pivot_shift.chn" +Content-Type: text/plain + +{ + channel bindname1 { + lefttype = extend + righttype = extend + defaultString = \"mops_falloff\" + flags = 0 + segment { length = 0 expr = chs(\"../falloff_attribute\") } + } + channel do_falloff { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../do_falloff\") } + } + channel move { + lefttype = extend + righttype = extend + default = 1 + flags = 0 + segment { length = 0 value = 1 1 expr = ch(\"../pivots_only\") } + } + channel pivotx { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../shift_amountx\") } + } + channel pivoty { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../shift_amounty\") } + } + channel pivotz { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../shift_amountz\") } + } + channel local { + lefttype = extend + righttype = extend + default = 1 + flags = 0 + segment { length = 0 value = 1 1 expr = ch(\"../local\") } + } + channel group { + lefttype = extend + righttype = extend + defaultString = \"\" + flags = 0 + segment { length = 0 expr = chs(\"../group\") } + } + channel grouptype { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../grouptype\") } + } + channel do_vexpression { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../do_vexpression\") } + } + channel vexpression { + lefttype = extend + righttype = extend + defaultString = \"\" + flags = 0 + segment { length = 0 expr = chs(\"../vexpression\") } + } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/pivot_shift.parm" +Content-Type: text/plain + +{ +version 0.8 +folder0 [ 0 locks=0 ] ( 0 0 ) +group [ 0 locks=0 ] ( [ group "" ] ) +grouptype [ 0 locks=0 ] ( [ grouptype 0 ] ) +class [ 0 locks=0 ] ( "point" ) +vex_numcount [ 0 locks=0 ] ( 10 ) +vex_threadjobsize [ 0 locks=0 ] ( 1024 ) +snippet [ 0 locks=0 ] ( "int local = chi(\"local\"); +int move = chi(\"move\"); +float weight = @attr; +if(!chi(\"do_falloff\")) { + weight = 1; +} +vector pivot = chv(\"pivot\"); +pivot = lerp(set(0,0,0), pivot, weight); + +// vexpression +`ifs(ch(\"do_vexpression\"), chs(\"vexpression\"), \"\")` + +matrix3 xform = matrix3(4@__xform); +if(!local) { + pivot = invert(xform) * pivot; +} +// setprimintrinsic(0, \"pivot\", @ptnum, offset, \"add\"); +v@__pivot += pivot; +if(move) { + @P += (pivot * xform); +}" ) +exportlist [ 0 locks=0 ] ( * ) +vex_strict [ 0 locks=0 ] ( "off" ) +autobind [ 0 locks=0 ] ( "on" ) +bindings [ 0 locks=0 ] ( 1 ) +groupautobind [ 0 locks=0 ] ( "on" ) +groupbindings [ 0 locks=0 ] ( 0 ) +vex_cwdpath [ 0 locks=0 ] ( . ) +vex_outputmask [ 0 locks=0 ] ( * ) +vex_updatenmls [ 0 locks=0 ] ( "off" ) +vex_matchattrib [ 0 locks=0 ] ( id ) +vex_inplace [ 0 locks=0 ] ( "off" ) +vex_selectiongroup [ 0 locks=0 ] ( "" ) +vex_precision [ 0 locks=0 ] ( auto ) +folder1 [ 0 locks=0 ] ( 0 0 ) +pivot [ 0 locks=0 ] ( [ pivotx 0 ] [ pivoty 0 ] [ pivotz 0 ] ) +local [ 0 locks=0 ] ( [ local 1 ] ) +move [ 0 locks=0 ] ( [ move 1 ] ) +do_falloff [ 0 locks=0 ] ( [ do_falloff 0 ] ) +do_vexpression [ 0 locks=0 ] ( [ do_vexpression 0 ] ) +vexpression [ 0 locks=0 ] ( [ vexpression "// pivot = {0,0,0};" ] ) +bindname1 [ 0 locks=0 ] ( [ bindname1 mops_falloff ] ) +bindparm1 [ 0 locks=0 ] ( attr ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/pivot_shift.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/world_pivot.init" +Content-Type: text/plain + +type = attribwrangle +matchesdef = 1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/world_pivot.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position 5.83641 -0.213922 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 attribpromote1 1 1 "input1" +} +inputs +{ +0 attribpromote1 0 1 +} +stat +{ + create 1584071885 + modify 1584220739 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/world_pivot.spareparmdef" +Content-Type: text/plain + + group { + name "folder1" + label "Code" + + parm { + name "group" + baseparm + label "Group" + export none + bindselector points "Modify Points" + "Select the points to affect and press Enter to complete." + 0 1 0xffffffff 0 grouptype 0 + } + parm { + name "grouptype" + baseparm + label "Group Type" + export none + } + parm { + name "class" + baseparm + label "Run Over" + export none + } + parm { + name "vex_numcount" + baseparm + label "Number Count" + export none + } + parm { + name "vex_threadjobsize" + baseparm + label "Thread Job Size" + export none + } + parm { + name "snippet" + baseparm + label "VEXpression" + export all + } + parm { + name "exportlist" + baseparm + label "Attributes to Create" + export none + } + parm { + name "vex_strict" + baseparm + label "Enforce Prototypes" + export none + } + } + + group { + name "folder1_1" + label "Bindings" + + parm { + name "autobind" + baseparm + label "Autobind by Name" + export none + } + multiparm { + name "bindings" + label "Number of Bindings" + baseparm + default 0 + parmtag { "autoscope" "0000000000000000" } + parmtag { "multistartoffset" "1" } + + parm { + name "bindname#" + baseparm + label "Attribute Name" + export none + } + parm { + name "bindparm#" + baseparm + label "VEX Parameter" + export none + } + } + + parm { + name "groupautobind" + baseparm + label "Autobind Groups by Name" + export none + } + multiparm { + name "groupbindings" + label "Group Bindings" + baseparm + default 0 + parmtag { "autoscope" "0000000000000000" } + parmtag { "multistartoffset" "1" } + + parm { + name "bindgroupname#" + baseparm + label "Group Name" + export none + } + parm { + name "bindgroupparm#" + baseparm + label "VEX Parameter" + export none + } + } + + parm { + name "vex_cwdpath" + baseparm + label "Evaluation Node Path" + export none + } + parm { + name "vex_outputmask" + baseparm + label "Export Parameters" + export none + } + parm { + name "vex_updatenmls" + baseparm + label "Update Normals If Displaced" + export none + } + parm { + name "vex_matchattrib" + baseparm + label "Attribute to Match" + export none + } + parm { + name "vex_inplace" + baseparm + label "Compute Results In Place" + export none + } + parm { + name "vex_selectiongroup" + baseparm + label "Output Selection Group" + export none + } + parm { + name "vex_precision" + baseparm + label "VEX Precision" + export none + } + } + + parm { + name "pivot" + label "Pivot" + type vector + size 3 + default { "0" "0" "0" } + range { 0 1 } + } + parm { + name "do_falloff" + label "Do Falloff" + type integer + default { "0" } + range { 0 10 } + } + parm { + name "do_vexpression" + label "Do Vexpression" + type toggle + default { "0" } + range { 0 1 } + } + parm { + name "vexpression" + label "Vexpression" + type string + default { "" } + parmtag { "editor" "1" } + parmtag { "editorlang" "vex" } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/world_pivot.chn" +Content-Type: text/plain + +{ + channel bindname1 { + lefttype = extend + righttype = extend + defaultString = \"mops_falloff\" + flags = 0 + segment { length = 0 expr = chs(\"../falloff_attribute\") } + } + channel pivotx { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../pivotx\") } + } + channel pivoty { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../pivoty\") } + } + channel pivotz { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../pivotz\") } + } + channel group { + lefttype = extend + righttype = extend + defaultString = \"\" + flags = 0 + segment { length = 0 expr = chs(\"../group\") } + } + channel grouptype { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../grouptype\") } + } + channel do_falloff { + lefttype = extend + righttype = extend + default = 1 + flags = 0 + segment { length = 0 value = 1 1 expr = ch(\"../do_falloff\") } + } + channel do_vexpression { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../do_vexpression\") } + } + channel vexpression { + lefttype = extend + righttype = extend + defaultString = \"\" + flags = 0 + segment { length = 0 expr = chs(\"../vexpression\") } + } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/world_pivot.parm" +Content-Type: text/plain + +{ +version 0.8 +folder0 [ 0 locks=0 ] ( 0 0 ) +group [ 0 locks=0 ] ( [ group "" ] ) +grouptype [ 0 locks=0 ] ( [ grouptype 0 ] ) +class [ 0 locks=0 ] ( "point" ) +vex_numcount [ 0 locks=0 ] ( 10 ) +vex_threadjobsize [ 0 locks=0 ] ( 1024 ) +snippet [ 0 locks=0 ] ( "vector old_pivot = v@__pivot; +float weight = @attr; +if(!chi(\"do_falloff\")) { + weight = 1; +} +vector pivot = chv(\"pivot\"); +// we don't really want to lerp between \"pivot\" and \"new pivot\" in this case, +// because our pivot is in local space. + +// vexpression +`ifs(ch(\"do_vexpression\"), chs(\"vexpression\"), \"\")` + +matrix3 xform = matrix3(4@__xform); +vector world_pivot = @P - (xform * old_pivot); +pivot = lerp(world_pivot, pivot, weight); +vector offset = pivot - world_pivot; + +// setprimintrinsic(0, \"pivot\", @ptnum, offset * invert(xform), \"set\"); +v@__pivot = offset * invert(xform); +@P = pivot;" ) +exportlist [ 0 locks=0 ] ( * ) +vex_strict [ 0 locks=0 ] ( "off" ) +autobind [ 0 locks=0 ] ( "on" ) +bindings [ 0 locks=0 ] ( 1 ) +groupautobind [ 0 locks=0 ] ( "on" ) +groupbindings [ 0 locks=0 ] ( 0 ) +vex_cwdpath [ 0 locks=0 ] ( . ) +vex_outputmask [ 0 locks=0 ] ( * ) +vex_updatenmls [ 0 locks=0 ] ( "off" ) +vex_matchattrib [ 0 locks=0 ] ( id ) +vex_inplace [ 0 locks=0 ] ( "off" ) +vex_selectiongroup [ 0 locks=0 ] ( "" ) +vex_precision [ 0 locks=0 ] ( auto ) +folder1 [ 0 locks=0 ] ( 0 0 ) +pivot [ 0 locks=0 ] ( [ pivotx 0 ] [ pivoty 0 ] [ pivotz 0 ] ) +do_falloff [ 0 locks=0 ] ( [ do_falloff 0 ] ) +do_vexpression [ 0 locks=0 ] ( [ do_vexpression 0 ] ) +vexpression [ 0 locks=0 ] ( [ vexpression "// pivot = {0,0,0};" ] ) +bindname1 [ 0 locks=0 ] ( [ bindname1 mops_falloff ] ) +bindparm1 [ 0 locks=0 ] ( attr ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/world_pivot.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/align.init" +Content-Type: text/plain + +type = attribwrangle +matchesdef = 1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/align.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -1.73964 0.999362 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 centroid 1 1 "input1" +} +inputs +{ +0 centroid 0 1 +} +stat +{ + create 1584071885 + modify 1584220739 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/align.spareparmdef" +Content-Type: text/plain + + group { + name "folder1" + label "Code" + + parm { + name "group" + baseparm + label "Group" + export none + bindselector points "Modify Points" + "Select the points to affect and press Enter to complete." + 0 1 0xffffffff 0 grouptype 0 + } + parm { + name "grouptype" + baseparm + label "Group Type" + export none + } + parm { + name "class" + baseparm + label "Run Over" + export none + } + parm { + name "vex_numcount" + baseparm + label "Number Count" + export none + } + parm { + name "vex_threadjobsize" + baseparm + label "Thread Job Size" + export none + } + parm { + name "snippet" + baseparm + label "VEXpression" + export all + } + parm { + name "exportlist" + baseparm + label "Attributes to Create" + export none + } + parm { + name "vex_strict" + baseparm + label "Enforce Prototypes" + export none + } + } + + group { + name "folder1_1" + label "Bindings" + + parm { + name "autobind" + baseparm + label "Autobind by Name" + export none + } + multiparm { + name "bindings" + label "Number of Bindings" + baseparm + default 0 + parmtag { "autoscope" "0000000000000000" } + parmtag { "multistartoffset" "1" } + + parm { + name "bindname#" + baseparm + label "Attribute Name" + export none + } + parm { + name "bindparm#" + baseparm + label "VEX Parameter" + export none + } + } + + parm { + name "groupautobind" + baseparm + label "Autobind Groups by Name" + export none + } + multiparm { + name "groupbindings" + label "Group Bindings" + baseparm + default 0 + parmtag { "autoscope" "0000000000000000" } + parmtag { "multistartoffset" "1" } + + parm { + name "bindgroupname#" + baseparm + label "Group Name" + export none + } + parm { + name "bindgroupparm#" + baseparm + label "VEX Parameter" + export none + } + } + + parm { + name "vex_cwdpath" + baseparm + label "Evaluation Node Path" + export none + } + parm { + name "vex_outputmask" + baseparm + label "Export Parameters" + export none + } + parm { + name "vex_updatenmls" + baseparm + label "Update Normals If Displaced" + export none + } + parm { + name "vex_matchattrib" + baseparm + label "Attribute to Match" + export none + } + parm { + name "vex_inplace" + baseparm + label "Compute Results In Place" + export none + } + parm { + name "vex_selectiongroup" + baseparm + label "Output Selection Group" + export none + } + parm { + name "vex_precision" + baseparm + label "VEX Precision" + export none + } + } + + parm { + name "mode" + label "Mode" + type integer + default { "0" } + range { 0 10 } + } + parm { + name "move" + label "Move" + type integer + default { "0" } + range { 0 10 } + } + parm { + name "do_falloff" + label "Do Falloff" + type integer + default { "0" } + range { 0 10 } + } + parm { + name "do_vexpression" + label "Do Vexpression" + type toggle + default { "0" } + range { 0 1 } + } + parm { + name "vexpression" + label "Vexpression" + type string + default { "" } + parmtag { "editor" "1" } + parmtag { "editorlang" "vex" } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/align.chn" +Content-Type: text/plain + +{ + channel do_falloff { + lefttype = extend + righttype = extend + default = 1 + flags = 0 + segment { length = 0 value = 1 1 expr = ch(\"../do_falloff\") } + } + channel move { + lefttype = extend + righttype = extend + default = 1 + flags = 0 + segment { length = 0 value = 1 1 expr = ch(\"../pivots_only\") } + } + channel bindname1 { + lefttype = extend + righttype = extend + defaultString = \"mops_falloff\" + flags = 0 + segment { length = 0 expr = chs(\"../falloff_attribute\") } + } + channel mode { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../align\") } + } + channel group { + lefttype = extend + righttype = extend + defaultString = \"\" + flags = 0 + segment { length = 0 expr = chs(\"../group\") } + } + channel grouptype { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../grouptype\") } + } + channel do_vexpression { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../do_vexpression\") } + } + channel vexpression { + lefttype = extend + righttype = extend + defaultString = \"\" + flags = 0 + segment { length = 0 expr = chs(\"../vexpression\") } + } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/align.parm" +Content-Type: text/plain + +{ +version 0.8 +folder0 [ 0 locks=0 ] ( 0 0 ) +group [ 0 locks=0 ] ( [ group "" ] ) +grouptype [ 0 locks=0 ] ( [ grouptype 0 ] ) +class [ 0 locks=0 ] ( "point" ) +vex_numcount [ 0 locks=0 ] ( 10 ) +vex_threadjobsize [ 0 locks=0 ] ( 1024 ) +snippet [ 0 locks=0 ] ( "vector old_pivot = v@__pivot; +float weight = @attr; +if(!chi(\"do_falloff\")) { + weight = 1; +} +float bounds[] = primintrinsic(0, \"packedbounds\", @ptnum); +int mode = chi(\"mode\"); // -X, +X, -Y, +Y, -Z, +Z +int index = floor(mode / 2); +matrix3 xform = matrix3(4@__xform); +int move = chi(\"move\"); +vector pivot = old_pivot; +pivot[index] = bounds[mode]; +// vexpression +`ifs(ch(\"do_vexpression\"), chs(\"vexpression\"), \"\")` + +pivot = lerp(old_pivot, pivot, weight); +v@__pivot = pivot; +vector offset = pivot - old_pivot; +// setprimintrinsic(0, \"pivot\", @ptnum, new_pivot, \"set\"); +if(move) { + @P += (offset * xform); +}" ) +exportlist [ 0 locks=0 ] ( * ) +vex_strict [ 0 locks=0 ] ( "off" ) +autobind [ 0 locks=0 ] ( "on" ) +bindings [ 0 locks=0 ] ( 1 ) +groupautobind [ 0 locks=0 ] ( "on" ) +groupbindings [ 0 locks=0 ] ( 0 ) +vex_cwdpath [ 0 locks=0 ] ( . ) +vex_outputmask [ 0 locks=0 ] ( * ) +vex_updatenmls [ 0 locks=0 ] ( "off" ) +vex_matchattrib [ 0 locks=0 ] ( id ) +vex_inplace [ 0 locks=0 ] ( "off" ) +vex_selectiongroup [ 0 locks=0 ] ( "" ) +vex_precision [ 0 locks=0 ] ( auto ) +folder1 [ 0 locks=0 ] ( 0 0 ) +mode [ 0 locks=0 ] ( [ mode 2 ] ) +move [ 0 locks=0 ] ( [ move 1 ] ) +do_falloff [ 0 locks=0 ] ( [ do_falloff 0 ] ) +do_vexpression [ 0 locks=0 ] ( [ do_vexpression 0 ] ) +vexpression [ 0 locks=0 ] ( [ vexpression "// pivot = {0,0,0};" ] ) +bindname1 [ 0 locks=0 ] ( [ bindname1 mops_falloff ] ) +bindparm1 [ 0 locks=0 ] ( attr ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/align.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/primitivewrangle1.init" +Content-Type: text/plain + +type = attribwrangle +matchesdef = 1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/primitivewrangle1.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position 0.0927704 6.2988 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 MOPS_IN 1 1 "input1" +} +inputs +{ +0 MOPS_IN 0 1 +} +stat +{ + create 1584078517 + modify 1584220739 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/primitivewrangle1.parm" +Content-Type: text/plain + +{ +version 0.8 +folder0 [ 0 locks=0 ] ( 0 0 ) +group [ 0 locks=0 ] ( "" ) +grouptype [ 0 locks=0 ] ( "guess" ) +class [ 0 locks=0 ] ( "primitive" ) +vex_numcount [ 0 locks=0 ] ( 10 ) +vex_threadjobsize [ 0 locks=0 ] ( 1024 ) +snippet [ 0 locks=0 ] ( "v@__pivot = primintrinsic(0, \"pivot\", @elemnum); +4@__xform = getpackedtransform(0, @elemnum);" ) +exportlist [ 0 locks=0 ] ( * ) +vex_strict [ 0 locks=0 ] ( "off" ) +autobind [ 0 locks=0 ] ( "on" ) +bindings [ 0 locks=0 ] ( 0 ) +groupautobind [ 0 locks=0 ] ( "on" ) +groupbindings [ 0 locks=0 ] ( 0 ) +vex_cwdpath [ 0 locks=0 ] ( . ) +vex_outputmask [ 0 locks=0 ] ( * ) +vex_updatenmls [ 0 locks=0 ] ( "off" ) +vex_matchattrib [ 0 locks=0 ] ( id ) +vex_inplace [ 0 locks=0 ] ( "off" ) +vex_selectiongroup [ 0 locks=0 ] ( "" ) +vex_precision [ 0 locks=0 ] ( auto ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/primitivewrangle1.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/primitivewrangle2.init" +Content-Type: text/plain + +type = attribwrangle +matchesdef = 1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/primitivewrangle2.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -2.18648 -4.8438 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 attribpromote2 1 1 "input1" +} +inputs +{ +0 attribpromote2 0 1 +} +stat +{ + create 1584078821 + modify 1584220739 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/primitivewrangle2.chn" +Content-Type: text/plain + +{ + channel group { + lefttype = extend + righttype = extend + defaultString = \"\" + flags = 0 + segment { length = 0 expr = chs(\"../group\") } + } + channel grouptype { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../grouptype\") } + } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/primitivewrangle2.parm" +Content-Type: text/plain + +{ +version 0.8 +folder0 [ 0 locks=0 ] ( 0 0 ) +group [ 0 locks=0 ] ( [ group "" ] ) +grouptype [ 0 locks=0 ] ( [ grouptype 0 ] ) +class [ 0 locks=0 ] ( "primitive" ) +vex_numcount [ 0 locks=0 ] ( 10 ) +vex_threadjobsize [ 0 locks=0 ] ( 1024 ) +snippet [ 0 locks=0 ] ( "setprimintrinsic(0, \"pivot\", @elemnum, v@__pivot, \"set\");" ) +exportlist [ 0 locks=0 ] ( * ) +vex_strict [ 0 locks=0 ] ( "off" ) +autobind [ 0 locks=0 ] ( "on" ) +bindings [ 0 locks=0 ] ( 0 ) +groupautobind [ 0 locks=0 ] ( "on" ) +groupbindings [ 0 locks=0 ] ( 0 ) +vex_cwdpath [ 0 locks=0 ] ( . ) +vex_outputmask [ 0 locks=0 ] ( * ) +vex_updatenmls [ 0 locks=0 ] ( "off" ) +vex_matchattrib [ 0 locks=0 ] ( id ) +vex_inplace [ 0 locks=0 ] ( "off" ) +vex_selectiongroup [ 0 locks=0 ] ( "" ) +vex_precision [ 0 locks=0 ] ( auto ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/primitivewrangle2.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/lerp.init" +Content-Type: text/plain + +type = attribwrangle +matchesdef = 1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/lerp.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -2.18693 -1.96576 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass on display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 switch1 5 1 "input1" +} +inputs +{ +0 switch1 0 1 +} +stat +{ + create 1584079278 + modify 1584220739 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/lerp.spareparmdef" +Content-Type: text/plain + + group { + name "folder1" + label "Code" + + parm { + name "group" + baseparm + label "Group" + export none + bindselector points "Modify Points" + "Select the points to affect and press Enter to complete." + 0 1 0xffffffff 0 grouptype 0 + } + parm { + name "grouptype" + baseparm + label "Group Type" + export none + } + parm { + name "class" + baseparm + label "Run Over" + export none + } + parm { + name "vex_numcount" + baseparm + label "Number Count" + export none + } + parm { + name "vex_threadjobsize" + baseparm + label "Thread Job Size" + export none + } + parm { + name "snippet" + baseparm + label "VEXpression" + export all + } + parm { + name "exportlist" + baseparm + label "Attributes to Create" + export none + } + parm { + name "vex_strict" + baseparm + label "Enforce Prototypes" + export none + } + } + + group { + name "folder1_1" + label "Bindings" + + parm { + name "autobind" + baseparm + label "Autobind by Name" + export none + } + multiparm { + name "bindings" + label "Number of Bindings" + baseparm + default 0 + parmtag { "autoscope" "0000000000000000" } + parmtag { "multistartoffset" "1" } + + parm { + name "bindname#" + baseparm + label "Attribute Name" + export none + } + parm { + name "bindparm#" + baseparm + label "VEX Parameter" + export none + } + } + + parm { + name "groupautobind" + baseparm + label "Autobind Groups by Name" + export none + } + multiparm { + name "groupbindings" + label "Group Bindings" + baseparm + default 0 + parmtag { "autoscope" "0000000000000000" } + parmtag { "multistartoffset" "1" } + + parm { + name "bindgroupname#" + baseparm + label "Group Name" + export none + } + parm { + name "bindgroupparm#" + baseparm + label "VEX Parameter" + export none + } + } + + parm { + name "vex_cwdpath" + baseparm + label "Evaluation Node Path" + export none + } + parm { + name "vex_outputmask" + baseparm + label "Export Parameters" + export none + } + parm { + name "vex_updatenmls" + baseparm + label "Update Normals If Displaced" + export none + } + parm { + name "vex_matchattrib" + baseparm + label "Attribute to Match" + export none + } + parm { + name "vex_inplace" + baseparm + label "Compute Results In Place" + export none + } + parm { + name "vex_selectiongroup" + baseparm + label "Output Selection Group" + export none + } + parm { + name "vex_precision" + baseparm + label "VEX Precision" + export none + } + } + + parm { + name "do_falloff" + label "Do Falloff" + type integer + default { "0" } + range { 0 10 } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/lerp.parm" +Content-Type: text/plain + +{ +version 0.8 +folder0 [ 0 locks=0 ] ( 0 0 ) +group [ 0 locks=0 ] ( "" ) +grouptype [ 0 locks=0 ] ( "guess" ) +class [ 0 locks=0 ] ( "point" ) +vex_numcount [ 0 locks=0 ] ( 10 ) +vex_threadjobsize [ 0 locks=0 ] ( 1024 ) +snippet [ 0 locks=0 ] ( "// weight __P and __pivot +float weight = @attr; +if(!chi(\"do_falloff\")) { + weight = 1; +} +@P = lerp(@P, v@__P, weight); +v@__pivot = lerp(v@__orig_pivot, v@__pivot, weight);" ) +exportlist [ 0 locks=0 ] ( * ) +vex_strict [ 0 locks=0 ] ( "off" ) +autobind [ 0 locks=0 ] ( "on" ) +bindings [ 0 locks=0 ] ( 1 ) +groupautobind [ 0 locks=0 ] ( "on" ) +groupbindings [ 0 locks=0 ] ( 0 ) +vex_cwdpath [ 0 locks=0 ] ( . ) +vex_outputmask [ 0 locks=0 ] ( * ) +vex_updatenmls [ 0 locks=0 ] ( "off" ) +vex_matchattrib [ 0 locks=0 ] ( id ) +vex_inplace [ 0 locks=0 ] ( "off" ) +vex_selectiongroup [ 0 locks=0 ] ( "" ) +vex_precision [ 0 locks=0 ] ( auto ) +folder1 [ 0 locks=0 ] ( 0 0 ) +do_falloff [ 0 locks=0 ] ( 1 ) +bindname1 [ 0 locks=0 ] ( mops_falloff ) +bindparm1 [ 0 locks=0 ] ( attr ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/lerp.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/MOPS_IN.init" +Content-Type: text/plain + +type = null +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/MOPS_IN.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -4.62662 7.87021 +connectornextid 2 +flags = lock off model off template on footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 (0) "" 1 "input1" +} +inputs +{ +0 (0) 0 1 +} +stat +{ + create 1555386448 + modify 1584083200 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.6 0.7 0.77 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/MOPS_IN.parm" +Content-Type: text/plain + +{ +version 0.8 +copyinput [ 0 locks=0 ] ( "on" ) +cacheinput [ 0 locks=0 ] ( "off" ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/MOPS_IN.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"18.0.391" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/output0.init" +Content-Type: text/plain + +type = output +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/output0.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -2.18348 -6.8817 +connectornextid 1 +flags = lock off model off template off footprint off xray off bypass off display on render on highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +} +inputsNamed3 +{ +0 attribdelete1 1 1 "input1" +} +inputs +{ +0 attribdelete1 0 1 +} +stat +{ + create 1555387829 + modify 1584083063 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/output0.parm" +Content-Type: text/plain + +{ +version 0.8 +outputidx [ 0 locks=0 ] ( 0 ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/output0.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"18.0.391" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/switch1.init" +Content-Type: text/plain + +type = switch +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/switch1.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -2.18693 -0.866262 +connectornextid 6 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +5 "output1" +} +inputsNamed3 +{ +1 centroid 1 1 "input1" +0 align 1 1 "input2" +2 pivot_shift 1 1 "input3" +3 local_pivot 1 1 "input4" +4 world_pivot 1 1 "input5" +} +inputs +{ +0 centroid 0 1 +1 align 0 1 +2 pivot_shift 0 1 +3 local_pivot 0 1 +4 world_pivot 0 1 +} +stat +{ + create 1584077764 + modify 1584220739 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 1 0.7 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/switch1.chn" +Content-Type: text/plain + +{ + channel input { + lefttype = extend + righttype = extend + default = 1 + flags = 0 + segment { length = 0 value = 1 1 expr = ch(\"../mode\") } + } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/switch1.parm" +Content-Type: text/plain + +{ +version 0.8 +input [ 0 locks=0 ] ( [ input 1 ] ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/switch1.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"18.0.391" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote1.init" +Content-Type: text/plain + +type = attribpromote +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote1.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -0.0668721 4.85958 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 primitivewrangle1 1 1 "input1" +} +inputs +{ +0 primitivewrangle1 0 1 +} +stat +{ + create 1584078559 + modify 1584083031 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote1.parm" +Content-Type: text/plain + +{ +version 0.8 +inname [ 0 locks=0 ] ( "__pivot __xform" ) +inclass [ 0 locks=0 ] ( "primitive" ) +outclass [ 0 locks=0 ] ( "point" ) +usepieceattrib [ 0 locks=0 ] ( "off" ) +pieceattrib [ 0 locks=0 ] ( name ) +method [ 0 locks=0 ] ( "first" ) +useoutname [ 0 locks=0 ] ( "off" ) +outname [ 0 locks=0 ] ( "" ) +deletein [ 0 locks=0 ] ( "on" ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote1.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"18.0.391" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote2.init" +Content-Type: text/plain + +type = attribpromote +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote2.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -2.19038 -3.22961 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 lerp 1 1 "input1" +} +inputs +{ +0 lerp 0 1 +} +stat +{ + create 1584078793 + modify 1584079278 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote2.parm" +Content-Type: text/plain + +{ +version 0.8 +inname [ 0 locks=0 ] ( "__pivot __xform" ) +inclass [ 0 locks=0 ] ( "point" ) +outclass [ 0 locks=0 ] ( "primitive" ) +usepieceattrib [ 0 locks=0 ] ( "off" ) +pieceattrib [ 0 locks=0 ] ( name ) +method [ 0 locks=0 ] ( "first" ) +useoutname [ 0 locks=0 ] ( "off" ) +outname [ 0 locks=0 ] ( "" ) +deletein [ 0 locks=0 ] ( "off" ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote2.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"18.0.391" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribdelete1.init" +Content-Type: text/plain + +type = attribdelete +matchesdef = 1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribdelete1.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -2.18348 -5.8817 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 primitivewrangle2 1 1 "input1" +} +inputs +{ +0 primitivewrangle2 0 1 +} +stat +{ + create 1584083062 + modify 1584083072 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribdelete1.parm" +Content-Type: text/plain + +{ +version 0.8 +ptdel [ 0 locks=0 ] ( "__pivot __xform" ) +vtxdel [ 0 locks=0 ] ( "" ) +primdel [ 0 locks=0 ] ( "__orig_pivot __pivot __xform" ) +dtldel [ 0 locks=0 ] ( "" ) +updatevar [ 0 locks=0 ] ( "on" ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribdelete1.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot.order" +Content-Type: text/plain + +14 +MOPS_IN +output0 +centroid +local_pivot +pivot_shift +world_pivot +align +switch1 +primitivewrangle1 +attribpromote1 +attribpromote2 +primitivewrangle2 +lerp +attribdelete1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot.net" +Content-Type: text/plain + +1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY-- diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Contents.dir/Sections.list b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Contents.dir/Sections.list new file mode 100644 index 00000000..49f2c152 --- /dev/null +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Contents.dir/Sections.list @@ -0,0 +1,2 @@ +"" +Contents.mime Contents.mime diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/CreateScript b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/CreateScript new file mode 100644 index 00000000..ddc66e2e --- /dev/null +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/CreateScript @@ -0,0 +1,14 @@ +# Automatically generated script +\set noalias = 1 +# +# Creation script for MOPS::Align::1.2 operator +# + +if ( "$arg1" == "" ) then + echo This script is intended as a creation script + exit +endif + +# Node $arg1 (MOPS::Sop/Align::1.2) +opexprlanguage -s hscript $arg1 +opuserdata -n '___Version___' -v '' $arg1 diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/DialogScript b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/DialogScript new file mode 100644 index 00000000..8ec2616a --- /dev/null +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/DialogScript @@ -0,0 +1,189 @@ +# Dialog script for MOPS::Align::1.2 automatically generated + +{ + name MOPS::Align::1.2 + script MOPS::Align::1.2 + label "MOPs Align" + + help { + "" + } + + inputlabel 1 "Packed Primitives" + inputlabel 2 "Sub-Network Input #2" + inputlabel 3 "Sub-Network Input #3" + inputlabel 4 "Sub-Network Input #4" + + parm { + name "group" + label "Group" + type string + default { "" } + menutoggle { + [ "opmenu -l align_pivots group" ] + } + range { 0 1 } + parmtag { "autoscope" "0000000000000000" } + parmtag { "script_action" "import soputils\nkwargs['geometrytype'] = kwargs['node'].parmTuple('grouptype')\nkwargs['inputindex'] = 0\nsoputils.selectGroupParm(kwargs)" } + parmtag { "script_action_help" "Select geometry from an available viewport." } + parmtag { "script_action_icon" "BUTTONS_reselect" } + } + parm { + name "grouptype" + label "Group Type" + type ordinal + default { "guess" } + menu { + "guess" "Guess from Group" + "vertices" "Vertices" + "edges" "Edges" + "points" "Points" + "prims" "Primitives" + } + range { 0 1 } + parmtag { "autoscope" "0000000000000000" } + } + parm { + name "sepparm" + label "Separator" + type separator + default { "" } + } + parm { + name "do_falloff" + label "Use Falloff" + type toggle + default { "0" } + range { 0 10 } + parmtag { "autoscope" "0000000000000000" } + } + parm { + name "falloff_attribute" + label "Falloff Attribute" + type string + default { "mops_falloff" } + disablewhen "{ do_falloff == 0 }" + parmtag { "autoscope" "0000000000000000" } + } + parm { + name "sepparm2" + label "Separator" + type separator + default { "" } + } + parm { + name "mode" + label "Mode" + type ordinal + default { "0" } + menu { + "0" "Center Pivot" + "1" "Align to BBox" + "2" "Shift Pivot" + "3" "Set Pivot (Local)" + "4" "Set Pivot (World)" + } + parmtag { "script_callback_language" "python" } + } + parm { + name "pivots_only" + label "Pivots Only (Do Not Move)" + type toggle + default { "1" } + disablewhen "{ mode == 4 }" + range { 0 10 } + parmtag { "autoscope" "0000000000000000" } + } + parm { + name "show_offset" + label "Label" + type integer + invisible + default { "0" } + range { 0 10 } + } + groupsimple { + name "folder2" + label "Align" + hidewhentab "{ mode != 1 }" + + parm { + name "align" + label "Alignment Side" + type buttonstrip + default { "2" } + menu { + "0" "-X" + "1" "+X" + "2" "-Y" + "3" "+Y" + "4" "-Z" + "5" "+Z" + } + parmtag { "script_callback_language" "python" } + } + } + + groupsimple { + name "folder0" + label "Shift Pivot" + hidewhentab "{ mode != 2 }" + + parm { + name "shift_amount" + label "Shift Amount" + type vector + size 3 + default { "0" "0" "0" } + range { 0 1 } + parmtag { "autoscope" "0000000000000000" } + parmtag { "script_callback_language" "python" } + } + parm { + name "local" + label "Local Space" + type toggle + default { "1" } + range { 0 10 } + parmtag { "autoscope" "0000000000000000" } + parmtag { "script_callback_language" "python" } + } + } + + groupsimple { + name "folder1" + label "Set Pivot" + hidewhentab "{ mode < 3 }" + + parm { + name "pivot" + label "Pivot" + type vector + size 3 + default { "0" "0" "0" } + range { 0 1 } + parmtag { "autoscope" "0000000000000000" } + parmtag { "script_callback_language" "python" } + } + } + + parm { + name "do_vexpression" + label "Do Vexpression" + type toggle + default { "off" } + range { 0 1 } + parmtag { "autoscope" "0000000000000000" } + parmtag { "script_callback_language" "python" } + } + parm { + name "vexpression" + label "Vexpression" + type string + default { "// pivot = {0,0,0};" } + disablewhen "{ do_vexpression == 0 }" + parmtag { "autoscope" "0000000000000000" } + parmtag { "editor" "1" } + parmtag { "editorlang" "vex" } + } +} diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/ExtraFileOptions b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/ExtraFileOptions new file mode 100644 index 00000000..50e13e9f --- /dev/null +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/ExtraFileOptions @@ -0,0 +1,46 @@ +{ + "OnCreated/Cursor":{ + "type":"intarray", + "value":[13,1] + }, + "OnCreated/IsExpr":{ + "type":"bool", + "value":false + }, + "OnCreated/IsPython":{ + "type":"bool", + "value":true + }, + "OnCreated/IsScript":{ + "type":"bool", + "value":true + }, + "OnCreated/Source":{ + "type":"string", + "value":"" + }, + "ViewerStateModule/CodeGenInput":{ + "type":"string", + "value":"{\n\t\"state_name\":\"\",\n\t\"state_label\":\"\",\n\t\"state_descr\":\"\",\n\t\"state_icon\":\"$HH/config/Icons\",\n\t\"state_debug_menu\":0,\n\t\"state_sample\":0,\n\t\"state_handler_indices\":[]\n}\n" + }, + "mops_modifier_02.svg/Cursor":{ + "type":"intarray", + "value":[1,1] + }, + "mops_modifier_02.svg/IsExpr":{ + "type":"bool", + "value":false + }, + "mops_modifier_02.svg/IsPython":{ + "type":"bool", + "value":false + }, + "mops_modifier_02.svg/IsScript":{ + "type":"bool", + "value":false + }, + "mops_modifier_02.svg/Source":{ + "type":"string", + "value":"C:/Users/Henry/Projects/VFX/MOPS/icons/mops_modifier_02.svg" + } +} diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Help b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Help new file mode 100644 index 00000000..5483e00c --- /dev/null +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Help @@ -0,0 +1,57 @@ += MOPs Align = + +#icon: opdef:.?mops_modifier_02.svg + +"""Aligns packed primitives and modifies pivot points.""" + +MOPs Align can modify the positions and pivots of packed primitives to align them based on their underlying bounding boxes. This means you can have them all scale up from their lowest point in Y, for example, without having to manually set the pivots of each of the instances in the MOPs Instancer. You can also set the pivot point manually to any position in space via a channel or a VEXpression, allowing for more complex transformations or FK-like behavior. + +== Overview == + +@inputs + +Packed Primitives: + The packed primitives to transform. + +@parameters + +== General == + +Use Falloff: + #id: do_falloff + Enable the `mops_falloff` attribute. This means that any adjustments you make to pivots or positions will be influenced by the falloff value. + +Falloff Attribute: + #id: falloff_attr + The name of the point attribute to use as the falloff attribute. + +Mode: + #id: mode + The method by which the pivots should be adjusted. + * Center Pivot: The pivot points are reset to the original packed center of each packed primitive. + * Align to BBox: The pivot point is moved to the center of one of the faces of each primitive's bounding box. + * Shift Pivot: An offset is added to the existing pivot of each packed primitive, in local or world space. + * Set Pivot (Local): The pivot is set to an exact specified location, relative to each packed primitive. + * Set Pivot (World): The pivot is set to an exact specified location in world space. + +Pivots Only: + #id: pivots_only + If enabled, the pivots of the packed primitives will be adjusted without modifying their positions in space. + +Alignment Side: + #id: align + Align to BBox mode only. The face of the bounding box of each primitive to snap the pivot to. + +Shift Amount: + #id: shift_amount + Shift Pivot mode only. The value to add to the existing pivot point of each packed primitive. + +Local Space: + #id: local + Shift Pivot mode only. If enabled, the specified Shift Amount will be applied in the local space of each packed primitive. Otherwise the shift will be in world space. + +Pivot: + #id: pivot + Set Pivot mode only. The new pivot point for each packed primitive. In Local mode, this is relative to the original packed center of each primitive. In World mode, this is a single position in world space. + + diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/IconSVG b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/IconSVG new file mode 100644 index 00000000..9eb0bcd6 --- /dev/null +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/IconSVG @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/InternalFileOptions b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/InternalFileOptions new file mode 100644 index 00000000..222988aa --- /dev/null +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/InternalFileOptions @@ -0,0 +1,10 @@ +{ + "nodeconntype":{ + "type":"bool", + "value":false + }, + "nodeparmtype":{ + "type":"bool", + "value":false + } +} diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/OnCreated b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/OnCreated new file mode 100644 index 00000000..bf097f36 --- /dev/null +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/OnCreated @@ -0,0 +1,13 @@ +me = kwargs['node'] +me.setName('MOPs_Align', True) + +# send anonymous statistics if enabled. +# see README.md for more information. +try: + import mops_tools + mops_tools.send_on_create_analytics(me) +except: + pass + +import mops_tools +mops_tools.viewport_selection(kwargs) \ No newline at end of file diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Sections.list b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Sections.list new file mode 100644 index 00000000..44115c8c --- /dev/null +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Sections.list @@ -0,0 +1,12 @@ +"" +DialogScript DialogScript +CreateScript CreateScript +TypePropertiesOptions TypePropertiesOptions +Help Help +Tools.shelf Tools.shelf +InternalFileOptions InternalFileOptions +Contents.gz Contents.gz +IconSVG IconSVG +OnCreated OnCreated +ExtraFileOptions ExtraFileOptions +mops__modifier__02.svg mops_modifier_02.svg diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Tools.shelf b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Tools.shelf new file mode 100644 index 00000000..3755daff --- /dev/null +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Tools.shelf @@ -0,0 +1,20 @@ + + + + + + + SOP + + + $HDA_TABLE_AND_NAME + + MOPs/Modifiers + + + diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/TypePropertiesOptions b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/TypePropertiesOptions new file mode 100644 index 00000000..a6d52acf --- /dev/null +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/TypePropertiesOptions @@ -0,0 +1,14 @@ +CheckExternal := 1; +ContentsCompressionType := 1; +ForbidOutsideParms := 1; +GzipContents := 1; +LockContents := 1; +MakeDefault := 1; +ParmsFromVfl := 0; +PrefixDroppedParmLabel := 0; +PrefixDroppedParmName := 0; +SaveCachedCode := 0; +SaveIcon := 1; +SaveSpareParms := 0; +UnlockOnCreate := 0; +UseDSParms := 1; diff --git a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/mops__modifier__02.svg b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/mops__modifier__02.svg new file mode 100644 index 00000000..9eb0bcd6 --- /dev/null +++ b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/mops__modifier__02.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + diff --git a/otls/MOPS_Align.hda/Sections.list b/otls/MOPS_Align.hda/Sections.list index 285fb80d..29af9c88 100644 --- a/otls/MOPS_Align.hda/Sections.list +++ b/otls/MOPS_Align.hda/Sections.list @@ -3,3 +3,4 @@ INDEX__SECTION INDEX_SECTION houdini.hdalibrary houdini.hdalibrary MOPS_8_8Sop_1Align_8_81.0 MOPS::Sop/Align::1.0 MOPS_8_8Sop_1Align_8_81.1 MOPS::Sop/Align::1.1 +MOPS_8_8Sop_1Align_8_81.2 MOPS::Sop/Align::1.2 diff --git a/otls/MOPS_Randomize.hda/INDEX__SECTION b/otls/MOPS_Randomize.hda/INDEX__SECTION index e8d7d7eb..75ec5549 100644 --- a/otls/MOPS_Randomize.hda/INDEX__SECTION +++ b/otls/MOPS_Randomize.hda/INDEX__SECTION @@ -24,5 +24,5 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Tue Feb 4 13:28:32 2020 +Modified: Fri Mar 13 22:23:10 2020 diff --git a/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.0/Contents.dir/Contents.mime b/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.0/Contents.dir/Contents.mime index 4cc4db7a..d454059a 100644 --- a/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.0/Contents.dir/Contents.mime +++ b/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.0/Contents.dir/Contents.mime @@ -1,2035 +1,4 @@ MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY" ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename=".OPfallbacks" -Content-Type: application/external-reference - -.OPfallbacks - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename=".OPdummydefs" -Content-Type: application/external-reference - -.OPdummydefs - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="node_type" -Content-Type: text/plain - -Sop - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot.init" -Content-Type: text/plain - -type = MOPS::Randomize::1.0 -matchesdef = 0 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position -3.934 -6.14426 -connectornextid 2 -flags = lock off model off template off footprint off xray off bypass off display on render on highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -1 "output1" -} -inputsNamed3 -{ -0 MOPs_Instancer1 0 1 "input1" -} -inputs -{ -0 MOPs_Instancer1 0 1 -} -stat -{ - create 1530403326 - modify 1530403877 - author henry@GlaDOS - access 0777 -} -color UT_Color RGB 0.8 0.8 0.8 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot.inp" -Content-Type: text/plain - -1 -0 0 6 2 0 __NO_OWNER_NETWORK_BOX__ "FROMOUTPUT" - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/pointjitter1.init" -Content-Type: text/plain - -type = pointjitter -matchesdef = 1 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/pointjitter1.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position 5.48409 1.31373 -connectornextid 2 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -1 "output1" -} -inputsNamed3 -{ -0 init_values 1 1 "input1" -} -inputs -{ -0 init_values 0 1 -} -stat -{ - create 1528499331 - modify 1530403326 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 0.8 0.8 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/pointjitter1.chn" -Content-Type: text/plain - -{ - channel scale { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../scale\") } - } - channel axisscalex { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../axisscalex\") } - } - channel axisscaley { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../axisscaley\") } - } - channel axisscalez { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../axisscalez\") } - } - channel seed { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../seed\") } - } - } - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/pointjitter1.parm" -Content-Type: text/plain - -{ -version 0.8 -group [ 0 locks=0 autoscope=0 ] ( "" ) -useidattrib [ 0 locks=0 autoscope=0 ] ( "on" ) -idattrib [ 0 locks=0 autoscope=0 ] ( id ) -scale [ 0 locks=0 autoscope=0 ] ( [ scale 1 ] ) -axisscale [ 0 locks=0 autoscope=0 ] ( [ axisscalex 1 ] [ axisscaley 1 ] [ axisscalez 1 ] ) -seed [ 0 locks=0 autoscope=0 ] ( [ seed 0 ] ) -usepscale [ 0 locks=0 autoscope=0 ] ( "off" ) -updatenmls [ 0 locks=0 autoscope=0 ] ( "on" ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/pointjitter1.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/Apply_Attributes1.init" -Content-Type: text/plain - -type = MOPS::Apply_Attributes::1.0 -matchesdef = 1 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/Apply_Attributes1.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position -0.0708374 -10.8034 -connectornextid 3 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -2 "output1" -} -inputsNamed3 -{ -0 MOPS_IN 0 1 "input1" -1 switch_do_pscale 0 1 "input2" -} -inputs -{ -0 MOPS_IN 0 1 -1 switch_do_pscale 0 1 -} -stat -{ - create 1528499331 - modify 1530403796 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 0.8 0.8 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/Apply_Attributes1.chn" -Content-Type: text/plain - -{ - channel group { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = chs(\"../group\") } - } - channel rotate_mode { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../rotate_mode\") } - } - channel scale_mode { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../scale_mode\") } - } - channel local_space { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../local_space\") } - } - channel rotate_order { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../order\") } - } - channel grouptype { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../grouptype\") } - } - } - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/Apply_Attributes1.parm" -Content-Type: text/plain - -{ -version 0.8 -group [ 0 locks=0 autoscope=0 ] ( [ group "" ] ) -grouptype [ 0 locks=0 ] ( [ grouptype 0 ] ) -do_translate [ 0 locks=0 autoscope=0 ] ( "on" ) -do_rotate [ 0 locks=0 autoscope=0 ] ( "on" ) -do_scale [ 0 locks=0 autoscope=0 ] ( "on" ) -do_falloff [ 0 locks=0 autoscope=0 ] ( "on" ) -ignore_no_falloff [ 0 locks=0 autoscope=0 ] ( "off" ) -rotate_mode [ 0 locks=0 autoscope=0 ] ( [ rotate_mode 0 ] ) -scale_mode [ 0 locks=0 autoscope=0 ] ( [ scale_mode 0 ] ) -rotate_order [ 0 locks=0 autoscope=0 ] ( [ rotate_order 0 ] ) -local_space [ 0 locks=0 autoscope=0 ] ( [ local_space 1 ] ) -do_make_id [ 0 locks=0 autoscope=0 ] ( "on" ) -attribname [ 0 locks=0 autoscope=0 ] ( "" ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/Apply_Attributes1.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize1.init" -Content-Type: text/plain - -type = attribrandomize -matchesdef = 1 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize1.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position 5.48064 -1.22232 -connectornextid 1 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -} -inputsNamed3 -{ -0 switch_do_P 0 1 "input1" -} -inputs -{ -0 switch_do_P 0 1 -} -stat -{ - create 1528499331 - modify 1530403326 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 0.8 0.8 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize1.chn" -Content-Type: text/plain - -{ - channel coneangle { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 30 30 expr = ch(\"../coneangle\") } - } - channel powerbias { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../powerbias\") } - } - channel directionx { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../directionx\") } - } - channel directiony { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../directiony\") } - } - channel directionz { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../directionz\") } - } - channel directionw { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../directionw\") } - } - channel directionattrib { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = chs(\"../directionattrib\") } - } - channel seed { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../seed2\") } - } - } - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize1.parm" -Content-Type: text/plain - -{ -version 0.8 -group [ 0 locks=0 autoscope=0 ] ( "" ) -grouptype [ 0 locks=0 autoscope=0 ] ( "guess" ) -class [ 0 locks=0 autoscope=0 ] ( "point" ) -name [ 0 locks=0 autoscope=0 ] ( orient ) -operation [ 0 locks=0 autoscope=0 ] ( set ) -scale [ 0 locks=0 autoscope=0 ] ( 1 ) -folder0 [ 0 locks=0 autoscope=0 ] ( 0 0 ) -distribution [ 0 locks=0 autoscope=0 ] ( uniformball ) -dimensions [ 0 locks=0 autoscope=0 ] ( 4 ) -allsame [ 0 locks=0 autoscope=0 ] ( "off" ) -constvalue [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -valuea [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -valueb [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -probvalueb [ 0 locks=0 autoscope=0 ] ( 0.5 ) -min [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -max [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -mindiscrete [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -maxdiscrete [ 0 locks=0 autoscope=0 ] ( 9 9 9 9 ) -stepsize [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -median [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -onesidedmedian [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -medianattrib [ 0 locks=0 autoscope=0 ] ( "" ) -stddev [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -onesidedstddev [ 0 locks=0 autoscope=0 ] ( 0.20000000000000001 0.20000000000000001 0.20000000000000001 0.20000000000000001 ) -usefit0to [ 0 locks=0 autoscope=0 ] ( "off" ) -fit0to [ 0 locks=0 autoscope=0 ] ( 0 ) -usefit1to [ 0 locks=0 autoscope=0 ] ( "off" ) -fit1to [ 0 locks=0 autoscope=0 ] ( 1 ) -ramp [ 0 locks=0 autoscope=0 ] ( 3 ) -useminlimit [ 0 locks=0 autoscope=0 ] ( "off" ) -minlimit [ 0 locks=0 autoscope=0 ] ( -100 -100 -100 -100 ) -useonesidedmin [ 0 locks=0 autoscope=0 ] ( "off" ) -onesidedmin [ 0 locks=0 autoscope=0 ] ( 0.10000000000000001 0.10000000000000001 0.10000000000000001 0.10000000000000001 ) -usemaxlimit [ 0 locks=0 autoscope=0 ] ( "off" ) -maxlimit [ 0 locks=0 autoscope=0 ] ( 100 100 100 100 ) -useconeangle [ 0 locks=0 autoscope=0 ] ( "on" ) -coneangle [ 0 locks=0 autoscope=0 ] ( [ coneangle 30 ] ) -usepowerbias [ 0 locks=0 autoscope=0 ] ( "on" ) -powerbias [ 0 locks=0 autoscope=0 ] ( [ powerbias 0 ] ) -direction [ 0 locks=0 autoscope=0 ] ( [ directionx 1 ] [ directiony 0 ] [ directionz 0 ] [ directionw 0 ] ) -directionattrib [ 0 locks=0 autoscope=0 ] ( [ directionattrib "" ] ) -folder [ 0 locks=0 autoscope=0 ] ( 0 ) -valuetype [ 0 locks=0 autoscope=0 ] ( "float" ) -values [ 0 locks=0 autoscope=0 ] ( 4 ) -normalize [ 0 locks=0 autoscope=0 ] ( "off" ) -visualize [ 0 locks=0 autoscope=0 ] ( "off" ) -nvisualizepts [ 0 locks=0 autoscope=0 ] ( 10000 ) -usefractionattrib [ 0 locks=0 autoscope=0 ] ( "off" ) -fractionattrib [ 0 locks=0 autoscope=0 ] ( fraction ) -seed [ 0 locks=0 autoscope=0 ] ( [ seed 0 ] ) -useseedattrib [ 0 locks=0 autoscope=0 ] ( "on" ) -seedattrib [ 0 locks=0 autoscope=0 ] ( id ) -ramp1pos [ 0 locks=0 autoscope=0 ] ( 0 ) -ramp1value [ 0 locks=0 autoscope=0 ] ( 0 ) -ramp1interp [ 0 locks=0 autoscope=0 ] ( "monotonecubic" ) -ramp2pos [ 0 locks=0 autoscope=0 ] ( 0.5 ) -ramp2value [ 0 locks=0 autoscope=0 ] ( 0.5 ) -ramp2interp [ 0 locks=0 autoscope=0 ] ( "monotonecubic" ) -ramp3pos [ 0 locks=0 autoscope=0 ] ( 1 ) -ramp3value [ 0 locks=0 autoscope=0 ] ( 1 ) -ramp3interp [ 0 locks=0 autoscope=0 ] ( "monotonecubic" ) -strvalue0 [ 0 locks=0 autoscope=0 ] ( "" ) -value0 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight0 [ 0 locks=0 autoscope=0 ] ( 1 ) -strvalue1 [ 0 locks=0 autoscope=0 ] ( "" ) -value1 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight1 [ 0 locks=0 autoscope=0 ] ( 1 ) -strvalue2 [ 0 locks=0 autoscope=0 ] ( "" ) -value2 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight2 [ 0 locks=0 autoscope=0 ] ( 1 ) -strvalue3 [ 0 locks=0 autoscope=0 ] ( "" ) -value3 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight3 [ 0 locks=0 autoscope=0 ] ( 1 ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize1.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize2.init" -Content-Type: text/plain - -type = attribrandomize -matchesdef = 1 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize2.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position 4.95784 -3.58329 -connectornextid 2 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -1 "output1" -} -inputsNamed3 -{ -0 switch_do_orient 0 1 "input1" -} -inputs -{ -0 switch_do_orient 0 1 -} -stat -{ - create 1528499331 - modify 1530403326 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 0.8 0.8 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize2.chn" -Content-Type: text/plain - -{ - channel minx { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../minx\") } - } - channel miny { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../miny\") } - } - channel minz { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../minz\") } - } - channel maxx { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../maxx\") } - } - channel maxy { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../maxy\") } - } - channel maxz { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../maxz\") } - } - channel seed { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../seed5\") } - } - } - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize2.parm" -Content-Type: text/plain - -{ -version 0.8 -group [ 0 locks=0 autoscope=0 ] ( "" ) -grouptype [ 0 locks=0 autoscope=0 ] ( "guess" ) -class [ 0 locks=0 autoscope=0 ] ( "point" ) -name [ 0 locks=0 autoscope=0 ] ( scale ) -operation [ 0 locks=0 autoscope=0 ] ( set ) -scale [ 0 locks=0 autoscope=0 ] ( 1 ) -folder0 [ 0 locks=0 autoscope=0 ] ( 0 0 ) -distribution [ 0 locks=0 autoscope=0 ] ( uniform ) -dimensions [ 0 locks=0 autoscope=0 ] ( 3 ) -allsame [ 0 locks=0 autoscope=0 ] ( "off" ) -constvalue [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -valuea [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -valueb [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -probvalueb [ 0 locks=0 autoscope=0 ] ( 0.5 ) -min [ 0 locks=0 autoscope=0 ] ( [ minx 0 ] [ miny 0 ] [ minz 0 ] 0 ) -max [ 0 locks=0 autoscope=0 ] ( [ maxx 1 ] [ maxy 1 ] [ maxz 1 ] 1 ) -mindiscrete [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -maxdiscrete [ 0 locks=0 autoscope=0 ] ( 9 9 9 9 ) -stepsize [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -median [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -onesidedmedian [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -medianattrib [ 0 locks=0 autoscope=0 ] ( "" ) -stddev [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -onesidedstddev [ 0 locks=0 autoscope=0 ] ( 0.20000000000000001 0.20000000000000001 0.20000000000000001 0.20000000000000001 ) -usefit0to [ 0 locks=0 autoscope=0 ] ( "off" ) -fit0to [ 0 locks=0 autoscope=0 ] ( 0 ) -usefit1to [ 0 locks=0 autoscope=0 ] ( "off" ) -fit1to [ 0 locks=0 autoscope=0 ] ( 1 ) -ramp [ 0 locks=0 autoscope=0 ] ( 3 ) -useminlimit [ 0 locks=0 autoscope=0 ] ( "off" ) -minlimit [ 0 locks=0 autoscope=0 ] ( -100 -100 -100 -100 ) -useonesidedmin [ 0 locks=0 autoscope=0 ] ( "off" ) -onesidedmin [ 0 locks=0 autoscope=0 ] ( 0.10000000000000001 0.10000000000000001 0.10000000000000001 0.10000000000000001 ) -usemaxlimit [ 0 locks=0 autoscope=0 ] ( "off" ) -maxlimit [ 0 locks=0 autoscope=0 ] ( 100 100 100 100 ) -useconeangle [ 0 locks=0 autoscope=0 ] ( "on" ) -coneangle [ 0 locks=0 autoscope=0 ] ( 30 ) -usepowerbias [ 0 locks=0 autoscope=0 ] ( "on" ) -powerbias [ 0 locks=0 autoscope=0 ] ( 0 ) -direction [ 0 locks=0 autoscope=0 ] ( 0 0 0 1 ) -directionattrib [ 0 locks=0 autoscope=0 ] ( "" ) -folder [ 0 locks=0 autoscope=0 ] ( 0 ) -valuetype [ 0 locks=0 autoscope=0 ] ( "float" ) -values [ 0 locks=0 autoscope=0 ] ( 4 ) -normalize [ 0 locks=0 autoscope=0 ] ( "off" ) -visualize [ 0 locks=0 autoscope=0 ] ( "off" ) -nvisualizepts [ 0 locks=0 autoscope=0 ] ( 10000 ) -usefractionattrib [ 0 locks=0 autoscope=0 ] ( "off" ) -fractionattrib [ 0 locks=0 autoscope=0 ] ( fraction ) -seed [ 0 locks=0 autoscope=0 ] ( [ seed 0 ] ) -useseedattrib [ 0 locks=0 autoscope=0 ] ( "on" ) -seedattrib [ 0 locks=0 autoscope=0 ] ( id ) -ramp1pos [ 0 locks=0 autoscope=0 ] ( 0 ) -ramp1value [ 0 locks=0 autoscope=0 ] ( 0 ) -ramp1interp [ 0 locks=0 autoscope=0 ] ( "monotonecubic" ) -ramp2pos [ 0 locks=0 autoscope=0 ] ( 0.5 ) -ramp2value [ 0 locks=0 autoscope=0 ] ( 0.5 ) -ramp2interp [ 0 locks=0 autoscope=0 ] ( "monotonecubic" ) -ramp3pos [ 0 locks=0 autoscope=0 ] ( 1 ) -ramp3value [ 0 locks=0 autoscope=0 ] ( 1 ) -ramp3interp [ 0 locks=0 autoscope=0 ] ( "monotonecubic" ) -strvalue0 [ 0 locks=0 autoscope=0 ] ( "" ) -value0 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight0 [ 0 locks=0 autoscope=0 ] ( 1 ) -strvalue1 [ 0 locks=0 autoscope=0 ] ( "" ) -value1 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight1 [ 0 locks=0 autoscope=0 ] ( 1 ) -strvalue2 [ 0 locks=0 autoscope=0 ] ( "" ) -value2 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight2 [ 0 locks=0 autoscope=0 ] ( 1 ) -strvalue3 [ 0 locks=0 autoscope=0 ] ( "" ) -value3 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight3 [ 0 locks=0 autoscope=0 ] ( 1 ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize2.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize3.init" -Content-Type: text/plain - -type = attribrandomize -matchesdef = 1 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize3.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position 4.96129 -5.68574 -connectornextid 2 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -1 "output1" -} -inputsNamed3 -{ -0 switch_do_scale 0 1 "input1" -} -inputs -{ -0 switch_do_scale 0 1 -} -stat -{ - create 1528499331 - modify 1530403667 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 0.8 0.8 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize3.chn" -Content-Type: text/plain - -{ - channel minx { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../min3\") } - } - channel maxx { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../max3\") } - } - channel seed { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 5286 5286 expr = ch(\"../seed3\") } - } - } - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize3.parm" -Content-Type: text/plain - -{ -version 0.8 -group [ 0 locks=0 autoscope=0 ] ( "" ) -grouptype [ 0 locks=0 autoscope=0 ] ( "guess" ) -class [ 0 locks=0 autoscope=0 ] ( "point" ) -name [ 0 locks=0 autoscope=0 ] ( pscale ) -operation [ 0 locks=0 autoscope=0 ] ( set ) -scale [ 0 locks=0 autoscope=0 ] ( 1 ) -folder0 [ 0 locks=0 autoscope=0 ] ( 0 0 ) -distribution [ 0 locks=0 autoscope=0 ] ( uniform ) -dimensions [ 0 locks=0 autoscope=0 ] ( 1 ) -allsame [ 0 locks=0 autoscope=0 ] ( "off" ) -constvalue [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -valuea [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -valueb [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -probvalueb [ 0 locks=0 autoscope=0 ] ( 0.5 ) -min [ 0 locks=0 autoscope=0 ] ( [ minx 0.75 ] 0 0 0 ) -max [ 0 locks=0 autoscope=0 ] ( [ maxx 1.25 ] 1 1 1 ) -mindiscrete [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -maxdiscrete [ 0 locks=0 autoscope=0 ] ( 9 9 9 9 ) -stepsize [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -median [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -onesidedmedian [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -medianattrib [ 0 locks=0 autoscope=0 ] ( "" ) -stddev [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -onesidedstddev [ 0 locks=0 autoscope=0 ] ( 0.20000000000000001 0.20000000000000001 0.20000000000000001 0.20000000000000001 ) -usefit0to [ 0 locks=0 autoscope=0 ] ( "off" ) -fit0to [ 0 locks=0 autoscope=0 ] ( 0 ) -usefit1to [ 0 locks=0 autoscope=0 ] ( "off" ) -fit1to [ 0 locks=0 autoscope=0 ] ( 1 ) -ramp [ 0 locks=0 autoscope=0 ] ( 3 ) -useminlimit [ 0 locks=0 autoscope=0 ] ( "off" ) -minlimit [ 0 locks=0 autoscope=0 ] ( -100 -100 -100 -100 ) -useonesidedmin [ 0 locks=0 autoscope=0 ] ( "off" ) -onesidedmin [ 0 locks=0 autoscope=0 ] ( 0.10000000000000001 0.10000000000000001 0.10000000000000001 0.10000000000000001 ) -usemaxlimit [ 0 locks=0 autoscope=0 ] ( "off" ) -maxlimit [ 0 locks=0 autoscope=0 ] ( 100 100 100 100 ) -useconeangle [ 0 locks=0 autoscope=0 ] ( "off" ) -coneangle [ 0 locks=0 autoscope=0 ] ( 30 ) -usepowerbias [ 0 locks=0 autoscope=0 ] ( "off" ) -powerbias [ 0 locks=0 autoscope=0 ] ( 0 ) -direction [ 0 locks=0 autoscope=0 ] ( 1 0 0 0 ) -directionattrib [ 0 locks=0 autoscope=0 ] ( "" ) -folder [ 0 locks=0 autoscope=0 ] ( 0 ) -valuetype [ 0 locks=0 autoscope=0 ] ( "float" ) -values [ 0 locks=0 autoscope=0 ] ( 4 ) -normalize [ 0 locks=0 autoscope=0 ] ( "off" ) -visualize [ 0 locks=0 autoscope=0 ] ( "off" ) -nvisualizepts [ 0 locks=0 autoscope=0 ] ( 10000 ) -usefractionattrib [ 0 locks=0 autoscope=0 ] ( "off" ) -fractionattrib [ 0 locks=0 autoscope=0 ] ( fraction ) -seed [ 0 locks=0 autoscope=0 ] ( [ seed 0 ] ) -useseedattrib [ 0 locks=0 autoscope=0 ] ( "on" ) -seedattrib [ 0 locks=0 autoscope=0 ] ( id ) -ramp1pos [ 0 locks=0 autoscope=0 ] ( 0 ) -ramp1value [ 0 locks=0 autoscope=0 ] ( 0 ) -ramp1interp [ 0 locks=0 autoscope=0 ] ( "monotonecubic" ) -ramp2pos [ 0 locks=0 autoscope=0 ] ( 0.5 ) -ramp2value [ 0 locks=0 autoscope=0 ] ( 0.5 ) -ramp2interp [ 0 locks=0 autoscope=0 ] ( "monotonecubic" ) -ramp3pos [ 0 locks=0 autoscope=0 ] ( 1 ) -ramp3value [ 0 locks=0 autoscope=0 ] ( 1 ) -ramp3interp [ 0 locks=0 autoscope=0 ] ( "monotonecubic" ) -strvalue0 [ 0 locks=0 autoscope=0 ] ( "" ) -value0 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight0 [ 0 locks=0 autoscope=0 ] ( 1 ) -strvalue1 [ 0 locks=0 autoscope=0 ] ( "" ) -value1 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight1 [ 0 locks=0 autoscope=0 ] ( 1 ) -strvalue2 [ 0 locks=0 autoscope=0 ] ( "" ) -value2 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight2 [ 0 locks=0 autoscope=0 ] ( 1 ) -strvalue3 [ 0 locks=0 autoscope=0 ] ( "" ) -value3 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight3 [ 0 locks=0 autoscope=0 ] ( 1 ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize3.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize4.init" -Content-Type: text/plain - -type = attribrandomize -matchesdef = 1 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize4.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position 2.8296 -11.9746 -connectornextid 2 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -1 "output1" -} -inputsNamed3 -{ -0 Apply_Attributes1 2 1 "input1" -} -inputs -{ -0 Apply_Attributes1 0 1 -} -stat -{ - create 1528499331 - modify 1530403326 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 0.8 0.8 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize4.chn" -Content-Type: text/plain - -{ - channel minx { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../min2\") } - } - channel maxx { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../max2\") } - } - channel seed { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 3189 3189 expr = ch(\"../seed4\") } - } - channel useseedattrib { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../useseedattrib\") } - } - channel seedattrib { - lefttype = extend - righttype = extend - defaultString = \"id\" - flags = 0 - segment { length = 0 expr = chs(\"../seedattrib\") } - } - } - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize4.parm" -Content-Type: text/plain - -{ -version 0.8 -group [ 0 locks=0 autoscope=0 ] ( "" ) -grouptype [ 0 locks=0 autoscope=0 ] ( "guess" ) -class [ 0 locks=0 autoscope=0 ] ( "point" ) -name [ 0 locks=0 autoscope=0 ] ( mops_falloff ) -operation [ 0 locks=0 autoscope=0 ] ( set ) -scale [ 0 locks=0 autoscope=0 ] ( 1 ) -folder0 [ 0 locks=0 autoscope=0 ] ( 1 1 ) -distribution [ 0 locks=0 autoscope=0 ] ( uniform ) -dimensions [ 0 locks=0 autoscope=0 ] ( 1 ) -allsame [ 0 locks=0 autoscope=0 ] ( "off" ) -constvalue [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -valuea [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -valueb [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -probvalueb [ 0 locks=0 autoscope=0 ] ( 0.5 ) -min [ 0 locks=0 autoscope=0 ] ( [ minx 0 ] 0 0 0 ) -max [ 0 locks=0 autoscope=0 ] ( [ maxx 1 ] 1 1 1 ) -mindiscrete [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -maxdiscrete [ 0 locks=0 autoscope=0 ] ( 9 9 9 9 ) -stepsize [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -median [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) -onesidedmedian [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -medianattrib [ 0 locks=0 autoscope=0 ] ( "" ) -stddev [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) -onesidedstddev [ 0 locks=0 autoscope=0 ] ( 0.20000000000000001 0.20000000000000001 0.20000000000000001 0.20000000000000001 ) -usefit0to [ 0 locks=0 autoscope=0 ] ( "off" ) -fit0to [ 0 locks=0 autoscope=0 ] ( 0 ) -usefit1to [ 0 locks=0 autoscope=0 ] ( "off" ) -fit1to [ 0 locks=0 autoscope=0 ] ( 1 ) -ramp [ 0 locks=0 autoscope=0 ] ( 3 ) -useminlimit [ 0 locks=0 autoscope=0 ] ( "off" ) -minlimit [ 0 locks=0 autoscope=0 ] ( -100 -100 -100 -100 ) -useonesidedmin [ 0 locks=0 autoscope=0 ] ( "off" ) -onesidedmin [ 0 locks=0 autoscope=0 ] ( 0.10000000000000001 0.10000000000000001 0.10000000000000001 0.10000000000000001 ) -usemaxlimit [ 0 locks=0 autoscope=0 ] ( "off" ) -maxlimit [ 0 locks=0 autoscope=0 ] ( 100 100 100 100 ) -useconeangle [ 0 locks=0 autoscope=0 ] ( "off" ) -coneangle [ 0 locks=0 autoscope=0 ] ( 30 ) -usepowerbias [ 0 locks=0 autoscope=0 ] ( "off" ) -powerbias [ 0 locks=0 autoscope=0 ] ( 0 ) -direction [ 0 locks=0 autoscope=0 ] ( 1 0 0 0 ) -directionattrib [ 0 locks=0 autoscope=0 ] ( "" ) -folder [ 0 locks=0 autoscope=0 ] ( 0 ) -valuetype [ 0 locks=0 autoscope=0 ] ( "float" ) -values [ 0 locks=0 autoscope=0 ] ( 4 ) -normalize [ 0 locks=0 autoscope=0 ] ( "off" ) -visualize [ 0 locks=0 autoscope=0 ] ( "off" ) -nvisualizepts [ 0 locks=0 autoscope=0 ] ( 10000 ) -usefractionattrib [ 0 locks=0 autoscope=0 ] ( "off" ) -fractionattrib [ 0 locks=0 autoscope=0 ] ( fraction ) -seed [ 0 locks=0 autoscope=0 ] ( [ seed 0 ] ) -useseedattrib [ 0 locks=0 autoscope=0 ] ( [ useseedattrib 0 ] ) -seedattrib [ 0 locks=0 autoscope=0 ] ( [ seedattrib id ] ) -ramp1pos [ 0 locks=0 autoscope=0 ] ( 0 ) -ramp1value [ 0 locks=0 autoscope=0 ] ( 0 ) -ramp1interp [ 0 locks=0 autoscope=0 ] ( "monotonecubic" ) -ramp2pos [ 0 locks=0 autoscope=0 ] ( 0.5 ) -ramp2value [ 0 locks=0 autoscope=0 ] ( 0.5 ) -ramp2interp [ 0 locks=0 autoscope=0 ] ( "monotonecubic" ) -ramp3pos [ 0 locks=0 autoscope=0 ] ( 1 ) -ramp3value [ 0 locks=0 autoscope=0 ] ( 1 ) -ramp3interp [ 0 locks=0 autoscope=0 ] ( "monotonecubic" ) -strvalue0 [ 0 locks=0 autoscope=0 ] ( "" ) -value0 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight0 [ 0 locks=0 autoscope=0 ] ( 1 ) -strvalue1 [ 0 locks=0 autoscope=0 ] ( "" ) -value1 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight1 [ 0 locks=0 autoscope=0 ] ( 1 ) -strvalue2 [ 0 locks=0 autoscope=0 ] ( "" ) -value2 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight2 [ 0 locks=0 autoscope=0 ] ( 1 ) -strvalue3 [ 0 locks=0 autoscope=0 ] ( "" ) -value3 [ 0 locks=0 autoscope=0 ] ( 0 ) -weight3 [ 0 locks=0 autoscope=0 ] ( 1 ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/attribrandomize4.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/Combine_Falloffs1.init" -Content-Type: text/plain - -type = MOPS::Combine_Falloffs::1.0 -matchesdef = 1 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/Combine_Falloffs1.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position 2.50051 -12.9266 -connectornextid 3 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -2 "output1" -} -inputsNamed3 -{ -0 Apply_Attributes1 2 1 "input1" -1 attribrandomize4 1 1 "input2" -} -inputs -{ -0 Apply_Attributes1 0 1 -1 attribrandomize4 0 1 -} -stat -{ - create 1528499331 - modify 1530403794 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 0.8 0.8 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/Combine_Falloffs1.chn" -Content-Type: text/plain - -{ - channel input { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 8 8 expr = ch(\"../input\") } - } - channel strength { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../strength\") } - } - channel switchclamp { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../switchclamp\") } - } - channel do_preview { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../do_preview\") } - } - } - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/Combine_Falloffs1.parm" -Content-Type: text/plain - -{ -version 0.8 -group [ 0 locks=0 autoscope=0 ] ( `chs(\"../Apply_Attributes1/group\")` ) -grouptype [ 0 locks=0 ] ( "guess" ) -input [ 0 locks=0 autoscope=0 ] ( [ input 8 ] ) -strength [ 0 locks=0 autoscope=0 ] ( [ strength 1 ] ) -switchclamp [ 0 locks=0 autoscope=0 ] ( [ switchclamp 0 ] ) -do_preview [ 0 locks=0 autoscope=0 ] ( [ do_preview 0 ] ) -ramp_preset [ 0 locks=0 ] ( "heatmap" ) -falloff_heatmap [ 0 locks=0 ] ( 5 ) -falloff_heatmap1pos [ 0 locks=0 ] ( 0 ) -falloff_heatmap1c [ 0 locks=0 ] ( 0.036199998110532761 0 0.5429999828338623 ) -falloff_heatmap1interp [ 0 locks=0 ] ( "linear" ) -falloff_heatmap2pos [ 0 locks=0 ] ( 0.27027025818824768 ) -falloff_heatmap2c [ 0 locks=0 ] ( 0.7369999885559082 0 0 ) -falloff_heatmap2interp [ 0 locks=0 ] ( "linear" ) -falloff_heatmap3pos [ 0 locks=0 ] ( 0.71814674139022827 ) -falloff_heatmap3c [ 0 locks=0 ] ( 1 0.28333333134651184 0 ) -falloff_heatmap3interp [ 0 locks=0 ] ( "linear" ) -falloff_heatmap4pos [ 0 locks=0 ] ( 0.90154439210891724 ) -falloff_heatmap4c [ 0 locks=0 ] ( 0.89999997615814209 0.89999997615814209 0 ) -falloff_heatmap4interp [ 0 locks=0 ] ( "linear" ) -falloff_heatmap5pos [ 0 locks=0 ] ( 1 ) -falloff_heatmap5c [ 0 locks=0 ] ( 1 1 1 ) -falloff_heatmap5interp [ 0 locks=0 ] ( "linear" ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/Combine_Falloffs1.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/pointwrangle1.init" -Content-Type: text/plain - -type = attribwrangle -matchesdef = 1 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/pointwrangle1.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position 8.62369 -1.22332 -connectornextid 2 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -0 "output1" -} -inputsNamed3 -{ -1 switch_do_P 0 1 "input1" -} -inputs -{ -0 switch_do_P 0 1 -} -stat -{ - create 1528499331 - modify 1530403326 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 0.8 0.8 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/pointwrangle1.spareparmdef" -Content-Type: text/plain - - group { - name "folder1" - label "Code" - - parm { - name "group" - baseparm - label "Group" - export none - bindselector points "Modify Points" - "Select the points to affect and press Enter to complete." - 0 1 0xffffffff 0 grouptype 0 - } - parm { - name "grouptype" - baseparm - label "Group Type" - export none - } - parm { - name "class" - baseparm - label "Run Over" - export none - } - parm { - name "vex_numcount" - baseparm - label "Number Count" - export none - } - parm { - name "vex_threadjobsize" - baseparm - label "Thread Job Size" - export none - } - parm { - name "snippet" - baseparm - label "VEXpression" - export all - } - parm { - name "exportlist" - baseparm - label "Attributes to Create" - export none - } - parm { - name "vex_strict" - baseparm - label "Enforce Prototypes" - export none - } - } - - group { - name "folder1_1" - label "Bindings" - - parm { - name "autobind" - baseparm - label "Autobind by Name" - export none - } - multiparm { - name "bindings" - label "Number of Bindings" - baseparm - default 0 - parmtag { "autoscope" "0000000000000000" } - parmtag { "multistartoffset" "1" } - - parm { - name "bindname#" - baseparm - label "Attribute Name" - export none - } - parm { - name "bindparm#" - baseparm - label "VEX Parameter" - export none - } - } - - parm { - name "groupautobind" - baseparm - label "Autobind Groups by Name" - export none - } - multiparm { - name "groupbindings" - label "Group Bindings" - baseparm - default 0 - parmtag { "autoscope" "0000000000000000" } - parmtag { "multistartoffset" "1" } - - parm { - name "bindgroupname#" - baseparm - label "Group Name" - export none - } - parm { - name "bindgroupparm#" - baseparm - label "VEX Parameter" - export none - } - } - - parm { - name "vex_cwdpath" - baseparm - label "Evaluation Node Path" - export none - } - parm { - name "vex_outputmask" - baseparm - label "Export Parameters" - export none - } - parm { - name "vex_updatenmls" - baseparm - label "Update Normals If Displaced" - export none - } - parm { - name "vex_matchattrib" - baseparm - label "Attribute to Match" - export none - } - parm { - name "vex_inplace" - baseparm - label "Compute Results In Place" - export none - } - parm { - name "vex_selectiongroup" - baseparm - label "Output Selection Group" - export none - } - } - - parm { - name "seed" - label "Seed" - type float - default { "0" } - range { 0 1 } - } - parm { - name "min" - label "Min" - type vector - size 3 - default { "0" "0" "0" } - range { 0 1 } - } - parm { - name "max" - label "Max" - type vector - size 3 - default { "0" "0" "0" } - range { 0 1 } - } - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/pointwrangle1.chn" -Content-Type: text/plain - -{ - channel seed { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../seed2\") } - } - channel minx { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = -360 -360 expr = ch(\"../min4x\") } - } - channel miny { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = -360 -360 expr = ch(\"../min4y\") } - } - channel minz { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = -360 -360 expr = ch(\"../min4z\") } - } - channel maxx { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 360 360 expr = ch(\"../max4x\") } - } - channel maxy { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 360 360 expr = ch(\"../max4y\") } - } - channel maxz { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 360 360 expr = ch(\"../max4z\") } - } - } - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/pointwrangle1.parm" -Content-Type: text/plain - -{ -version 0.8 -folder0 [ 0 locks=0 autoscope=0 ] ( 0 0 ) -group [ 0 locks=0 autoscope=0 ] ( "" ) -grouptype [ 0 locks=0 autoscope=0 ] ( "guess" ) -class [ 0 locks=0 autoscope=0 ] ( "point" ) -vex_numcount [ 0 locks=0 autoscope=0 ] ( 10 ) -vex_threadjobsize [ 0 locks=0 autoscope=0 ] ( 1024 ) -snippet [ 0 locks=0 autoscope=0 ] ( "vector min = chv(\"min\"); -vector max = chv(\"max\"); -float seed = ch(\"seed\"); - -float x = (fit01(rand(@id+seed), min.x, max.x)); -float y = (fit01(rand(@id+seed*123), min.y, max.y)); -float z = (fit01(rand(@id+seed*456), min.z, max.z)); - -v@euler = set(x,y,z);" ) -exportlist [ 0 locks=0 autoscope=0 ] ( * ) -vex_strict [ 0 locks=0 autoscope=0 ] ( "off" ) -autobind [ 0 locks=0 autoscope=0 ] ( "on" ) -bindings [ 0 locks=0 autoscope=0 ] ( 0 ) -groupautobind [ 0 locks=0 autoscope=0 ] ( "on" ) -groupbindings [ 0 locks=0 autoscope=0 ] ( 0 ) -vex_cwdpath [ 0 locks=0 autoscope=0 ] ( . ) -vex_outputmask [ 0 locks=0 autoscope=0 ] ( * ) -vex_updatenmls [ 0 locks=0 autoscope=0 ] ( "off" ) -vex_matchattrib [ 0 locks=0 autoscope=0 ] ( id ) -vex_inplace [ 0 locks=0 autoscope=0 ] ( "off" ) -vex_selectiongroup [ 0 locks=0 autoscope=0 ] ( "" ) -folder1 [ 0 locks=0 ] ( 0 0 ) -seed [ 0 locks=0 autoscope=0 ] ( [ seed 0 ] ) -min [ 0 locks=0 autoscope=0 ] ( [ minx -360 ] [ miny -360 ] [ minz -360 ] ) -max [ 0 locks=0 autoscope=0 ] ( [ maxx 360 ] [ maxy 360 ] [ maxz 360 ] ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/pointwrangle1.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/init_values.init" -Content-Type: text/plain - -type = attribwrangle -matchesdef = 1 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/init_values.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position 2.10851 2.52305 -connectornextid 2 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -1 "output1" -} -inputsNamed3 -{ -0 MOPS_IN 0 1 "input1" -} -inputs -{ -0 MOPS_IN 0 1 -} -stat -{ - create 1528936208 - modify 1530403326 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 0.8 0.8 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/init_values.parm" -Content-Type: text/plain - -{ -version 0.8 -folder0 [ 0 locks=0 ] ( 0 0 ) -group [ 0 locks=0 ] ( "" ) -grouptype [ 0 locks=0 ] ( "guess" ) -class [ 0 locks=0 ] ( "point" ) -vex_numcount [ 0 locks=0 ] ( 10 ) -vex_threadjobsize [ 0 locks=0 ] ( 1024 ) -snippet [ 0 locks=0 ] ( "v@euler = 0; -v@scale = 1; -f@pscale = 1;" ) -exportlist [ 0 locks=0 ] ( * ) -vex_strict [ 0 locks=0 ] ( "off" ) -autobind [ 0 locks=0 ] ( "on" ) -bindings [ 0 locks=0 ] ( 0 ) -groupautobind [ 0 locks=0 ] ( "on" ) -groupbindings [ 0 locks=0 ] ( 0 ) -vex_cwdpath [ 0 locks=0 ] ( . ) -vex_outputmask [ 0 locks=0 ] ( * ) -vex_updatenmls [ 0 locks=0 ] ( "off" ) -vex_matchattrib [ 0 locks=0 ] ( id ) -vex_inplace [ 0 locks=0 ] ( "off" ) -vex_selectiongroup [ 0 locks=0 ] ( "" ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/init_values.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/MOPS_IN.init" -Content-Type: text/plain - -type = null -matchesdef = 0 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/MOPS_IN.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position -1.11759e-08 3.65565 -connectornextid 2 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -0 "output1" -} -inputsNamed3 -{ -1 (0) "" 1 "input1" -} -inputs -{ -0 (0) 0 1 -} -stat -{ - create 1528499331 - modify 1528499339 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.6 0.7 0.77 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/MOPS_IN.parm" -Content-Type: text/plain - -{ -version 0.8 -copyinput [ 0 locks=0 autoscope=0 ] ( "on" ) -cacheinput [ 0 locks=0 autoscope=0 ] ( "off" ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/MOPS_IN.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"16.5.496" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_P.init" -Content-Type: text/plain - -type = switch -matchesdef = 0 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_P.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position 3.40396 0.546633 -connectornextid 3 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -0 "output1" -} -inputsNamed3 -{ -1 init_values 1 1 "input1" -2 pointjitter1 1 1 "input2" -} -inputs -{ -0 init_values 0 1 -1 pointjitter1 0 1 -} -stat -{ - create 1528499331 - modify 1530403326 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 1 0.7 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_P.chn" -Content-Type: text/plain - -{ - channel input { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../do_P\") } - } - } - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_P.parm" -Content-Type: text/plain - -{ -version 0.8 -input [ 0 locks=0 autoscope=0 ] ( [ input 0 ] ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_P.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"16.5.496" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_orient.init" -Content-Type: text/plain - -type = switch -matchesdef = 0 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_orient.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position 3.40396 -2.48146 -connectornextid 3 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -0 "output1" -} -inputsNamed3 -{ -1 switch_do_P 0 1 "input1" -2 pointwrangle1 0 1 "input2" -} -inputs -{ -0 switch_do_P 0 1 -1 pointwrangle1 0 1 -} -stat -{ - create 1528499331 - modify 1530403326 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 1 0.7 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_orient.chn" -Content-Type: text/plain - -{ - channel input { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../do_orient\") } - } - } - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_orient.parm" -Content-Type: text/plain - -{ -version 0.8 -input [ 0 locks=0 autoscope=0 ] ( [ input 0 ] ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_orient.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"16.5.496" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_scale.init" -Content-Type: text/plain - -type = switch -matchesdef = 0 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_scale.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position 3.50408 -4.61126 -connectornextid 3 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -0 "output1" -} -inputsNamed3 -{ -1 switch_do_orient 0 1 "input1" -2 attribrandomize2 1 1 "input2" -} -inputs -{ -0 switch_do_orient 0 1 -1 attribrandomize2 0 1 -} -stat -{ - create 1528499331 - modify 1530403326 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 1 0.7 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_scale.chn" -Content-Type: text/plain - -{ - channel input { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../do_scale\") } - } - } - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_scale.parm" -Content-Type: text/plain - -{ -version 0.8 -input [ 0 locks=0 autoscope=0 ] ( [ input 0 ] ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_scale.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"16.5.496" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/output1.init" -Content-Type: text/plain - -type = output -matchesdef = 0 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/output1.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position -0.0708374 -15.4412 -connectornextid 1 -flags = lock off model off template off footprint off xray off bypass off display on render on highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -} -inputsNamed3 -{ -0 switch_do_falloff 0 1 "input1" -} -inputs -{ -0 switch_do_falloff 0 1 -} -stat -{ - create 1528499331 - modify 1530403797 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 0.8 0.8 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/output1.parm" -Content-Type: text/plain - -{ -version 0.8 -outputidx [ 0 locks=0 autoscope=0 ] ( 0 ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/output1.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"16.5.496" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_pscale.init" -Content-Type: text/plain - -type = switch -matchesdef = 0 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_pscale.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position 3.50408 -6.92051 -connectornextid 3 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -0 "output1" -} -inputsNamed3 -{ -1 switch_do_scale 0 1 "input1" -2 attribrandomize3 1 1 "input2" -} -inputs -{ -0 switch_do_scale 0 1 -1 attribrandomize3 0 1 -} -stat -{ - create 1528499331 - modify 1530403326 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 1 0.7 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_pscale.chn" -Content-Type: text/plain - -{ - channel input { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../do_pscale\") } - } - } - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_pscale.parm" -Content-Type: text/plain - -{ -version 0.8 -input [ 0 locks=0 autoscope=0 ] ( [ input 1 ] ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_pscale.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"16.5.496" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_falloff.init" -Content-Type: text/plain - -type = switch -matchesdef = 0 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_falloff.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position -0.0708374 -13.9529 -connectornextid 3 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -0 "output1" -} -inputsNamed3 -{ -1 Apply_Attributes1 2 1 "input1" -2 Combine_Falloffs1 2 1 "input2" -} -inputs -{ -0 Apply_Attributes1 0 1 -1 Combine_Falloffs1 0 1 -} -stat -{ - create 1528499331 - modify 1530403800 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 1 0.7 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_falloff.chn" -Content-Type: text/plain - -{ - channel input { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../do_falloff\") } - } - } - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_falloff.parm" -Content-Type: text/plain - -{ -version 0.8 -input [ 0 locks=0 autoscope=0 ] ( [ input 1 ] ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/switch_do_falloff.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"16.5.496" - } -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot.order" -Content-Type: text/plain - -16 -pointjitter1 -Apply_Attributes1 -attribrandomize1 -attribrandomize2 -attribrandomize3 -attribrandomize4 -Combine_Falloffs1 -MOPS_IN -switch_do_P -switch_do_orient -switch_do_scale -output1 -switch_do_pscale -switch_do_falloff -pointwrangle1 -init_values - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot.net" -Content-Type: text/plain - -1 - --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY-- diff --git a/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Contents.dir/.OPdummydefs b/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Contents.dir/.OPdummydefs index 33abbce9..22dd574a 100644 Binary files a/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Contents.dir/.OPdummydefs and b/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Contents.dir/.OPdummydefs differ diff --git a/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Contents.dir/.OPfallbacks b/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Contents.dir/.OPfallbacks index 25c903f9..4553ff67 100644 --- a/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Contents.dir/.OPfallbacks +++ b/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Contents.dir/.OPfallbacks @@ -1,54 +1,54 @@ -MOPS::Sop/Apply_Attributes::1.4 C:/Users/Henry/Projects/VFX/MOPS_Prime/otls/MOPSDOPS_applyAttributes.hda -MOPS::Sop/Apply_Attributes::1.4 Projects/VFX/MOPS_Prime/otls/MOPSDOPS_applyAttributes.hda -MOPS::Sop/Combine_Falloffs::1.0 C:/Users/Henry/Projects/VFX/MOPS/otls/MOPS_Combine_Falloffs.hda +MOPS::Sop/Apply_Attributes::1.4 C:/Users/Henry/Projects/VFX/MOPS_Prime/otls/MOPS_applyAttributes.hda +MOPS::Sop/Apply_Attributes::1.4 otls/MOPS_applyAttributes.hda +MOPS::Sop/Combine_Falloffs::1.0 C:/Users/Henry/Projects/VFX/MOPS_Prime/otls/MOPS_Combine_Falloffs.hda MOPS::Sop/Combine_Falloffs::1.0 otls/MOPS_Combine_Falloffs.hda -MOPS::Sop/Extract_Attributes::1.0 C:/Users/Henry/Projects/VFX/MOPS/otls/MOPS_extractAttributes.hda +MOPS::Sop/Extract_Attributes::1.0 C:/Users/Henry/Projects/VFX/MOPS_Prime/otls/MOPS_extractAttributes.hda MOPS::Sop/Extract_Attributes::1.0 otls/MOPS_extractAttributes.hda -MOPS::Sop/Preview_Falloff::1.1 C:/Users/Henry/Projects/VFX/MOPS/otls/MOPS_Preview_Falloff.hda +MOPS::Sop/Preview_Falloff::1.1 C:/Users/Henry/Projects/VFX/MOPS_Prime/otls/MOPS_Preview_Falloff.hda MOPS::Sop/Preview_Falloff::1.1 otls/MOPS_Preview_Falloff.hda -Sop/attribdelete C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibSop.hda +Sop/attribdelete C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibSop.hda Sop/attribdelete otls/OPlibSop.hda -Sop/attribrandomize C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibSop.hda +Sop/attribrandomize C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibSop.hda Sop/attribrandomize otls/OPlibSop.hda -Sop/attribwrangle C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibSop.hda +Sop/attribwrangle C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibSop.hda Sop/attribwrangle otls/OPlibSop.hda -Vop/avgcomp C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/avgcomp C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/avgcomp otls/OPlibScripted.hda -Vop/clamp C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/clamp C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/clamp otls/OPlibScripted.hda -Vop/floattohvec C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/floattohvec C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/floattohvec otls/OPlibScripted.hda -Vop/floattovec C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/floattovec C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/floattovec otls/OPlibScripted.hda -Vop/hvectovec C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/hvectovec C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/hvectovec otls/OPlibScripted.hda -Vop/inttofloat C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/inttofloat C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/inttofloat otls/OPlibScripted.hda -Vop/invert C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/invert C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/invert otls/OPlibScripted.hda -Vop/isconnected C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/isconnected C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/isconnected otls/OPlibScripted.hda -Vop/lighting C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/lighting C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/lighting otls/OPlibScripted.hda -Vop/mix C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/mix C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/mix otls/OPlibScripted.hda -Vop/modulo C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/modulo C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/modulo otls/OPlibScripted.hda -Vop/renderstate C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/renderstate C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/renderstate otls/OPlibScripted.hda -Vop/sprite C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/sprite C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/sprite otls/OPlibScripted.hda -Sop/sprite C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibSop.hda +Sop/sprite C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibSop.hda Sop/sprite otls/OPlibSop.hda -Vop/subconst C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/subconst C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/subconst otls/OPlibScripted.hda -Vop/surfacecolor C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibVop.hda +Vop/surfacecolor C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibVop.hda Vop/surfacecolor otls/OPlibVop.hda -Vop/texture C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/texture C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/texture otls/OPlibScripted.hda -Vop/twoway C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/twoway C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/twoway otls/OPlibScripted.hda -Vop/uvcoords C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibVop.hda +Vop/uvcoords C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibVop.hda Vop/uvcoords otls/OPlibVop.hda -Vop/vectofloat C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibScripted.hda +Vop/vectofloat C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibScripted.hda Vop/vectofloat otls/OPlibScripted.hda diff --git a/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Contents.dir/Contents.mime b/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Contents.dir/Contents.mime index e47f3915..030f5563 100644 --- a/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Contents.dir/Contents.mime +++ b/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Contents.dir/Contents.mime @@ -32,7 +32,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 3.65777 -8.62788 +position -11.9667 -19.9663 connectornextid 1 flags = lock off model off template off footprint off xray off bypass off display on render on highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -40,16 +40,16 @@ outputsNamed3 } inputsNamed3 { -0 MOPs_Instancer1 1 1 "input1" +0 pointwrangle1 "" 1 "input1" } inputs { -0 MOPs_Instancer1 0 1 +0 pointwrangle1 0 1 } stat { - create 1580851620 - modify 1580851706 + create 1584163373 + modify 1584163506 author Henry@LAPPY586 access 0777 } @@ -74,7 +74,7 @@ Content-Disposition: attachment; filename="hdaroot.inp" Content-Type: text/plain 1 -0 -2.9039270987851751e-14 6.9496884262837089 2 0 __NO_OWNER_NETWORK_BOX__ "FROMOUTPUT" +0 0 6 2 0 __NO_OWNER_NETWORK_BOX__ "FROMOUTPUT" --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot/Apply_Attributes1.init" @@ -94,12 +94,12 @@ connectornextid 3 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 { -0 "output1" +2 "output1" } inputsNamed3 { -1 MOPS_IN 0 1 "input1" -2 switch_do_pscale 0 1 "input2" +0 MOPS_IN 0 1 "input1" +1 switch_do_pscale 0 1 "input2" } inputs { @@ -108,8 +108,8 @@ inputs } stat { - create 1569472199 - modify 1580851620 + create 1584163373 + modify 1584163465 author Henry@LAPPY586 access 0777 } @@ -135,17 +135,23 @@ Content-Type: text/plain flags = 0 segment { length = 0 expr = ch(\"../grouptype\") } } + channel do_translate { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 value = 1 1 expr = ch(\"../do_P\") } + } channel do_rotate { lefttype = extend righttype = extend flags = 0 segment { length = 0 value = 1 1 expr = ch(\"../switch_do_orient/input\") } } - channel do_falloff { + channel local_space { lefttype = extend righttype = extend flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../do_falloff2\") } + segment { length = 0 value = 1 1 expr = ch(\"../local_space\") } } channel rotate_mode { lefttype = extend @@ -153,23 +159,23 @@ Content-Type: text/plain flags = 0 segment { length = 0 expr = ch(\"../rotate_mode\") } } - channel scale_mode { + channel rotate_order { lefttype = extend righttype = extend flags = 0 - segment { length = 0 expr = ch(\"../scale_mode\") } + segment { length = 0 expr = ch(\"../order\") } } - channel rotate_order { + channel scale_mode { lefttype = extend righttype = extend flags = 0 - segment { length = 0 expr = ch(\"../order\") } + segment { length = 0 expr = ch(\"../scale_mode\") } } - channel local_space { + channel do_falloff { lefttype = extend righttype = extend flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../local_space\") } + segment { length = 0 value = 1 1 expr = ch(\"../do_falloff2\") } } } @@ -182,25 +188,25 @@ version 0.8 group [ 0 locks=0 autoscope=0 ] ( [ group "" ] ) grouptype [ 0 locks=0 autoscope=0 ] ( [ grouptype 0 ] ) sepparm [ 0 locks=0 ] ( ) -matchmode [ 0 locks=0 ] ( "0" ) -folder0 [ 0 locks=0 ] ( 0 0 0 ) -do_translate [ 0 locks=0 ] ( "on" ) -do_rotate [ 0 locks=0 autoscope=0 ] ( [ do_rotate 1 ] ) -do_scale [ 0 locks=0 ] ( "on" ) -do_pivots [ 0 locks=0 ] ( "on" ) +matchmode [ 0 locks=0 autoscope=0 ] ( "0" ) +folder0 [ 0 locks=0 autoscope=0 ] ( 0 0 0 ) +do_translate [ 0 locks=0 autoscope=0 ] ( [ do_translate 0 ] ) +do_rotate [ 0 locks=0 autoscope=0 ] ( [ do_rotate 0 ] ) +do_scale [ 0 locks=0 autoscope=0 ] ( "on" ) +do_pivots [ 0 locks=0 autoscope=0 ] ( "off" ) sepparm2 [ 0 locks=0 ] ( ) -local_space [ 0 locks=0 autoscope=0 ] ( [ local_space 1 ] ) +local_space [ 0 locks=0 autoscope=0 ] ( [ local_space 0 ] ) rotate_mode [ 0 locks=0 autoscope=0 ] ( [ rotate_mode 0 ] ) rotate_order [ 0 locks=0 autoscope=0 ] ( [ rotate_order 0 ] ) scale_mode [ 0 locks=0 autoscope=0 ] ( [ scale_mode 0 ] ) -do_falloff [ 0 locks=0 autoscope=0 ] ( [ do_falloff 1 ] ) -falloff_attribute [ 0 locks=0 ] ( mops_falloff ) -ignore_no_falloff [ 0 locks=0 ] ( "off" ) +do_falloff [ 0 locks=0 autoscope=0 ] ( [ do_falloff 0 ] ) +falloff_attribute [ 0 locks=0 autoscope=0 ] ( mops_falloff ) +ignore_no_falloff [ 0 locks=0 autoscope=0 ] ( "off" ) do_copy_attrs [ 0 locks=0 autoscope=0 ] ( "off" ) -attribname [ 0 locks=0 ] ( "" ) -do_make_id [ 0 locks=0 ] ( "on" ) -do_orient [ 0 locks=0 ] ( "on" ) -do_output_scale [ 0 locks=0 ] ( "on" ) +attribname [ 0 locks=0 autoscope=0 ] ( "" ) +do_make_id [ 0 locks=0 autoscope=0 ] ( "on" ) +do_orient [ 0 locks=0 autoscope=0 ] ( "on" ) +do_output_scale [ 0 locks=0 autoscope=0 ] ( "on" ) sepparm3 [ 0 locks=0 ] ( ) } @@ -244,8 +250,8 @@ inputs } stat { - create 1528499331 - modify 1580851620 + create 1584163374 + modify 1584163598 author Henry@LAPPY586 access 0777 } @@ -431,8 +437,8 @@ inputs } stat { - create 1528499331 - modify 1580851620 + create 1584163374 + modify 1584163598 author Henry@LAPPY586 access 0777 } @@ -488,6 +494,12 @@ Content-Type: text/plain flags = 0 segment { length = 0 expr = ch(\"../seed5\") } } + channel seedattrib { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = chs(\"../seed_attr\") } + } } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -502,7 +514,7 @@ class [ 0 locks=0 autoscope=0 ] ( "point" ) name [ 0 locks=0 autoscope=0 ] ( scale ) operation [ 0 locks=0 autoscope=0 ] ( set ) scale [ 0 locks=0 autoscope=0 ] ( 1 ) -folder0 [ 0 locks=0 autoscope=0 ] ( 0 0 ) +folder0 [ 0 locks=0 autoscope=0 ] ( 1 1 ) distribution [ 0 locks=0 autoscope=0 ] ( uniform ) dimensions [ 0 locks=0 autoscope=0 ] ( 3 ) allsame [ 0 locks=0 autoscope=0 ] ( "off" ) @@ -547,7 +559,7 @@ usefractionattrib [ 0 locks=0 autoscope=0 ] ( "off" ) fractionattrib [ 0 locks=0 autoscope=0 ] ( fraction ) seed [ 0 locks=0 autoscope=0 ] ( [ seed 0 ] ) useseedattrib [ 0 locks=0 autoscope=0 ] ( "on" ) -seedattrib [ 0 locks=0 autoscope=0 ] ( id ) +seedattrib [ 0 locks=0 autoscope=0 ] ( [ seedattrib id ] ) ramp1pos [ 0 locks=0 autoscope=0 ] ( 0 ) ramp1value [ 0 locks=0 autoscope=0 ] ( 0 ) ramp1interp [ 0 locks=0 autoscope=0 ] ( "monotonecubic" ) @@ -612,8 +624,8 @@ inputs } stat { - create 1528499331 - modify 1580851620 + create 1584163374 + modify 1584163586 author Henry@LAPPY586 access 0777 } @@ -645,6 +657,12 @@ Content-Type: text/plain flags = 0 segment { length = 0 value = 5286 5286 expr = ch(\"../seed3\") } } + channel seedattrib { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = chs(\"../seed_attr\") } + } } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -659,7 +677,7 @@ class [ 0 locks=0 autoscope=0 ] ( "point" ) name [ 0 locks=0 autoscope=0 ] ( pscale ) operation [ 0 locks=0 autoscope=0 ] ( set ) scale [ 0 locks=0 autoscope=0 ] ( 1 ) -folder0 [ 0 locks=0 autoscope=0 ] ( 0 0 ) +folder0 [ 0 locks=0 autoscope=0 ] ( 1 1 ) distribution [ 0 locks=0 autoscope=0 ] ( uniform ) dimensions [ 0 locks=0 autoscope=0 ] ( 1 ) allsame [ 0 locks=0 autoscope=0 ] ( "off" ) @@ -667,7 +685,7 @@ constvalue [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) valuea [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) valueb [ 0 locks=0 autoscope=0 ] ( 1 1 1 1 ) probvalueb [ 0 locks=0 autoscope=0 ] ( 0.5 ) -min [ 0 locks=0 autoscope=0 ] ( [ minx 0.087999999999999995 ] 0 0 0 ) +min [ 0 locks=0 autoscope=0 ] ( [ minx 0 ] 0 0 0 ) max [ 0 locks=0 autoscope=0 ] ( [ maxx 1 ] 1 1 1 ) mindiscrete [ 0 locks=0 autoscope=0 ] ( 0 0 0 0 ) maxdiscrete [ 0 locks=0 autoscope=0 ] ( 9 9 9 9 ) @@ -704,7 +722,7 @@ usefractionattrib [ 0 locks=0 autoscope=0 ] ( "off" ) fractionattrib [ 0 locks=0 autoscope=0 ] ( fraction ) seed [ 0 locks=0 autoscope=0 ] ( [ seed 0 ] ) useseedattrib [ 0 locks=0 autoscope=0 ] ( "on" ) -seedattrib [ 0 locks=0 autoscope=0 ] ( id ) +seedattrib [ 0 locks=0 autoscope=0 ] ( [ seedattrib id ] ) ramp1pos [ 0 locks=0 autoscope=0 ] ( 0 ) ramp1value [ 0 locks=0 autoscope=0 ] ( 0 ) ramp1interp [ 0 locks=0 autoscope=0 ] ( "monotonecubic" ) @@ -761,7 +779,7 @@ outputsNamed3 } inputsNamed3 { -0 Apply_Attributes1 0 1 "input1" +0 Apply_Attributes1 2 1 "input1" } inputs { @@ -769,8 +787,8 @@ inputs } stat { - create 1528499331 - modify 1580851620 + create 1584163374 + modify 1584163586 author Henry@LAPPY586 access 0777 } @@ -802,18 +820,11 @@ Content-Type: text/plain flags = 0 segment { length = 0 value = 3189 3189 expr = ch(\"../seed4\") } } - channel useseedattrib { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../useseedattrib\") } - } channel seedattrib { lefttype = extend righttype = extend - defaultString = \"id\" flags = 0 - segment { length = 0 expr = chs(\"../seedattrib\") } + segment { length = 0 expr = chs(\"../seed_attr\") } } } @@ -873,7 +884,7 @@ nvisualizepts [ 0 locks=0 autoscope=0 ] ( 10000 ) usefractionattrib [ 0 locks=0 autoscope=0 ] ( "off" ) fractionattrib [ 0 locks=0 autoscope=0 ] ( fraction ) seed [ 0 locks=0 autoscope=0 ] ( [ seed 0 ] ) -useseedattrib [ 0 locks=0 autoscope=0 ] ( [ useseedattrib 0 ] ) +useseedattrib [ 0 locks=0 autoscope=0 ] ( "on" ) seedattrib [ 0 locks=0 autoscope=0 ] ( [ seedattrib id ] ) ramp1pos [ 0 locks=0 autoscope=0 ] ( 0 ) ramp1value [ 0 locks=0 autoscope=0 ] ( 0 ) @@ -931,7 +942,7 @@ outputsNamed3 } inputsNamed3 { -0 Apply_Attributes1 0 1 "input1" +0 Apply_Attributes1 2 1 "input1" 1 attribrandomize4 1 1 "input2" } inputs @@ -941,8 +952,8 @@ inputs } stat { - create 1528499331 - modify 1580851620 + create 1584163374 + modify 1584163461 author Henry@LAPPY586 access 0777 } @@ -989,34 +1000,34 @@ Content-Type: text/plain { version 0.8 group [ 0 locks=0 autoscope=0 ] ( `chs(\"../Apply_Attributes1/group\")` ) -grouptype [ 0 locks=0 ] ( "guess" ) -falloff_attr [ 0 locks=0 ] ( mops_falloff ) -input [ 0 locks=0 autoscope=0 ] ( [ input 8 ] ) +grouptype [ 0 locks=0 autoscope=0 ] ( "guess" ) +falloff_attr [ 0 locks=0 autoscope=0 ] ( mops_falloff ) +input [ 0 locks=0 autoscope=0 ] ( [ input 0 ] ) strength [ 0 locks=0 autoscope=0 ] ( [ strength 1 ] ) switchclamp [ 0 locks=0 autoscope=0 ] ( [ switchclamp 0 ] ) sepparm [ 0 locks=0 ] ( ) do_preview [ 0 locks=0 autoscope=0 ] ( [ do_preview 0 ] ) -folder0 [ 0 locks=0 ] ( 0 ) -do_sprite [ 0 locks=0 ] ( "on" ) -spritescale [ 0 locks=0 ] ( 1 ) -override_scale [ 0 locks=0 ] ( "off" ) -ramp_preset [ 0 locks=0 ] ( "heatmap" ) -falloff_heatmap [ 0 locks=0 ] ( 5 ) -falloff_heatmap1pos [ 0 locks=0 ] ( 0 ) -falloff_heatmap1c [ 0 locks=0 ] ( 0.036199998110532761 0 0.5429999828338623 ) -falloff_heatmap1interp [ 0 locks=0 ] ( "linear" ) -falloff_heatmap2pos [ 0 locks=0 ] ( 0.27027025818824768 ) -falloff_heatmap2c [ 0 locks=0 ] ( 0.7369999885559082 0 0 ) -falloff_heatmap2interp [ 0 locks=0 ] ( "linear" ) -falloff_heatmap3pos [ 0 locks=0 ] ( 0.71814674139022827 ) -falloff_heatmap3c [ 0 locks=0 ] ( 1 0.28333333134651184 0 ) -falloff_heatmap3interp [ 0 locks=0 ] ( "linear" ) -falloff_heatmap4pos [ 0 locks=0 ] ( 0.90154439210891724 ) -falloff_heatmap4c [ 0 locks=0 ] ( 0.89999997615814209 0.89999997615814209 0 ) -falloff_heatmap4interp [ 0 locks=0 ] ( "linear" ) -falloff_heatmap5pos [ 0 locks=0 ] ( 1 ) -falloff_heatmap5c [ 0 locks=0 ] ( 1 1 1 ) -falloff_heatmap5interp [ 0 locks=0 ] ( "linear" ) +folder0 [ 0 locks=0 autoscope=0 ] ( 0 ) +do_sprite [ 0 locks=0 autoscope=0 ] ( "on" ) +spritescale [ 0 locks=0 autoscope=0 ] ( 1 ) +override_scale [ 0 locks=0 autoscope=0 ] ( "off" ) +ramp_preset [ 0 locks=0 autoscope=0 ] ( "heatmap" ) +falloff_heatmap [ 0 locks=0 autoscope=0 ] ( 5 ) +falloff_heatmap1pos [ 0 locks=0 autoscope=0 ] ( 0 ) +falloff_heatmap1c [ 0 locks=0 autoscope=0 ] ( 0.036199998110532761 0 0.5429999828338623 ) +falloff_heatmap1interp [ 0 locks=0 autoscope=0 ] ( "linear" ) +falloff_heatmap2pos [ 0 locks=0 autoscope=0 ] ( 0.27027025818824768 ) +falloff_heatmap2c [ 0 locks=0 autoscope=0 ] ( 0.7369999885559082 0 0 ) +falloff_heatmap2interp [ 0 locks=0 autoscope=0 ] ( "linear" ) +falloff_heatmap3pos [ 0 locks=0 autoscope=0 ] ( 0.71814674139022827 ) +falloff_heatmap3c [ 0 locks=0 autoscope=0 ] ( 1 0.28333333134651184 0 ) +falloff_heatmap3interp [ 0 locks=0 autoscope=0 ] ( "linear" ) +falloff_heatmap4pos [ 0 locks=0 autoscope=0 ] ( 0.90154439210891724 ) +falloff_heatmap4c [ 0 locks=0 autoscope=0 ] ( 0.89999997615814209 0.89999997615814209 0 ) +falloff_heatmap4interp [ 0 locks=0 autoscope=0 ] ( "linear" ) +falloff_heatmap5pos [ 0 locks=0 autoscope=0 ] ( 1 ) +falloff_heatmap5c [ 0 locks=0 autoscope=0 ] ( 1 1 1 ) +falloff_heatmap5interp [ 0 locks=0 autoscope=0 ] ( "linear" ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -1060,8 +1071,8 @@ inputs } stat { - create 1528499331 - modify 1580851699 + create 1584163374 + modify 1584163469 author Henry@LAPPY586 access 0777 } @@ -1316,10 +1327,15 @@ Content-Type: text/plain channel rotation_scale { lefttype = extend righttype = extend - default = 1 flags = 0 segment { length = 0 value = 1 1 expr = ch(\"../rotation_scale\") } } + channel bindname1 { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = chs(\"../seed_attr\") } + } } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -1348,7 +1364,7 @@ v@euler = set(x,y,z) * scale;" ) exportlist [ 0 locks=0 autoscope=0 ] ( * ) vex_strict [ 0 locks=0 autoscope=0 ] ( "off" ) autobind [ 0 locks=0 autoscope=0 ] ( "on" ) -bindings [ 0 locks=0 autoscope=0 ] ( 0 ) +bindings [ 0 locks=0 autoscope=0 ] ( 1 ) groupautobind [ 0 locks=0 autoscope=0 ] ( "on" ) groupbindings [ 0 locks=0 autoscope=0 ] ( 0 ) vex_cwdpath [ 0 locks=0 autoscope=0 ] ( . ) @@ -1357,12 +1373,14 @@ vex_updatenmls [ 0 locks=0 autoscope=0 ] ( "off" ) vex_matchattrib [ 0 locks=0 autoscope=0 ] ( id ) vex_inplace [ 0 locks=0 autoscope=0 ] ( "off" ) vex_selectiongroup [ 0 locks=0 autoscope=0 ] ( "" ) -vex_precision [ 0 locks=0 ] ( auto ) -folder1 [ 0 locks=0 ] ( 0 0 ) +vex_precision [ 0 locks=0 autoscope=0 ] ( auto ) +folder1 [ 0 locks=0 autoscope=0 ] ( 1 1 ) seed [ 0 locks=0 autoscope=0 ] ( [ seed 0 ] ) -min [ 0 locks=0 autoscope=0 ] ( [ minx -360 ] [ miny -360 ] [ minz -360 ] ) -max [ 0 locks=0 autoscope=0 ] ( [ maxx 360 ] [ maxy 360 ] [ maxz 360 ] ) -rotation_scale [ 0 locks=0 ] ( [ rotation_scale 1 ] ) +min [ 0 locks=0 autoscope=0 ] ( [ minx 0 ] [ miny 0 ] [ minz 0 ] ) +max [ 0 locks=0 autoscope=0 ] ( [ maxx 0 ] [ maxy 0 ] [ maxz 0 ] ) +rotation_scale [ 0 locks=0 autoscope=0 ] ( [ rotation_scale 0 ] ) +bindname1 [ 0 locks=0 autoscope=0 ] ( [ bindname1 "" ] ) +bindparm1 [ 0 locks=0 autoscope=0 ] ( id ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -1394,11 +1412,11 @@ connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 { -1 "output1" +0 "output1" } inputsNamed3 { -0 switch_has_no_id 2 1 "input1" +1 switch_has_no_id 0 1 "input1" } inputs { @@ -1406,8 +1424,8 @@ inputs } stat { - create 1528936208 - modify 1580851620 + create 1584163374 + modify 1584163424 author Henry@LAPPY586 access 0777 } @@ -1422,28 +1440,28 @@ Content-Type: text/plain { version 0.8 -folder0 [ 0 locks=0 ] ( 0 0 ) -group [ 0 locks=0 ] ( "" ) -grouptype [ 0 locks=0 ] ( "guess" ) -class [ 0 locks=0 ] ( "point" ) -vex_numcount [ 0 locks=0 ] ( 10 ) -vex_threadjobsize [ 0 locks=0 ] ( 1024 ) -snippet [ 0 locks=0 ] ( "v@euler = 0; +folder0 [ 0 locks=0 autoscope=0 ] ( 0 0 ) +group [ 0 locks=0 autoscope=0 ] ( "" ) +grouptype [ 0 locks=0 autoscope=0 ] ( "guess" ) +class [ 0 locks=0 autoscope=0 ] ( "point" ) +vex_numcount [ 0 locks=0 autoscope=0 ] ( 10 ) +vex_threadjobsize [ 0 locks=0 autoscope=0 ] ( 1024 ) +snippet [ 0 locks=0 autoscope=0 ] ( "v@euler = 0; v@scale = 1; f@pscale = 1;" ) -exportlist [ 0 locks=0 ] ( * ) -vex_strict [ 0 locks=0 ] ( "off" ) -autobind [ 0 locks=0 ] ( "on" ) -bindings [ 0 locks=0 ] ( 0 ) -groupautobind [ 0 locks=0 ] ( "on" ) -groupbindings [ 0 locks=0 ] ( 0 ) -vex_cwdpath [ 0 locks=0 ] ( . ) -vex_outputmask [ 0 locks=0 ] ( * ) -vex_updatenmls [ 0 locks=0 ] ( "off" ) -vex_matchattrib [ 0 locks=0 ] ( id ) -vex_inplace [ 0 locks=0 ] ( "off" ) -vex_selectiongroup [ 0 locks=0 ] ( "" ) -vex_precision [ 0 locks=0 ] ( auto ) +exportlist [ 0 locks=0 autoscope=0 ] ( * ) +vex_strict [ 0 locks=0 autoscope=0 ] ( "off" ) +autobind [ 0 locks=0 autoscope=0 ] ( "on" ) +bindings [ 0 locks=0 autoscope=0 ] ( 0 ) +groupautobind [ 0 locks=0 autoscope=0 ] ( "on" ) +groupbindings [ 0 locks=0 autoscope=0 ] ( 0 ) +vex_cwdpath [ 0 locks=0 autoscope=0 ] ( . ) +vex_outputmask [ 0 locks=0 autoscope=0 ] ( * ) +vex_updatenmls [ 0 locks=0 autoscope=0 ] ( "off" ) +vex_matchattrib [ 0 locks=0 autoscope=0 ] ( id ) +vex_inplace [ 0 locks=0 autoscope=0 ] ( "off" ) +vex_selectiongroup [ 0 locks=0 autoscope=0 ] ( "" ) +vex_precision [ 0 locks=0 autoscope=0 ] ( auto ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -1475,11 +1493,11 @@ connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 { -1 "output1" +0 "output1" } inputsNamed3 { -0 init_values 1 1 "input1" +1 init_values 0 1 "input1" } inputs { @@ -1487,8 +1505,8 @@ inputs } stat { - create 1536946673 - modify 1580851620 + create 1584163374 + modify 1584163469 author Henry@LAPPY586 access 0777 } @@ -1698,13 +1716,6 @@ Content-Disposition: attachment; filename="hdaroot/randomize_P.chn" Content-Type: text/plain { - channel local { - lefttype = extend - righttype = extend - default = 1 - flags = 0 - segment { length = 0 value = 1 1 expr = ch(\"../local_space\") } - } channel seed { lefttype = extend righttype = extend @@ -1747,6 +1758,18 @@ Content-Type: text/plain flags = 0 segment { length = 0 expr = ch(\"../maxpz\") } } + channel local { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 value = 1 1 expr = ch(\"../local_space\") } + } + channel bindname1 { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = chs(\"../seed_attr\") } + } } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -1755,18 +1778,18 @@ Content-Type: text/plain { version 0.8 -folder0 [ 0 locks=0 ] ( 0 0 ) -group [ 0 locks=0 ] ( "" ) -grouptype [ 0 locks=0 ] ( "guess" ) -class [ 0 locks=0 ] ( "point" ) -vex_numcount [ 0 locks=0 ] ( 10 ) -vex_threadjobsize [ 0 locks=0 ] ( 1024 ) -snippet [ 0 locks=0 ] ( "float seed = ch(\"seed\"); +folder0 [ 0 locks=0 autoscope=0 ] ( 0 0 ) +group [ 0 locks=0 autoscope=0 ] ( "" ) +grouptype [ 0 locks=0 autoscope=0 ] ( "guess" ) +class [ 0 locks=0 autoscope=0 ] ( "point" ) +vex_numcount [ 0 locks=0 autoscope=0 ] ( 10 ) +vex_threadjobsize [ 0 locks=0 autoscope=0 ] ( 1024 ) +snippet [ 0 locks=0 autoscope=0 ] ( "float seed = ch(\"seed\"); vector min = chv(\"min\"); vector max = chv(\"max\"); -float x = fit01(rand(i@id+seed), min.x, max.x); -float y = fit01(rand(i@id+seed+345), min.y, max.y); -float z = fit01(rand(i@id+seed+678), min.z, max.z); +float x = fit01(rand(@id+seed), min.x, max.x); +float y = fit01(rand(@id+seed+345), min.y, max.y); +float z = fit01(rand(@id+seed+678), min.z, max.z); int local = chi(\"local\"); vector translate = set(x,y,z); if(local==1) { @@ -1775,24 +1798,26 @@ if(local==1) { translate = qrotate(q, translate); } @P += translate;" ) -exportlist [ 0 locks=0 ] ( * ) -vex_strict [ 0 locks=0 ] ( "off" ) -autobind [ 0 locks=0 ] ( "on" ) -bindings [ 0 locks=0 ] ( 0 ) -groupautobind [ 0 locks=0 ] ( "on" ) -groupbindings [ 0 locks=0 ] ( 0 ) -vex_cwdpath [ 0 locks=0 ] ( . ) -vex_outputmask [ 0 locks=0 ] ( * ) -vex_updatenmls [ 0 locks=0 ] ( "off" ) -vex_matchattrib [ 0 locks=0 ] ( id ) -vex_inplace [ 0 locks=0 ] ( "off" ) -vex_selectiongroup [ 0 locks=0 ] ( "" ) -vex_precision [ 0 locks=0 ] ( auto ) -folder1 [ 0 locks=0 ] ( 0 0 ) -seed [ 0 locks=0 ] ( [ seed 0 ] ) -min [ 0 locks=0 ] ( [ minx -0.20000000000000001 ] [ miny -0.20000000000000001 ] [ minz -0.20000000000000001 ] ) -max [ 0 locks=0 ] ( [ maxx 0.20000000000000001 ] [ maxy 0.20000000000000001 ] [ maxz 0.20000000000000001 ] ) -local [ 8 locks=0 ] ( [ local 1 ] ) +exportlist [ 0 locks=0 autoscope=0 ] ( * ) +vex_strict [ 0 locks=0 autoscope=0 ] ( "off" ) +autobind [ 0 locks=0 autoscope=0 ] ( "on" ) +bindings [ 0 locks=0 autoscope=0 ] ( 1 ) +groupautobind [ 0 locks=0 autoscope=0 ] ( "on" ) +groupbindings [ 0 locks=0 autoscope=0 ] ( 0 ) +vex_cwdpath [ 0 locks=0 autoscope=0 ] ( . ) +vex_outputmask [ 0 locks=0 autoscope=0 ] ( * ) +vex_updatenmls [ 0 locks=0 autoscope=0 ] ( "off" ) +vex_matchattrib [ 0 locks=0 autoscope=0 ] ( id ) +vex_inplace [ 0 locks=0 autoscope=0 ] ( "off" ) +vex_selectiongroup [ 0 locks=0 autoscope=0 ] ( "" ) +vex_precision [ 0 locks=0 autoscope=0 ] ( auto ) +folder1 [ 0 locks=0 autoscope=0 ] ( 1 1 ) +seed [ 0 locks=0 autoscope=0 ] ( [ seed 0 ] ) +min [ 0 locks=0 autoscope=0 ] ( [ minx 0 ] [ miny 0 ] [ minz 0 ] ) +max [ 0 locks=0 autoscope=0 ] ( [ maxx 0 ] [ maxy 0 ] [ maxz 0 ] ) +local [ 0 locks=0 autoscope=0 ] ( [ local 0 ] ) +bindname1 [ 0 locks=0 autoscope=0 ] ( [ bindname1 "" ] ) +bindparm1 [ 0 locks=0 autoscope=0 ] ( id ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -1828,7 +1853,7 @@ outputsNamed3 } inputsNamed3 { -1 attribswap1 1 1 "input1" +1 attribswap1 0 1 "input1" } inputs { @@ -1836,8 +1861,8 @@ inputs } stat { - create 1528499331 - modify 1565235763 + create 1584163374 + modify 1584163382 author Henry@LAPPY586 access 0777 } @@ -1863,7 +1888,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"18.0.348" + "value":"18.0.391" } } @@ -1889,8 +1914,8 @@ outputsNamed3 } inputsNamed3 { -1 init_values 1 1 "input1" -2 randomize_P 1 1 "input2" +1 init_values 0 1 "input1" +2 randomize_P 0 1 "input2" } inputs { @@ -1899,8 +1924,8 @@ inputs } stat { - create 1528499331 - modify 1580851620 + create 1584163374 + modify 1584163384 author Henry@LAPPY586 access 0777 } @@ -1938,7 +1963,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"18.0.348" + "value":"18.0.391" } } @@ -1974,8 +1999,8 @@ inputs } stat { - create 1528499331 - modify 1580851620 + create 1584163374 + modify 1584163384 author Henry@LAPPY586 access 0777 } @@ -2003,7 +2028,7 @@ Content-Type: text/plain { version 0.8 -input [ 0 locks=0 autoscope=0 ] ( [ input 1 ] ) +input [ 0 locks=0 autoscope=0 ] ( [ input 0 ] ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -2013,7 +2038,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"18.0.348" + "value":"18.0.391" } } @@ -2049,8 +2074,8 @@ inputs } stat { - create 1528499331 - modify 1580851620 + create 1584163374 + modify 1584163384 author Henry@LAPPY586 access 0777 } @@ -2088,7 +2113,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"18.0.348" + "value":"18.0.391" } } @@ -2113,7 +2138,7 @@ outputsNamed3 } inputsNamed3 { -0 attribswap2 1 1 "input1" +0 attribswap2 0 1 "input1" } inputs { @@ -2121,8 +2146,8 @@ inputs } stat { - create 1528499331 - modify 1565235814 + create 1584163374 + modify 1584163388 author Henry@LAPPY586 access 0777 } @@ -2147,7 +2172,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"18.0.348" + "value":"18.0.391" } } @@ -2183,8 +2208,8 @@ inputs } stat { - create 1528499331 - modify 1580851620 + create 1584163374 + modify 1584163384 author Henry@LAPPY586 access 0777 } @@ -2222,7 +2247,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"18.0.348" + "value":"18.0.391" } } @@ -2244,12 +2269,12 @@ connectornextid 3 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 { -0 "output1" +2 "output1" } inputsNamed3 { -1 Apply_Attributes1 0 1 "input1" -2 Combine_Falloffs1 2 1 "input2" +0 Apply_Attributes1 2 1 "input1" +1 Combine_Falloffs1 2 1 "input2" } inputs { @@ -2258,8 +2283,8 @@ inputs } stat { - create 1528499331 - modify 1580851620 + create 1584163374 + modify 1584163384 author Henry@LAPPY586 access 0777 } @@ -2297,7 +2322,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"18.0.348" + "value":"18.0.391" } } @@ -2319,12 +2344,12 @@ connectornextid 3 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 { -2 "output1" +0 "output1" } inputsNamed3 { -0 MOPS_IN 0 1 "input1" -1 enumerate1 1 1 "input2" +1 MOPS_IN 0 1 "input1" +2 enumerate1 0 1 "input2" } inputs { @@ -2333,9 +2358,9 @@ inputs } stat { - create 1541964861 - modify 1580851620 - author henry_foster@mvp-production2-mac03.local + create 1584163374 + modify 1584163384 + author Henry@LAPPY586 access 0777 } color UT_Color RGB 0.8 1 0.7 @@ -2362,7 +2387,7 @@ Content-Type: text/plain { version 0.8 -input [ 8 locks=0 ] ( [ input 0 ] ) +input [ 0 locks=0 autoscope=0 ] ( [ input 0 ] ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -2372,7 +2397,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"18.0.348" + "value":"18.0.391" } } @@ -2394,11 +2419,11 @@ connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 { -1 "output1" +0 "output1" } inputsNamed3 { -0 MOPS_IN 0 1 "input1" +1 MOPS_IN 0 1 "input1" } inputs { @@ -2406,9 +2431,9 @@ inputs } stat { - create 1541964870 - modify 1541964932 - author henry_foster@mvp-production2-mac03.local + create 1584163374 + modify 1584163392 + author Henry@LAPPY586 access 0777 } color UT_Color RGB 0.8 0.8 0.8 @@ -2422,13 +2447,13 @@ Content-Type: text/plain { version 0.8 -group [ 0 locks=0 ] ( "" ) -grouptype [ 0 locks=0 ] ( "point" ) -usepieceattrib [ 0 locks=0 ] ( "off" ) -pieceattrib [ 0 locks=0 ] ( name ) -attribname [ 0 locks=0 ] ( id ) -attribtype [ 0 locks=0 ] ( "int" ) -prefix [ 0 locks=0 ] ( piece ) +group [ 0 locks=0 autoscope=0 ] ( "" ) +grouptype [ 0 locks=0 autoscope=0 ] ( "point" ) +usepieceattrib [ 0 locks=0 autoscope=0 ] ( "off" ) +pieceattrib [ 0 locks=0 autoscope=0 ] ( name ) +attribname [ 0 locks=0 autoscope=0 ] ( id ) +attribtype [ 0 locks=0 autoscope=0 ] ( "int" ) +prefix [ 0 locks=0 autoscope=0 ] ( piece ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -2438,7 +2463,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"18.0.348" + "value":"18.0.391" } } @@ -2460,11 +2485,11 @@ connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 { -1 "output1" +0 "output1" } inputsNamed3 { -0 (0) "" 1 "input1" +1 (0) "" 1 "input1" } inputs { @@ -2472,8 +2497,8 @@ inputs } stat { - create 1565235763 - modify 1580851620 + create 1584163374 + modify 1584163398 author Henry@LAPPY586 access 0777 } @@ -2490,7 +2515,6 @@ Content-Type: text/plain channel srcattribs1 { lefttype = extend righttype = extend - defaultString = \"mops_falloff\" flags = 0 segment { length = 0 expr = chs(\"../falloff_attr\") } } @@ -2502,13 +2526,13 @@ Content-Type: text/plain { version 0.8 -numswaps [ 0 locks=0 ] ( 1 ) -enable1 [ 0 locks=0 ] ( "on" ) -method1 [ 0 locks=0 ] ( "swap" ) -class1 [ 0 locks=0 ] ( "point" ) -srcattribs1 [ 0 locks=0 ] ( [ srcattribs1 mops_falloff ] ) -dstattribs1 [ 0 locks=0 ] ( mops_falloff ) -typeinfo1 [ 0 locks=0 ] ( "dest" ) +numswaps [ 0 locks=0 autoscope=0 ] ( 1 ) +enable1 [ 0 locks=0 autoscope=0 ] ( "on" ) +method1 [ 0 locks=0 autoscope=0 ] ( "swap" ) +class1 [ 0 locks=0 autoscope=0 ] ( "point" ) +srcattribs1 [ 0 locks=0 autoscope=0 ] ( [ srcattribs1 "" ] ) +dstattribs1 [ 0 locks=0 autoscope=0 ] ( mops_falloff ) +typeinfo1 [ 0 locks=0 autoscope=0 ] ( "dest" ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -2518,7 +2542,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"18.0.348" + "value":"18.0.391" } } @@ -2540,11 +2564,11 @@ connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 { -1 "output1" +0 "output1" } inputsNamed3 { -0 switch_do_falloff 0 1 "input1" +1 switch_do_falloff 2 1 "input1" } inputs { @@ -2552,8 +2576,8 @@ inputs } stat { - create 1565235814 - modify 1580851620 + create 1584163374 + modify 1584163395 author Henry@LAPPY586 access 0777 } @@ -2568,13 +2592,13 @@ Content-Type: text/plain { version 0.8 -numswaps [ 0 locks=0 ] ( 1 ) -enable1 [ 0 locks=0 ] ( "on" ) -method1 [ 0 locks=0 ] ( "swap" ) -class1 [ 0 locks=0 ] ( "point" ) -srcattribs1 [ 0 locks=0 ] ( mops_falloff ) -dstattribs1 [ 0 locks=0 ] ( `chs(\"../attribswap1/srcattribs1\")` ) -typeinfo1 [ 0 locks=0 ] ( "dest" ) +numswaps [ 0 locks=0 autoscope=0 ] ( 1 ) +enable1 [ 0 locks=0 autoscope=0 ] ( "on" ) +method1 [ 0 locks=0 autoscope=0 ] ( "swap" ) +class1 [ 0 locks=0 autoscope=0 ] ( "point" ) +srcattribs1 [ 0 locks=0 autoscope=0 ] ( mops_falloff ) +dstattribs1 [ 0 locks=0 autoscope=0 ] ( `chs(\"../attribswap1/srcattribs1\")` ) +typeinfo1 [ 0 locks=0 autoscope=0 ] ( "dest" ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -2584,7 +2608,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"18.0.348" + "value":"18.0.391" } } diff --git a/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/DialogScript b/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/DialogScript index 398b604b..df1555b5 100644 --- a/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/DialogScript +++ b/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/DialogScript @@ -68,6 +68,15 @@ type separator default { "" } } + parm { + name "seed_attr" + label "Seed Attribute" + type string + default { "id" } + range { 0 1 } + parmtag { "autoscope" "0000000000000000" } + parmtag { "script_callback_language" "python" } + } parm { name "local_space" label "Local Space" @@ -371,6 +380,7 @@ name "useseedattrib" label "Use Seed Attribute" type toggle + invisible nolabel joinnext default { "off" } @@ -381,6 +391,7 @@ name "seedattrib" label "Seed Attribute" type string + invisible default { "id" } disablewhen "{ useseedattrib == 0 }" range { 0 1 } diff --git a/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/ExtraFileOptions b/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/ExtraFileOptions index 4fb379d1..50ed9033 100644 --- a/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/ExtraFileOptions +++ b/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/ExtraFileOptions @@ -21,7 +21,7 @@ }, "ViewerStateModule/CodeGenInput":{ "type":"string", - "value":"{\n\t\"state_name\":\"\",\n\t\"state_label\":\"\",\n\t\"state_descr\":\"\",\n\t\"state_icon\":\"$HH/config/Icons\",\n\t\"state_sample\":0,\n\t\"state_handler_indices\":[]\n}\n" + "value":"{\n\t\"state_name\":\"\",\n\t\"state_label\":\"\",\n\t\"state_descr\":\"\",\n\t\"state_icon\":\"$HH/config/Icons\",\n\t\"state_debug_menu\":0,\n\t\"state_sample\":0,\n\t\"state_handler_indices\":[]\n}\n" }, "mops_modifier_02.svg/Cursor":{ "type":"intarray", diff --git a/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Help b/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Help index afd20667..01c73bdf 100644 --- a/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Help +++ b/otls/MOPS_Randomize.hda/MOPS_8_8Sop_1Randomize_8_81.1/Help @@ -23,6 +23,10 @@ Enable Falloff: Falloff Attribute: #id: falloff_attr The point attribute to use as the falloff attribute. + +Seed Attribute: + #id: seed_attr + The point attribute to use as the offset to the Random Seed attributes. Randomize Position: #id: do_P diff --git a/otls/MOPS_applyAttributes.hda/INDEX__SECTION b/otls/MOPS_applyAttributes.hda/INDEX__SECTION index fa22ba11..4ebbce33 100644 --- a/otls/MOPS_applyAttributes.hda/INDEX__SECTION +++ b/otls/MOPS_applyAttributes.hda/INDEX__SECTION @@ -10,7 +10,7 @@ Inputs: 2 to 2 Subnet: true Python: false Empty: false -Modified: Sat Jan 5 07:24:00 2019 +Modified: Fri Jan 4 22:24:00 2019 Operator: MOPS::Apply_Attributes::1.1 Label: MOPs Apply Attributes @@ -66,5 +66,5 @@ Inputs: 2 to 2 Subnet: true Python: false Empty: false -Modified: Sun Mar 8 11:27:09 2020 +Modified: Sat Mar 14 11:10:44 2020 diff --git a/otls/MOPS_applyAttributes.hda/MOPS_8_8Sop_1Apply__Attributes_8_81.4/Contents.dir/.OPdummydefs b/otls/MOPS_applyAttributes.hda/MOPS_8_8Sop_1Apply__Attributes_8_81.4/Contents.dir/.OPdummydefs index 308c32b7..ce2fabe5 100644 Binary files a/otls/MOPS_applyAttributes.hda/MOPS_8_8Sop_1Apply__Attributes_8_81.4/Contents.dir/.OPdummydefs and b/otls/MOPS_applyAttributes.hda/MOPS_8_8Sop_1Apply__Attributes_8_81.4/Contents.dir/.OPdummydefs differ diff --git a/otls/MOPS_applyAttributes.hda/MOPS_8_8Sop_1Apply__Attributes_8_81.4/Contents.dir/Contents.mime b/otls/MOPS_applyAttributes.hda/MOPS_8_8Sop_1Apply__Attributes_8_81.4/Contents.dir/Contents.mime index 89749cd7..97dd4282 100644 --- a/otls/MOPS_applyAttributes.hda/MOPS_8_8Sop_1Apply__Attributes_8_81.4/Contents.dir/Contents.mime +++ b/otls/MOPS_applyAttributes.hda/MOPS_8_8Sop_1Apply__Attributes_8_81.4/Contents.dir/Contents.mime @@ -52,7 +52,7 @@ inputs stat { create 1569469174 - modify 1583691873 + modify 1584209369 author Henry@LAPPY586 access 0777 } @@ -113,7 +113,7 @@ inputs stat { create 1529358487 - modify 1583691974 + modify 1584209285 author Henry@LAPPY586 access 0777 } @@ -646,7 +646,7 @@ if(doR) { orient2 = qmultiply(orient2, qinvert(mops_orient)); p@__orient2 = orient2; } - vector4 out_orient = qmultiply(orient, orient2); + vector4 out_orient = qmultiply(orient2, orient); if(!local){ out_orient = qmultiply(orient2, orient); } @@ -672,7 +672,7 @@ p@__out_orient = orient; // generate output matrix. use the inverse of mops_orient axes at first (default is ident) matrix3 out = invert(qconvert(mops_orient)); -scale(out, scale*pscale); +scale(out, (scale*pscale)); // now rotate this matrix by mops_orient. out *= qconvert(mops_orient); @@ -701,7 +701,7 @@ do_scale [ 0 locks=0 autoscope=0 ] ( [ do_scale 1 ] ) do_weight [ 0 locks=0 autoscope=0 ] ( [ do_weight 1 ] ) rotate_mode [ 0 locks=0 autoscope=0 ] ( [ rotate_mode 0 ] ) scale_mode [ 0 locks=0 autoscope=0 ] ( [ scale_mode 0 ] ) -local_space [ 0 locks=0 autoscope=0 ] ( [ local_space 1 ] ) +local_space [ 0 locks=0 autoscope=0 ] ( [ local_space 0 ] ) rotate_order [ 0 locks=0 autoscope=0 ] ( [ rotate_order 0 ] ) falloff_attribute [ 0 locks=0 ] ( [ falloff_attribute mops_falloff ] ) can_ignore_falloff [ 8 locks=0 ] ( [ can_ignore_falloff 0 ] ) @@ -750,7 +750,7 @@ inputs stat { create 1529358487 - modify 1583691868 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -833,7 +833,7 @@ inputs stat { create 1555437557 - modify 1583691914 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -929,7 +929,7 @@ inputs stat { create 1569084024 - modify 1583690426 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -998,7 +998,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -1.31613 0.494133 +position -1.31613 -0.23292 connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -1016,7 +1016,7 @@ inputs stat { create 1583618763 - modify 1583692002 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -1096,7 +1096,7 @@ inputs stat { create 1583691828 - modify 1583691869 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -1158,7 +1158,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 1.60794 -1.41911 +position 1.60794 -2.14616 connectornextid 3 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -1178,7 +1178,7 @@ inputs stat { create 1529358487 - modify 1583690426 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -1331,7 +1331,7 @@ inputs stat { create 1529358487 - modify 1583690426 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -1447,7 +1447,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -0.382921 -17.6769 +position -0.382921 -18.404 connectornextid 1 flags = lock off model off template off footprint off xray off bypass off display on render on highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -1464,7 +1464,7 @@ inputs stat { create 1529358487 - modify 1583519692 + modify 1584209162 author Henry@LAPPY586 access 0777 } @@ -1506,7 +1506,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -0.386371 -14.9128 +position -0.386371 -15.6399 connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -1524,7 +1524,7 @@ inputs stat { create 1529358487 - modify 1583692018 + modify 1584173407 author Henry@LAPPY586 access 0777 } @@ -1570,7 +1570,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -0.330122 -3.59871 +position -0.330122 -4.32576 connectornextid 3 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -1590,7 +1590,7 @@ inputs stat { create 1529358487 - modify 1583690426 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -1665,7 +1665,7 @@ inputs stat { create 1529358487 - modify 1583691868 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -1801,7 +1801,7 @@ inputs stat { create 1555459453 - modify 1583691873 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -1857,7 +1857,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -0.382921 -12.8305 +position -0.382921 -13.5576 connectornextid 3 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -1877,7 +1877,7 @@ inputs stat { create 1556862778 - modify 1583690426 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -1952,7 +1952,7 @@ inputs stat { create 1569084092 - modify 1583690426 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -2007,7 +2007,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -0.382921 -10.5558 +position -0.382921 -11.2829 connectornextid 3 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -2027,7 +2027,7 @@ inputs stat { create 1569468433 - modify 1583690426 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -2082,7 +2082,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 1.14262 -4.59657 +position 1.14262 -5.32362 connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -2100,7 +2100,7 @@ inputs stat { create 1569468449 - modify 1583618263 + modify 1584173407 author Henry@LAPPY586 access 0777 } @@ -2148,7 +2148,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 1.33907 -11.6784 +position 1.33907 -12.4055 connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -2166,7 +2166,7 @@ inputs stat { create 1569470684 - modify 1583618259 + modify 1584173407 author Henry@LAPPY586 access 0777 } @@ -2214,7 +2214,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 1.00353 -5.59657 +position 1.00353 -6.32362 connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -2232,7 +2232,7 @@ inputs stat { create 1569709553 - modify 1583618265 + modify 1584173407 author Henry@LAPPY586 access 0777 } @@ -2300,7 +2300,7 @@ inputs stat { create 1573854736 - modify 1583690426 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -2423,7 +2423,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 0.788374 -2.47911 +position 0.788374 -3.20616 connectornextid 3 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -2443,7 +2443,7 @@ inputs stat { create 1583519692 - modify 1583690426 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -2472,7 +2472,7 @@ Content-Type: text/plain { version 0.8 -input [ 0 locks=0 ] ( [ input 1 ] ) +input [ 0 locks=0 ] ( [ input 0 ] ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -2499,7 +2499,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 4.82342 -1.31205 +position 4.82342 -2.0391 connectornextid 3 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -2519,7 +2519,7 @@ inputs stat { create 1529358487 - modify 1583690426 + modify 1584208869 author Henry@LAPPY586 access 0777 } @@ -2604,7 +2604,7 @@ inputs stat { create 1583618748 - modify 1583692008 + modify 1584173368 author Henry@LAPPY586 access 0777 } diff --git a/otls/MOPS_instancer.hda/INDEX__SECTION b/otls/MOPS_instancer.hda/INDEX__SECTION index 64a899d9..61902f92 100644 --- a/otls/MOPS_instancer.hda/INDEX__SECTION +++ b/otls/MOPS_instancer.hda/INDEX__SECTION @@ -52,7 +52,7 @@ Inputs: 0 to 500 Subnet: true Python: false Empty: false -Modified: Tue Feb 4 00:16:24 2020 +Modified: Sun Feb 2 09:16:24 2020 Operator: MOPS::Instancer::1.4 Label: MOPs Instancer @@ -66,5 +66,5 @@ Inputs: 0 to 500 Subnet: true Python: false Empty: false -Modified: Mon Mar 9 23:02:39 2020 +Modified: Sat Mar 14 10:12:07 2020 diff --git a/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/Contents.dir/.OPdummydefs b/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/Contents.dir/.OPdummydefs index b1700868..38a0154d 100644 Binary files a/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/Contents.dir/.OPdummydefs and b/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/Contents.dir/.OPdummydefs differ diff --git a/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/Contents.dir/.OPfallbacks b/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/Contents.dir/.OPfallbacks index 8400148a..ca74c1d6 100644 --- a/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/Contents.dir/.OPfallbacks +++ b/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/Contents.dir/.OPfallbacks @@ -1,5 +1,3 @@ -MOPS::Sop/Apply_Attributes::1.3 C:/Users/Henry/Projects/VFX/MOPS_Prime/otls/MOPS_applyAttributes.hda -MOPS::Sop/Apply_Attributes::1.3 otls/MOPS_applyAttributes.hda MOPS::Sop/Apply_Attributes::1.4 C:/Users/Henry/Projects/VFX/MOPS_Prime/otls/MOPS_applyAttributes.hda MOPS::Sop/Apply_Attributes::1.4 otls/MOPS_applyAttributes.hda MOPS::Sop/Extract_Attributes::1.0 C:/Users/Henry/Projects/VFX/MOPS_Prime/otls/MOPS_extractAttributes.hda diff --git a/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/Contents.dir/Contents.mime b/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/Contents.dir/Contents.mime index f47acdfb..5318024d 100644 --- a/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/Contents.dir/Contents.mime +++ b/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/Contents.dir/Contents.mime @@ -32,24 +32,23 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -4.49608 1.08496 +position -5.09351 -1.33284 connectornextid 1 -flags = lock off model off template off footprint off xray off bypass off display on render on highlight off unload off savedata off compress on colordefault on exposed on +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 { +0 "output1" } inputsNamed3 { -0 box1 0 1 "input1" } inputs { -0 box1 0 1 } stat { - create 1583819434 - modify 1583820304 + create 1584171257 + modify 1584205958 author Henry@LAPPY586 access 0777 } @@ -606,7 +605,7 @@ inputs stat { create 1567573997 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -781,7 +780,7 @@ inputs stat { create 1509153811 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -1077,7 +1076,7 @@ inputs stat { create 1529112595 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -1358,7 +1357,7 @@ inputs stat { create 1509161781 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -1444,7 +1443,7 @@ inputs stat { create 1509161957 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -1739,10 +1738,10 @@ vex_inplace [ 0 locks=0 ] ( "off" ) vex_selectiongroup [ 0 locks=0 ] ( "" ) vex_precision [ 0 locks=0 ] ( auto ) folder1 [ 0 locks=0 ] ( 0 0 ) -grid_x [ 0 locks=0 ] ( [ grid_x 5 ] ) +grid_x [ 0 locks=0 ] ( [ grid_x 20 ] ) grid_y [ 0 locks=0 ] ( [ grid_y 1 ] ) -grid_z [ 0 locks=0 ] ( [ grid_z 5 ] ) -distance [ 0 locks=0 ] ( [ distancex 0.20000000000000001 ] [ distancey 0.20000000000000001 ] [ distancez 0.20000000000000001 ] ) +grid_z [ 0 locks=0 ] ( [ grid_z 20 ] ) +distance [ 0 locks=0 ] ( [ distancex 0.14999999999999999 ] [ distancey 0.14999999999999999 ] [ distancez 0.14999999999999999 ] ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -1787,7 +1786,7 @@ inputs stat { create 1522120372 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -2154,7 +2153,7 @@ inputs stat { create 1567742577 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -2330,7 +2329,7 @@ inputs stat { create 1529458439 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -2605,7 +2604,7 @@ inputs stat { create 1522207353 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -2686,7 +2685,7 @@ inputs stat { create 1523143742 - modify 1583819435 + modify 1584171258 author henry@GlaDOS access 0777 } @@ -2766,7 +2765,7 @@ inputs stat { create 1523149154 - modify 1583819435 + modify 1584171258 author henry@GlaDOS access 0777 } @@ -2846,7 +2845,7 @@ inputs stat { create 1513230374 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -3162,7 +3161,7 @@ inputs stat { create 1523147062 - modify 1583819435 + modify 1584171258 author henry@GlaDOS access 0777 } @@ -3252,7 +3251,7 @@ inputs stat { create 1523147435 - modify 1583819435 + modify 1584171258 author henry@GlaDOS access 0777 } @@ -3338,7 +3337,7 @@ inputs stat { create 1540441971 - modify 1583819435 + modify 1584171258 author henry@GlaDOS access 0777 } @@ -3575,14 +3574,14 @@ Content-Type: text/plain } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/define_local_user_transforms1.init" +Content-Disposition: attachment; filename="hdaroot/define_local_user_transforms.init" Content-Type: text/plain type = attribwrangle matchesdef = 1 --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/define_local_user_transforms1.def" +Content-Disposition: attachment; filename="hdaroot/define_local_user_transforms.def" Content-Type: text/plain sopflags sopflags = @@ -3605,7 +3604,7 @@ inputs stat { create 1509148564 - modify 1583819435 + modify 1584205424 author Henry@LAPPY586 access 0777 } @@ -3615,7 +3614,7 @@ exprlanguage hscript end --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/define_local_user_transforms1.parm" +Content-Disposition: attachment; filename="hdaroot/define_local_user_transforms.parm" Content-Type: text/plain { @@ -3662,7 +3661,7 @@ vex_precision [ 0 locks=0 ] ( auto ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/define_local_user_transforms1.userdata" +Content-Disposition: attachment; filename="hdaroot/define_local_user_transforms.userdata" Content-Type: text/plain { @@ -3694,16 +3693,16 @@ outputsNamed3 } inputsNamed3 { -0 define_local_user_transforms1 1 1 "input1" +0 define_local_user_transforms 1 1 "input1" } inputs { -0 define_local_user_transforms1 0 1 +0 define_local_user_transforms 0 1 } stat { create 1557416320 - modify 1583819435 + modify 1584172428 author Henry@LAPPY586 access 0777 } @@ -3928,7 +3927,9 @@ int name_start = chi(\"name_start\"); s@name = sprintf(\"%s%d\", name_prefix, name_start + i@id); v@rest = @P; -f@mops_falloff = 1;" ) +if(!haspointattrib(0, \"mops_falloff\")) { + f@mops_falloff = 1; +}" ) exportlist [ 0 locks=0 ] ( * ) vex_strict [ 0 locks=0 ] ( "off" ) autobind [ 0 locks=0 ] ( "on" ) @@ -3989,7 +3990,7 @@ inputs stat { create 1523080271 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -4052,7 +4053,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 72.7222 -53.8671 +position 72.5573 -53.2506 connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -4070,7 +4071,7 @@ inputs stat { create 1530946005 - modify 1583819435 + modify 1584171907 author Henry@LAPPY586 access 0777 } @@ -4152,7 +4153,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 72.7222 -52.7022 +position 72.5573 -52.2398 connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -4170,7 +4171,7 @@ inputs stat { create 1567747788 - modify 1583819435 + modify 1584171906 author Henry@LAPPY586 access 0777 } @@ -4237,7 +4238,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 73.8951 -54.8634 +position 73.8643 -54.3085 connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -4255,7 +4256,7 @@ inputs stat { create 1531283685 - modify 1583819435 + modify 1584171909 author Henry@LAPPY586 access 0777 } @@ -4382,7 +4383,7 @@ inputs stat { create 1568259839 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -4434,7 +4435,7 @@ Content-Type: text/plain Content-Disposition: attachment; filename="hdaroot/MOPs_Apply_Attributes.init" Content-Type: text/plain -type = MOPS::Apply_Attributes::1.3 +type = MOPS::Apply_Attributes::1.4 matchesdef = 1 --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -4443,16 +4444,16 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 78.0738 -56.591 +position 77.9813 -56.484 connectornextid 3 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +flags = lock off model off template off footprint off xray off bypass off display on render on highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 { -1 "output1" +0 "output1" } inputsNamed3 { -0 switch_has_abc1 1 1 "input1" +1 switch_has_abc1 1 1 "input1" 2 switch_interpolation_method 1 1 "input2" } inputs @@ -4462,8 +4463,8 @@ inputs } stat { - create 1568260314 - modify 1582052285 + create 1584173063 + modify 1584205339 author Henry@LAPPY586 access 0777 } @@ -4472,6 +4473,25 @@ delscript "" exprlanguage hscript end +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/MOPs_Apply_Attributes.chn" +Content-Type: text/plain + +{ + channel do_copy_attrs { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 value = 1 1 expr = ch(\"../do_copy_attrs\") } + } + channel attribname { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = chs(\"../attribname2\") } + } + } + --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot/MOPs_Apply_Attributes.parm" Content-Type: text/plain @@ -4481,21 +4501,26 @@ version 0.8 group [ 0 locks=0 ] ( "" ) grouptype [ 0 locks=0 ] ( "guess" ) sepparm [ 0 locks=0 ] ( ) +matchmode [ 0 locks=0 ] ( "0" ) +folder0 [ 0 locks=0 ] ( 0 0 0 ) do_translate [ 0 locks=0 ] ( "on" ) do_rotate [ 0 locks=0 ] ( "on" ) -do_scale [ 0 locks=0 ] ( "on" ) -do_falloff [ 0 locks=0 ] ( "off" ) +do_scale [ 0 locks=0 autoscope=0 ] ( "on" ) +do_pivots [ 0 locks=0 autoscope=0 ] ( "off" ) +sepparm2 [ 0 locks=0 ] ( ) +local_space [ 0 locks=0 ] ( "on" ) +rotate_mode [ 0 locks=0 autoscope=0 ] ( 1 ) +rotate_order [ 0 locks=0 ] ( 0 ) +scale_mode [ 0 locks=0 autoscope=0 ] ( 1 ) +do_falloff [ 0 locks=0 autoscope=0 ] ( "off" ) falloff_attribute [ 0 locks=0 ] ( mops_falloff ) -do_pivots [ 0 locks=0 ] ( "on" ) ignore_no_falloff [ 0 locks=0 ] ( "off" ) -rotate_mode [ 0 locks=0 ] ( 1 ) -rotate_order [ 0 locks=0 ] ( 0 ) -scale_mode [ 0 locks=0 ] ( 0 ) -local_space [ 0 locks=0 ] ( "on" ) -do_copy_attrs [ 0 locks=0 ] ( "off" ) -attribname [ 0 locks=0 ] ( "" ) +do_copy_attrs [ 0 locks=0 autoscope=1 ] ( [ do_copy_attrs 1 ] ) +attribname [ 0 locks=0 autoscope=0 ] ( [ attribname mops_falloff ] ) do_make_id [ 0 locks=0 ] ( "on" ) -do_orient [ 0 locks=0 ] ( "off" ) +do_orient [ 0 locks=0 autoscope=0 ] ( "off" ) +do_output_scale [ 0 locks=0 autoscope=0 ] ( "off" ) +sepparm3 [ 0 locks=0 ] ( ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -4540,7 +4565,7 @@ inputs stat { create 1568263803 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -4624,7 +4649,7 @@ inputs stat { create 1568523996 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -5002,7 +5027,7 @@ inputs stat { create 1568524381 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -5147,7 +5172,7 @@ inputs stat { create 1568609670 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -5433,7 +5458,7 @@ inputs stat { create 1568610675 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -5765,7 +5790,7 @@ inputs stat { create 1568698406 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -5845,7 +5870,7 @@ inputs stat { create 1568780508 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -5926,7 +5951,7 @@ inputs stat { create 1568780508 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -6007,7 +6032,7 @@ inputs stat { create 1568866585 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -6077,7 +6102,7 @@ inputs stat { create 1568867654 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -6159,7 +6184,7 @@ inputs stat { create 1568917672 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -6240,7 +6265,7 @@ inputs stat { create 1568918764 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -6328,7 +6353,7 @@ inputs stat { create 1568917672 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -6610,7 +6635,7 @@ inputs stat { create 1569005739 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -6692,7 +6717,7 @@ inputs stat { create 1569084328 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -6977,7 +7002,7 @@ inputs stat { create 1569390549 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -7065,7 +7090,7 @@ inputs stat { create 1569390549 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -7130,7 +7155,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 74.6992 -34.4257 +position 75.8165 -35.3813 connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -7148,7 +7173,7 @@ inputs stat { create 1569470295 - modify 1583819435 + modify 1584172375 author Henry@LAPPY586 access 0777 } @@ -7228,7 +7253,7 @@ inputs stat { create 1570128391 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -7488,7 +7513,7 @@ inputs stat { create 1570128391 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -7945,7 +7970,7 @@ inputs stat { create 1579909738 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -8025,7 +8050,7 @@ inputs stat { create 1580880777 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -8118,7 +8143,7 @@ local [ 0 locks=0 ] ( "on" ) translate [ 8 locks=0 ] ( [ translatex 0 ] [ translatey 0 ] [ translatez 0 ] ) rotate [ 8 locks=0 ] ( [ rotatex 0 ] [ rotatey 0 ] [ rotatez 0 ] ) scale [ 8 locks=0 ] ( [ scalex 1 ] [ scaley 1 ] [ scalez 1 ] ) -uniform_scale [ 0 locks=0 ] ( [ uniform_scale 1 ] ) +uniform_scale [ 0 locks=0 ] ( [ uniform_scale 0.29999999999999999 ] ) pivot [ 0 locks=0 ] ( 0 0 0 ) do_weight [ 0 locks=0 ] ( "off" ) falloff_attribute [ 0 locks=0 ] ( mops_falloff ) @@ -8184,7 +8209,7 @@ inputs stat { create 1580883336 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -8264,7 +8289,7 @@ inputs stat { create 1581566136 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -8609,7 +8634,7 @@ vex_inplace [ 0 locks=0 ] ( "off" ) vex_selectiongroup [ 0 locks=0 ] ( "" ) vex_precision [ 0 locks=0 ] ( auto ) folder1 [ 0 locks=0 ] ( 0 0 ) -twist_amount [ 0 locks=0 ] ( [ twist_amount 180 ] ) +twist_amount [ 0 locks=0 ] ( [ twist_amount 0 ] ) line_mode [ 0 locks=0 ] ( [ line_mode 1 ] ) invert [ 0 locks=0 ] ( [ invert 0 ] ) twist_ramp [ 0 locks=0 ] ( [ twist_ramp 2 ] ) @@ -8632,6 +8657,115 @@ Content-Type: text/plain } } +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/define_local_user_transforms1.init" +Content-Type: text/plain + +type = attribwrangle +matchesdef = 1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/define_local_user_transforms1.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position 83.4905 -34.0203 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 switch_mesh_or_points 1 1 "input1" +} +inputs +{ +0 switch_mesh_or_points 0 1 +} +stat +{ + create 1509148564 + modify 1584205857 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/define_local_user_transforms1.parm" +Content-Type: text/plain + +{ +version 0.8 +folder0 [ 0 locks=0 ] ( 0 0 ) +group [ 0 locks=0 ] ( "" ) +grouptype [ 0 locks=0 ] ( "guess" ) +class [ 0 locks=0 ] ( "point" ) +vex_numcount [ 0 locks=0 ] ( 10 ) +vex_threadjobsize [ 0 locks=0 ] ( 1024 ) +snippet [ 0 locks=0 ] ( "#include + +// using the interpolation mode here overwrites our global and per-instance transforms. +// we need to re-apply those same transforms, *additively*. + +if(!haspointattrib(0, \"scale\")) { + v@scale = {1,1,1}; +} +if(!haspointattrib(0, \"pscale\")) { + f@pscale = 1; +} +v@scale *= chv(\"../instance_scale\" + itoa(i@mops_index+1)); +f@pscale *= ch(\"../instance_pscale\" + itoa(i@mops_index+1)); +v@scale *= chv(\"../global_scale\"); +f@pscale *= ch(\"../global_pscale\"); +vector r = chv(\"../instance_rotate\" + itoa(i@mops_index+1)); +vector4 rot = eulertoquaternion(radians(r), XFORM_XYZ); +vector r2 = chv(\"../global_rotate\"); +vector4 rot2 = eulertoquaternion(radians(r2), XFORM_XYZ); +vector T = chv(\"../instance_translate\" + itoa(i@mops_index+1)); +vector T2 = chv(\"../global_translate\"); +vector pivot = chv(\"../instance_pivot\" + itoa(i@mops_index+1)); +if(!haspointattrib(0, \"orient\")) { + p@orient = quaternion(maketransform(v@N, v@up)); +} +T = qrotate(p@orient, T); +T2 = qrotate(p@orient, T2); +@P += (T+T2); +p@orient = qmultiply(p@orient, rot); +p@orient = qmultiply(p@orient, rot2); +v@pivot = pivot;" ) +exportlist [ 0 locks=0 ] ( * ) +vex_strict [ 0 locks=0 ] ( "off" ) +autobind [ 0 locks=0 ] ( "on" ) +bindings [ 0 locks=0 ] ( 0 ) +groupautobind [ 0 locks=0 ] ( "on" ) +groupbindings [ 0 locks=0 ] ( 0 ) +vex_cwdpath [ 0 locks=0 ] ( . ) +vex_outputmask [ 0 locks=0 ] ( * ) +vex_updatenmls [ 0 locks=0 ] ( "off" ) +vex_matchattrib [ 0 locks=0 ] ( id ) +vex_inplace [ 0 locks=0 ] ( "off" ) +vex_selectiongroup [ 0 locks=0 ] ( "" ) +vex_precision [ 0 locks=0 ] ( auto ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/define_local_user_transforms1.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot/globals.init" Content-Type: text/plain @@ -8660,7 +8794,7 @@ inputs stat { create 1508907047 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -8757,7 +8891,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 72.6612 -68.497 +position 72.6612 -69.3287 connectornextid 1 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -8774,7 +8908,7 @@ inputs stat { create 1510816622 - modify 1582052944 + modify 1584205245 author Henry@LAPPY586 access 0777 } @@ -8895,7 +9029,7 @@ inputs stat { create 1508906585 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -8992,7 +9126,7 @@ inputs stat { create 1508911812 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -9258,7 +9392,7 @@ inputs stat { create 1567573563 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -9381,7 +9515,7 @@ inputs stat { create 1508906579 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -9609,7 +9743,7 @@ inputs stat { create 1508906585 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -9957,7 +10091,7 @@ inputs stat { create 1524779021 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -10028,7 +10162,7 @@ inputs stat { create 1529112153 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -10117,7 +10251,7 @@ inputs stat { create 1529112159 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -10262,7 +10396,7 @@ inputs stat { create 1529112407 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -10512,7 +10646,7 @@ inputs stat { create 1529112948 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -10681,7 +10815,7 @@ inputs stat { create 1529112159 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -10966,7 +11100,7 @@ inputs stat { create 1522120313 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -10994,7 +11128,7 @@ Content-Type: text/plain { version 0.8 -input [ 0 locks=0 ] ( [ input 0 ] ) +input [ 0 locks=0 ] ( [ input 1 ] ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -11098,7 +11232,7 @@ inputs stat { create 1513226016 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -11153,7 +11287,7 @@ pivot [ 0 locks=0 ] ( "centroid" ) viewportlod [ 0 locks=0 ] ( "full" ) addpath [ 0 locks=0 ] ( "on" ) enable1 [ 0 locks=0 ] ( "on" ) -objpath1 [ 0 locks=0 ] ( [ objpath1 /obj/geo1/group2 ] ) +objpath1 [ 0 locks=0 ] ( [ objpath1 /obj/spread_from_geo/TEMPLATE ] ) group1 [ 0 locks=0 ] ( [ group1 "" ] ) expand1 [ 0 locks=0 ] ( "off" ) } @@ -11200,7 +11334,7 @@ inputs stat { create 1521087863 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -11344,7 +11478,7 @@ inputs stat { create 1567742580 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -11608,7 +11742,7 @@ inputs stat { create 1522121754 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -11645,7 +11779,7 @@ Content-Type: text/plain version 0.8 sourcegroup [ 0 locks=0 ] ( "" ) sourcegrouptype [ 0 locks=0 ] ( "guess" ) -ncy [ 0 locks=0 ] ( [ ncy 5 ] ) +ncy [ 0 locks=0 ] ( [ ncy 10 ] ) pack [ 0 locks=0 ] ( "off" ) pivot [ 0 locks=0 ] ( "centroid" ) viewportlod [ 0 locks=0 ] ( "full" ) @@ -11707,7 +11841,7 @@ inputs stat { create 1522121807 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -11744,7 +11878,7 @@ Content-Type: text/plain version 0.8 sourcegroup [ 0 locks=0 ] ( "" ) sourcegrouptype [ 0 locks=0 ] ( "guess" ) -ncy [ 0 locks=0 ] ( [ ncy 5 ] ) +ncy [ 0 locks=0 ] ( [ ncy 10 ] ) pack [ 0 locks=0 ] ( "off" ) pivot [ 0 locks=0 ] ( "centroid" ) viewportlod [ 0 locks=0 ] ( "full" ) @@ -11876,7 +12010,7 @@ inputs stat { create 1522300910 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -12013,7 +12147,7 @@ inputs stat { create 1523143901 - modify 1583819435 + modify 1584171258 author henry@GlaDOS access 0777 } @@ -12114,7 +12248,7 @@ inputs stat { create 1523747481 - modify 1583819435 + modify 1584171258 author henry@GlaDOS access 0777 } @@ -12234,7 +12368,7 @@ inputs stat { create 1567743404 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -12307,7 +12441,7 @@ inputs stat { create 1567743491 - modify 1574107293 + modify 1584171455 author Henry@LAPPY586 access 0777 } @@ -12375,7 +12509,7 @@ inputs stat { create 1523145623 - modify 1583819435 + modify 1584171258 author henry@GlaDOS access 0777 } @@ -12457,7 +12591,7 @@ inputs stat { create 1567744824 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -12547,7 +12681,7 @@ inputs stat { create 1567744824 - modify 1583820157 + modify 1584205948 author Henry@LAPPY586 access 0777 } @@ -12613,7 +12747,7 @@ inputs stat { create 1522969458 - modify 1583819435 + modify 1584172417 author Wolf_User@admin-hp access 0777 } @@ -12652,7 +12786,7 @@ sourcegroup [ 0 locks=0 ] ( "" ) targetgroup [ 0 locks=0 ] ( "" ) showguide [ 0 locks=0 ] ( "on" ) pack [ 0 locks=0 ] ( "off" ) -pivot [ 0 locks=0 ] ( [ pivot 1 ] ) +pivot [ 0 locks=0 ] ( [ pivot 0 ] ) viewportlod [ 0 locks=0 ] ( [ viewportlod 0 ] ) transform [ 0 locks=0 ] ( "on" ) doattr [ 0 locks=0 ] ( "on" ) @@ -12711,7 +12845,7 @@ inputs stat { create 1567744114 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -12926,7 +13060,7 @@ inputs stat { create 1530848870 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -12974,7 +13108,7 @@ Content-Type: text/plain { version 0.8 -input [ 8 locks=0 ] ( [ input 0 ] ) +input [ 8 locks=0 ] ( [ input 1 ] ) spare_input0 [ 0 locks=0 ] ( ../foreach_begin1_metadata1 ) } @@ -13022,7 +13156,7 @@ inputs stat { create 1530848814 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -13114,7 +13248,7 @@ inputs stat { create 1530848881 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -13256,12 +13390,6 @@ Content-Type: text/plain flags = 0 segment { length = 0 expr = $FF-ch(\"f1\") } } - channel viewportlod { - lefttype = extend - righttype = extend - flags = 0 - segment { length = 0 expr = ch(\"../copytopoints2/viewportlod\") } - } channel f1 { lefttype = extend righttype = extend @@ -13275,6 +13403,12 @@ Content-Type: text/plain flags = 0 segment { length = 0 expr = "ch(\"../frange\" + (detail(-1, \"iteration\", 0)+1) + \"2\")" } } + channel viewportlod { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../viewportlod\") } + } } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -13291,13 +13425,13 @@ geodatapath [ 0 locks=0 ] ( "" ) missingframe [ 0 locks=0 ] ( "error" ) loadtype [ 0 locks=0 ] ( "packedseq" ) packedviewedit [ 0 locks=0 ] ( "unchanged" ) -viewportlod [ 8 locks=0 ] ( [ viewportlod 0 ] ) +viewportlod [ 8 locks=0 ] ( [ viewportlod 2 ] ) packexpanded [ 0 locks=0 ] ( "on" ) delayload [ 0 locks=0 ] ( "off" ) mkpath [ 0 locks=0 ] ( "on" ) cachesize [ 0 locks=0 ] ( 0 ) prefetch [ 0 locks=0 ] ( "off" ) -f [ 0 locks=0 ] ( [ f1 1 ] [ f2 24 ] ) +f [ 0 locks=0 ] ( [ f1 1 ] [ f2 48 ] ) index [ 0 locks=0 ] ( [ index 0 ] ) wrap [ 0 locks=0 ] ( "cycle" ) retry [ 0 locks=0 ] ( 0 ) @@ -13344,7 +13478,7 @@ inputs stat { create 1530848886 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -13733,6 +13867,12 @@ Content-Type: text/plain flags = 0 segment { length = 0 value = 24 24 expr = $FPS } } + channel viewportlod { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../viewportlod\") } + } } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -13750,7 +13890,7 @@ missingfile [ 0 locks=0 ] ( "error" ) stdswitcher [ 0 locks=0 ] ( 0 0 0 ) abcxform [ 0 locks=0 ] ( "off" ) loadmode [ 0 locks=0 ] ( "alembic" ) -viewportlod [ 0 locks=0 ] ( "full" ) +viewportlod [ 0 locks=0 ] ( [ viewportlod 2 ] ) pointmode [ 0 locks=0 ] ( "centroid" ) polysoup [ 0 locks=0 ] ( "polymesh" ) includeXform [ 0 locks=0 ] ( "on" ) @@ -13833,7 +13973,7 @@ inputs stat { create 1567746994 - modify 1583820157 + modify 1584205948 author Henry@LAPPY586 access 0777 } @@ -13879,7 +14019,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 72.6693 -49.1481 +position 72.5603 -48.2541 connectornextid 3 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -13899,7 +14039,7 @@ inputs stat { create 1523081344 - modify 1583819435 + modify 1584172236 author Henry@LAPPY586 access 0777 } @@ -13954,7 +14094,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 72.7252 -55.8094 +position 72.6693 -55.2853 connectornextid 3 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -13974,7 +14114,7 @@ inputs stat { create 1540442277 - modify 1583819572 + modify 1584203682 author henry@GlaDOS access 0777 } @@ -14029,7 +14169,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 72.6612 -66.4192 +position 72.6612 -67.2509 connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -14047,7 +14187,7 @@ inputs stat { create 1567748193 - modify 1580883319 + modify 1584172538 author Henry@LAPPY586 access 0777 } @@ -14093,7 +14233,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 72.6693 -57.7683 +position 72.6693 -58.6 connectornextid 3 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -14102,18 +14242,18 @@ outputsNamed3 } inputsNamed3 { -0 switch_has_abc1 1 1 "input1" -2 MOPs_Apply_Attributes 1 1 "input2" +0 switch_do_copy_attrs 2 1 "input1" +2 MOPs_Apply_Attributes 0 1 "input2" } inputs { -0 switch_has_abc1 0 1 +0 switch_do_copy_attrs 0 1 1 MOPs_Apply_Attributes 0 1 } stat { create 1568260279 - modify 1582053064 + modify 1584205210 author Henry@LAPPY586 access 0777 } @@ -14146,7 +14286,7 @@ Content-Type: text/plain { version 0.8 -input [ 8 locks=0 autoscope=1 autosel=4294967295 ] ( [ input 0 ] ) +input [ 8 locks=0 autoscope=1 autosel=4294967295 ] ( [ input 1 ] ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -14193,7 +14333,7 @@ inputs stat { create 1568260337 - modify 1579909588 + modify 1584172436 author Henry@LAPPY586 access 0777 } @@ -14265,7 +14405,7 @@ inputs stat { create 1567743257 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -14505,7 +14645,7 @@ inputs stat { create 1568264088 - modify 1583820018 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -14886,7 +15026,7 @@ inputs stat { create 1568520276 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -15035,7 +15175,7 @@ inputs stat { create 1568520954 - modify 1583819701 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -15300,7 +15440,7 @@ inputs stat { create 1567743257 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -15410,7 +15550,7 @@ inputs stat { create 1568521417 - modify 1569714346 + modify 1584171446 author Henry@LAPPY586 access 0777 } @@ -15469,7 +15609,7 @@ inputs stat { create 1568521638 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -15552,7 +15692,7 @@ inputs stat { create 1568523967 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -15627,7 +15767,7 @@ inputs stat { create 1568587660 - modify 1583819435 + modify 1584205337 author Henry@LAPPY586 access 0777 } @@ -15815,17 +15955,17 @@ outputsNamed3 inputsNamed3 { 0 define_name_attr 1 1 "input1" -2 switch_mesh_or_points 1 1 "input2" +2 define_local_user_transforms1 1 1 "input2" } inputs { 0 define_name_attr 0 1 -1 switch_mesh_or_points 0 1 +1 define_local_user_transforms1 0 1 } stat { create 1568587719 - modify 1574107293 + modify 1584205568 author Henry@LAPPY586 access 0777 } @@ -16034,7 +16174,7 @@ inputs stat { create 1508909702 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -16123,7 +16263,7 @@ inputs stat { create 1568609578 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -16270,7 +16410,7 @@ inputs stat { create 1568609633 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -16384,7 +16524,7 @@ inputs stat { create 1568609660 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -16426,70 +16566,6 @@ Content-Type: text/plain } } ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/blast5.init" -Content-Type: text/plain - -type = blast -matchesdef = 0 - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/blast5.def" -Content-Type: text/plain - -sopflags sopflags = -comment "" -position 69.4805 -49.6824 -connectornextid 1 -flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on -outputsNamed3 -{ -} -inputsNamed3 -{ -0 enable_material_overrides1 1 1 "input1" -} -inputs -{ -0 enable_material_overrides1 0 1 -} -stat -{ - create 1568612439 - modify 1574107293 - author Henry@LAPPY586 - access 0777 -} -color UT_Color RGB 0.8 0.8 0.8 -delscript "" -exprlanguage hscript -end - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/blast5.parm" -Content-Type: text/plain - -{ -version 0.8 -group [ 0 locks=0 ] ( 333 ) -grouptype [ 0 locks=0 ] ( "guess" ) -computenorms [ 0 locks=0 ] ( "off" ) -negate [ 0 locks=0 ] ( "off" ) -fillhole [ 0 locks=0 ] ( "off" ) -removegrp [ 0 locks=0 ] ( "off" ) -} - ---HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/blast5.userdata" -Content-Type: text/plain - -{ - "___Version___":{ - "type":"string", - "value":"18.0.391" - } -} - --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot/pack3.init" Content-Type: text/plain @@ -16521,7 +16597,7 @@ inputs stat { create 1560463831 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -16682,7 +16758,7 @@ inputs stat { create 1568697713 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -16753,7 +16829,7 @@ inputs stat { create 1568697731 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -16871,7 +16947,7 @@ inputs stat { create 1568698410 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -16946,7 +17022,7 @@ inputs stat { create 1568780457 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -17021,7 +17097,7 @@ inputs stat { create 1568780547 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -17174,7 +17250,7 @@ inputs stat { create 1568863380 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -17247,7 +17323,7 @@ inputs stat { create 1521087863 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -17472,7 +17548,7 @@ inputs stat { create 1568866329 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -17675,7 +17751,7 @@ inputs stat { create 1568521638 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -17758,7 +17834,7 @@ inputs stat { create 1568867356 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -18031,7 +18107,7 @@ inputs stat { create 1568868406 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -18379,7 +18455,7 @@ inputs stat { create 1568947590 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -18473,7 +18549,7 @@ t [ 0 locks=0 ] ( [ tx 0 ] [ ty 0 ] [ tz 0 ] ) r [ 0 locks=0 ] ( [ rx 0 ] [ ry 0 ] [ rz 0 ] ) s [ 0 locks=0 ] ( [ sx 1 ] [ sy 1 ] [ sz 1 ] ) shear [ 0 locks=0 ] ( 0 0 0 ) -scale [ 0 locks=0 ] ( [ scale 1 ] ) +scale [ 0 locks=0 ] ( [ scale 0.10000000000000001 ] ) parmgroup_pivotxform [ 0 locks=0 ] ( 0 ) p [ 0 locks=0 ] ( 0 0 0 ) pr [ 0 locks=0 ] ( 0 0 0 ) @@ -18537,7 +18613,7 @@ inputs stat { create 1568947590 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -18857,7 +18933,7 @@ t [ 0 locks=0 ] ( [ tx 0 ] [ ty 0 ] [ tz 0 ] ) r [ 0 locks=0 ] ( [ rx 0 ] [ ry 0 ] [ rz 0 ] ) s [ 0 locks=0 ] ( [ sx 1 ] [ sy 1 ] [ sz 1 ] ) shear [ 0 locks=0 ] ( [ shear1 0 ] [ shear2 0 ] [ shear3 0 ] ) -scale [ 0 locks=0 ] ( [ scale 0.10000000000000001 ] ) +scale [ 0 locks=0 ] ( [ scale 1 ] ) parmgroup_pivotxform [ 0 locks=0 ] ( 0 ) p [ 0 locks=0 ] ( [ px 0 ] [ py 0 ] [ pz 0 ] ) pr [ 0 locks=0 ] ( [ prx 0 ] [ pry 0 ] [ prz 0 ] ) @@ -18921,7 +18997,7 @@ inputs stat { create 1567743257 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -19033,7 +19109,7 @@ inputs stat { create 1569084319 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -19153,7 +19229,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 72.6693 -60.4784 +position 72.6693 -61.3101 connectornextid 3 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -19173,7 +19249,7 @@ inputs stat { create 1569453856 - modify 1583819435 + modify 1584172538 author Henry@LAPPY586 access 0777 } @@ -19307,7 +19383,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 72.4616 -58.8652 +position 72.4616 -59.6969 connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -19325,7 +19401,7 @@ inputs stat { create 1521092176 - modify 1580677174 + modify 1584172538 author Henry@LAPPY586 access 0777 } @@ -19371,7 +19447,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 72.6612 -64.3596 +position 72.6612 -65.1913 connectornextid 3 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -19391,7 +19467,7 @@ inputs stat { create 1569455704 - modify 1583819435 + modify 1584172538 author Henry@LAPPY586 access 0777 } @@ -19522,7 +19598,7 @@ inputs stat { create 1569455737 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -19585,7 +19661,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 72.6578 -65.4192 +position 72.6578 -66.2509 connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -19603,7 +19679,7 @@ inputs stat { create 1521092176 - modify 1580883319 + modify 1584172538 author Henry@LAPPY586 access 0777 } @@ -19944,7 +20020,7 @@ inputs stat { create 1569714346 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -20071,7 +20147,7 @@ inputs stat { create 1569714414 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -20274,7 +20350,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 72.5569 -50.5026 +position 72.5569 -49.5778 connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -20292,7 +20368,7 @@ inputs stat { create 1580676398 - modify 1580677170 + modify 1584171979 author Henry@LAPPY586 access 0777 } @@ -20362,7 +20438,7 @@ inputs stat { create 1580883319 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -20437,7 +20513,7 @@ inputs stat { create 1582053141 - modify 1583819435 + modify 1584171258 author Henry@LAPPY586 access 0777 } @@ -20494,7 +20570,7 @@ sopflags sopflags = comment "" position 102.646 4.22102 connectornextid 2 -flags = lock off model off template off footprint off xray off bypass off display on render on highlight off unload off savedata off compress on colordefault on exposed on +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 { 1 "output1" @@ -20510,7 +20586,7 @@ inputs stat { create 1583819843 - modify 1583820017 + modify 1584171436 author Henry@LAPPY586 access 0777 } @@ -20539,7 +20615,7 @@ Content-Type: text/plain { version 0.8 -group [ 0 locks=0 ] ( [ group group1 ] ) +group [ 0 locks=0 ] ( [ group "" ] ) grouptype [ 0 locks=0 ] ( "points" ) computenorms [ 0 locks=0 ] ( "off" ) negate [ 0 locks=0 ] ( "on" ) @@ -20558,6 +20634,233 @@ Content-Type: text/plain } } +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribdelete1.init" +Content-Type: text/plain + +type = attribdelete +matchesdef = 1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribdelete1.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position 69.9472 -55.8637 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 switch_has_abc1 1 1 "input1" +} +inputs +{ +0 switch_has_abc1 0 1 +} +stat +{ + create 1584172035 + modify 1584172145 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribdelete1.parm" +Content-Type: text/plain + +{ +version 0.8 +ptdel [ 0 locks=0 ] ( "* ^mops_index ^id ^name ^rest ^objpath" ) +vtxdel [ 0 locks=0 ] ( "" ) +primdel [ 0 locks=0 ] ( "" ) +dtldel [ 0 locks=0 ] ( "" ) +updatevar [ 0 locks=0 ] ( "on" ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribdelete1.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribcopy1.init" +Content-Type: text/plain + +type = attribcopy +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribcopy1.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position 71.8137 -56.484 +connectornextid 3 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +2 "output1" +} +inputsNamed3 +{ +0 attribdelete1 1 1 "input1" +1 switch_has_abc1 1 1 "input2" +} +inputs +{ +0 attribdelete1 0 1 +1 switch_has_abc1 0 1 +} +stat +{ + create 1584172109 + modify 1584172157 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribcopy1.chn" +Content-Type: text/plain + +{ + channel attribname { + lefttype = extend + righttype = extend + defaultString = \"Cd\" + flags = 0 + segment { length = 0 expr = chs(\"../attribname2\") } + } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribcopy1.parm" +Content-Type: text/plain + +{ +version 0.8 +srcgroup [ 0 locks=0 ] ( "" ) +srcgrouptype [ 0 locks=0 ] ( "points" ) +destgroup [ 0 locks=0 ] ( "" ) +destgrouptype [ 0 locks=0 ] ( "points" ) +matchbyattribute [ 0 locks=0 ] ( "off" ) +attributetomatch [ 0 locks=0 ] ( piece ) +attrib [ 0 locks=0 ] ( "otherattrib" ) +attribname [ 0 locks=0 ] ( [ attribname mops_falloff ] ) +copyp [ 0 locks=0 ] ( "on" ) +usenewname [ 0 locks=0 ] ( "off" ) +newname [ 0 locks=0 ] ( "" ) +class [ 0 locks=0 ] ( "guess" ) +copyvariable [ 0 locks=0 ] ( "on" ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribcopy1.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"18.0.391" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/switch_do_copy_attrs.init" +Content-Type: text/plain + +type = switch +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/switch_do_copy_attrs.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position 70.388 -57.248 +connectornextid 3 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +2 "output1" +} +inputsNamed3 +{ +0 attribdelete1 1 1 "input1" +1 attribcopy1 2 1 "input2" +} +inputs +{ +0 attribdelete1 0 1 +1 attribcopy1 0 1 +} +stat +{ + create 1584172149 + modify 1584172253 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 1 0.7 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/switch_do_copy_attrs.chn" +Content-Type: text/plain + +{ + channel input { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../do_copy_attrs\") } + } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/switch_do_copy_attrs.parm" +Content-Type: text/plain + +{ +version 0.8 +input [ 0 locks=0 ] ( [ input 1 ] ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/switch_do_copy_attrs.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"18.0.391" + } +} + --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot/__dot1.networkdotinit" Content-Type: text/plain @@ -20575,7 +20878,7 @@ Content-Type: text/plain Content-Disposition: attachment; filename="hdaroot.order" Content-Type: text/plain -182 +185 globals output1 distribution_linear1 @@ -20632,7 +20935,7 @@ pointwrangle10 sum_probability1 set_id_offset2 do_randomize_probability1 -define_local_user_transforms1 +define_local_user_transforms define_name_attr foreach_end1 foreach_begin1 @@ -20687,7 +20990,6 @@ scatter8 vdb_align_method align_to_gradient align_to_vector_volume -blast5 pack3 linear_distro_mode line_distance_direction @@ -20758,6 +21060,10 @@ pointwrangle2 pointwrangle3 switch2 blast3 +attribdelete1 +attribcopy1 +switch_do_copy_attrs +define_local_user_transforms1 --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot.net" diff --git a/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/DialogScript b/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/DialogScript index 394677b0..6f129376 100644 --- a/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/DialogScript +++ b/otls/MOPS_instancer.hda/MOPS_8_8Sop_1Instancer_8_81.4/DialogScript @@ -684,7 +684,7 @@ type string default { "" } menutoggle { - [ "opmenu -l pack1 transfer_attributes" ] + [ "opmenu -l pack3 transfer_attributes" ] } parmtag { "autoscope" "0000000000000000" } } @@ -982,6 +982,27 @@ range { 0 10 } parmtag { "autoscope" "0000000000000000" } } + parm { + name "do_copy_attrs" + label "Copy Template Attributes" + type toggle + default { "on" } + disablewhen "{ distro_type < 5 }" + range { 0! 10 } + parmtag { "autoscope" "1000000000000000" } + } + parm { + name "attribname2" + label "Attributes To Copy" + type string + default { "mops_falloff" } + disablewhen "{ do_copy_attrs == 0 }" + menutoggle { + [ "opmenu -l -a MOPs_Apply_Attributes attribname" ] + } + parmtag { "autoscope" "0000000000000000" } + parmtag { "sop_input" "2else1" } + } groupsimple { name "folder0" label "Linear" diff --git a/otls/MOPS_transform.hda/INDEX__SECTION b/otls/MOPS_transform.hda/INDEX__SECTION index c1786a01..573e94f2 100644 --- a/otls/MOPS_transform.hda/INDEX__SECTION +++ b/otls/MOPS_transform.hda/INDEX__SECTION @@ -10,7 +10,7 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Mon Nov 12 03:28:24 2018 +Modified: Sun Nov 11 20:28:24 2018 Operator: MOPS::Transform_Modifier::1.1 Label: MOPs Transform Modifier @@ -24,5 +24,5 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Mon Feb 3 19:46:19 2020 +Modified: Thu Mar 12 11:36:10 2020 diff --git a/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/Contents.dir/.OPdummydefs b/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/Contents.dir/.OPdummydefs index fe7ea353..4a63b352 100644 Binary files a/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/Contents.dir/.OPdummydefs and b/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/Contents.dir/.OPdummydefs differ diff --git a/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/Contents.dir/.OPfallbacks b/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/Contents.dir/.OPfallbacks index 218cb9da..94133055 100644 --- a/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/Contents.dir/.OPfallbacks +++ b/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/Contents.dir/.OPfallbacks @@ -1,6 +1,6 @@ -MOPS::Sop/Apply_Attributes::1.4 C:/Users/Henry/Projects/VFX/MOPS_Prime/otls/MOPSDOPS_applyAttributes.hda -MOPS::Sop/Apply_Attributes::1.4 Projects/VFX/MOPS_Prime/otls/MOPSDOPS_applyAttributes.hda -Sop/attribdelete C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibSop.hda +MOPS::Sop/Apply_Attributes::1.4 C:/Users/Henry/Projects/VFX/MOPS_Prime/otls/MOPS_applyAttributes.hda +MOPS::Sop/Apply_Attributes::1.4 otls/MOPS_applyAttributes.hda +Sop/attribdelete C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibSop.hda Sop/attribdelete otls/OPlibSop.hda -Sop/attribwrangle C:/PROGRA~1/SIDEEF~1/HOUDIN~1.348/houdini/otls/OPlibSop.hda +Sop/attribwrangle C:/PROGRA~1/SIDEEF~1/HOUDIN~1.391/houdini/otls/OPlibSop.hda Sop/attribwrangle otls/OPlibSop.hda diff --git a/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/Contents.dir/Contents.mime b/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/Contents.dir/Contents.mime index 0905cdd3..aec4f23a 100644 --- a/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/Contents.dir/Contents.mime +++ b/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/Contents.dir/Contents.mime @@ -32,7 +32,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 20.9883 -10.974 +position -5.57633 0.831279 connectornextid 1 flags = lock off model off template off footprint off xray off bypass off display on render on highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -40,16 +40,16 @@ outputsNamed3 } inputsNamed3 { -0 MOPs_Orient_Mesh 1 1 "input1" +0 MOPs_Shape_Falloff 1 1 "input1" } inputs { -0 MOPs_Orient_Mesh 0 1 +0 MOPs_Shape_Falloff 0 1 } stat { - create 1580787738 - modify 1580788009 + create 1584037852 + modify 1584037899 author Henry@LAPPY586 access 0777 } @@ -97,7 +97,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -1.84652 4.20677 +position -1.84652 2.32396 connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -115,7 +115,7 @@ inputs stat { create 1524060453 - modify 1580787815 + modify 1584037852 author Henry@LAPPY586 access 0777 } @@ -495,28 +495,7 @@ if(local) { // get existing xform, if any. vector p = v@P; // if this is not a packed primitive, use the orient attribute if possible. - matrix3 m = primintrinsic(0, \"transform\", @ptnum); - vector4 rot = quaternion(m); - string type = primintrinsic(0, \"typename\", @ptnum); - if((type != \"PackedGeometry\") && (type != \"PackedFragment\") && (type != \"PackedDiskSequence\") && (type != \"AlembicRef\")) { - // if this is a regular point, just use some basic defaults here. - orient = quaternion(ident()); - if(haspointattrib(0, \"orient\")) { - orient = point(0, \"orient\", @ptnum); - } else { - if(haspointattrib(0, \"N\")) { - vector N = point(0, \"N\", @ptnum); - vector up = {0,1,0}; - matrix3 mm = dihedral(N, set(0,0,1)); - up = mm * up; - if(haspointattrib(0, \"up\")) { - up = point(0, \"up\", @ptnum); - } - orient = quaternion(maketransform(N, up)); - } - } - rot = orient; - } + vector4 rot = quaternion(3@__transform); rot = qmultiply(mops_orient, rot); translate = qrotate(rot, translate); } @@ -541,12 +520,14 @@ translate [ 0 locks=0 autoscope=0 ] ( [ translatex 0 ] [ translatey 0 ] [ tran rotate [ 0 locks=0 autoscope=0 ] ( [ rotatex 0 ] [ rotatey 0 ] [ rotatez 0 ] ) scale [ 0 locks=0 autoscope=0 ] ( [ scalex 1 ] [ scaley 1 ] [ scalez 1 ] ) local [ 0 locks=0 autoscope=0 ] ( [ local 1 ] ) -do_vexpression [ 0 locks=0 ] ( [ do_vexpression 0 ] ) +do_vexpression [ 0 locks=0 ] ( [ do_vexpression 1 ] ) vexpression [ 0 locks=0 ] ( [ vexpression "// translate = {0,0,0}; // rotate = {0,0,0}; // scale = {1,1,1}; // pscale = 1; -// local = 1;" ] ) +// local = 1; +float amt = @Frame * 10 * @mops_falloff; +rotate = set(0, amt, 0);" ] ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -573,7 +554,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -3.13514 2.91562 +position -3.13514 -0.384687 connectornextid 3 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -582,18 +563,18 @@ outputsNamed3 } inputsNamed3 { -1 pivot 0 1 "input1" +1 attribdelete1 1 1 "input1" 2 compute_translate 1 1 "input2" } inputs { -0 pivot 0 1 +0 attribdelete1 0 1 1 compute_translate 0 1 } stat { create 1569469174 - modify 1580787739 + modify 1584037852 author Henry@LAPPY586 access 0777 } @@ -685,7 +666,7 @@ rotate_order [ 0 locks=0 autoscope=0 ] ( [ rotate_order 0 ] ) scale_mode [ 0 locks=0 autoscope=0 ] ( [ scale_mode 0 ] ) do_falloff [ 0 locks=0 autoscope=0 ] ( [ do_falloff 1 ] ) falloff_attribute [ 0 locks=0 autoscope=0 ] ( [ falloff_attribute mops_falloff ] ) -ignore_no_falloff [ 0 locks=0 autoscope=0 ] ( [ ignore_no_falloff 1 ] ) +ignore_no_falloff [ 0 locks=0 autoscope=0 ] ( [ ignore_no_falloff 0 ] ) do_copy_attrs [ 0 locks=0 ] ( "off" ) attribname [ 0 locks=0 ] ( "" ) do_make_id [ 0 locks=0 ] ( "on" ) @@ -718,7 +699,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -5.35215 4.83893 +position -5.21941 4.81588 connectornextid 2 flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -727,16 +708,16 @@ outputsNamed3 } inputsNamed3 { -1 (0) "" 1 "input1" +1 attribpromote1 1 1 "input1" } inputs { -0 (0) 0 1 +0 attribpromote1 0 1 } stat { create 1524060453 - modify 1580787739 + modify 1584037852 author Henry@LAPPY586 access 0777 } @@ -975,18 +956,20 @@ grouptype [ 8 locks=0 autoscope=0 ] ( [ grouptype 0 ] ) class [ 0 locks=0 autoscope=0 ] ( "point" ) vex_numcount [ 0 locks=0 autoscope=0 ] ( 10 ) vex_threadjobsize [ 0 locks=0 autoscope=0 ] ( 1024 ) -snippet [ 0 locks=0 autoscope=0 ] ( "vector pivot = primintrinsic(0, \"pivot\", @primnum); +snippet [ 0 locks=0 autoscope=0 ] ( "vector pivot = v@__pivot; vector adjust_pivot = chv(\"pivot\"); -matrix3 m = primintrinsic(0, \"transform\", @primnum); +matrix3 m = 3@__transform; int mode = chi(\"pivot_mode\"); +i@__ingroup = 1; if(mode == 0) { - setprimintrinsic(0, \"pivot\", @primnum, adjust_pivot, \"add\"); + // setprimintrinsic(0, \"pivot\", @primnum, adjust_pivot, \"add\"); + v@__pivot += adjust_pivot; @P += (m * adjust_pivot); // we need to be multiplying against a matrix instead of just scale... } else { - setprimintrinsic(0, \"pivot\", @primnum, adjust_pivot, \"set\"); - + // setprimintrinsic(0, \"pivot\", @primnum, adjust_pivot, \"set\"); + v@__pivot = adjust_pivot; @P -= (m * pivot); } " ) @@ -1019,6 +1002,166 @@ Content-Type: text/plain } } +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/get_intrinsics.init" +Content-Type: text/plain + +type = attribwrangle +matchesdef = 1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/get_intrinsics.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -5.46951 6.89368 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 (0) "" 1 "input1" +} +inputs +{ +0 (0) 0 1 +} +stat +{ + create 1583690993 + modify 1584037852 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/get_intrinsics.parm" +Content-Type: text/plain + +{ +version 0.8 +folder0 [ 0 locks=0 ] ( 0 0 ) +group [ 0 locks=0 ] ( "" ) +grouptype [ 0 locks=0 ] ( "guess" ) +class [ 0 locks=0 ] ( "primitive" ) +vex_numcount [ 0 locks=0 ] ( 10 ) +vex_threadjobsize [ 0 locks=0 ] ( 1024 ) +snippet [ 0 locks=0 ] ( "3@__transform = primintrinsic(0, \"transform\", @elemnum); +v@__pivot = primintrinsic(0, \"pivot\", @elemnum);" ) +exportlist [ 0 locks=0 ] ( * ) +vex_strict [ 0 locks=0 ] ( "off" ) +autobind [ 0 locks=0 ] ( "on" ) +bindings [ 0 locks=0 ] ( 0 ) +groupautobind [ 0 locks=0 ] ( "on" ) +groupbindings [ 0 locks=0 ] ( 0 ) +vex_cwdpath [ 0 locks=0 ] ( . ) +vex_outputmask [ 0 locks=0 ] ( * ) +vex_updatenmls [ 0 locks=0 ] ( "off" ) +vex_matchattrib [ 0 locks=0 ] ( id ) +vex_inplace [ 0 locks=0 ] ( "off" ) +vex_selectiongroup [ 0 locks=0 ] ( "" ) +vex_precision [ 0 locks=0 ] ( auto ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/get_intrinsics.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/primitivewrangle1.init" +Content-Type: text/plain + +type = attribwrangle +matchesdef = 1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/primitivewrangle1.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -5.21941 2.52042 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 attribpromote2 1 1 "input1" +} +inputs +{ +0 attribpromote2 0 1 +} +stat +{ + create 1583691244 + modify 1584037852 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/primitivewrangle1.parm" +Content-Type: text/plain + +{ +version 0.8 +folder0 [ 0 locks=0 ] ( 0 0 ) +group [ 0 locks=0 ] ( @__ingroup==1 ) +grouptype [ 0 locks=0 ] ( "guess" ) +class [ 0 locks=0 ] ( "primitive" ) +vex_numcount [ 0 locks=0 ] ( 10 ) +vex_threadjobsize [ 0 locks=0 ] ( 1024 ) +snippet [ 0 locks=0 ] ( "setprimintrinsic(0, \"pivot\", @elemnum, v@__pivot, \"set\"); +setprimintrinsic(0, \"transform\", @elemnum, 3@__transform, \"set\");" ) +exportlist [ 0 locks=0 ] ( * ) +vex_strict [ 0 locks=0 ] ( "off" ) +autobind [ 0 locks=0 ] ( "on" ) +bindings [ 0 locks=0 ] ( 0 ) +groupautobind [ 0 locks=0 ] ( "on" ) +groupbindings [ 0 locks=0 ] ( 0 ) +vex_cwdpath [ 0 locks=0 ] ( . ) +vex_outputmask [ 0 locks=0 ] ( * ) +vex_updatenmls [ 0 locks=0 ] ( "off" ) +vex_matchattrib [ 0 locks=0 ] ( id ) +vex_inplace [ 0 locks=0 ] ( "off" ) +vex_selectiongroup [ 0 locks=0 ] ( "" ) +vex_precision [ 0 locks=0 ] ( auto ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/primitivewrangle1.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot/output1.init" Content-Type: text/plain @@ -1032,7 +1175,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -3.13514 -0.572196 +position -3.13514 -3.04954 connectornextid 1 flags = lock off model off template off footprint off xray off bypass off display on render on highlight off unload off savedata off compress on colordefault on exposed on outputsNamed3 @@ -1049,7 +1192,7 @@ inputs stat { create 1524060453 - modify 1575608343 + modify 1583691343 author Henry@LAPPY586 access 0777 } @@ -1074,7 +1217,207 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"18.0.348" + "value":"18.0.391" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote1.init" +Content-Type: text/plain + +type = attribpromote +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote1.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -5.46996 5.85578 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 get_intrinsics 1 1 "input1" +} +inputs +{ +0 get_intrinsics 0 1 +} +stat +{ + create 1583691010 + modify 1583691125 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote1.parm" +Content-Type: text/plain + +{ +version 0.8 +inname [ 0 locks=0 ] ( "__transform __pivot" ) +inclass [ 0 locks=0 ] ( "primitive" ) +outclass [ 0 locks=0 ] ( "point" ) +usepieceattrib [ 0 locks=0 ] ( "off" ) +pieceattrib [ 0 locks=0 ] ( name ) +method [ 0 locks=0 ] ( "first" ) +useoutname [ 0 locks=0 ] ( "off" ) +outname [ 0 locks=0 ] ( "" ) +deletein [ 0 locks=0 ] ( "on" ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote1.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"18.0.391" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote2.init" +Content-Type: text/plain + +type = attribpromote +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote2.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -5.46996 3.51607 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 pivot 0 1 "input1" +} +inputs +{ +0 pivot 0 1 +} +stat +{ + create 1583691229 + modify 1583691285 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote2.parm" +Content-Type: text/plain + +{ +version 0.8 +inname [ 0 locks=0 ] ( "__transform __pivot __ingroup" ) +inclass [ 0 locks=0 ] ( "point" ) +outclass [ 0 locks=0 ] ( "primitive" ) +usepieceattrib [ 0 locks=0 ] ( "off" ) +pieceattrib [ 0 locks=0 ] ( name ) +method [ 0 locks=0 ] ( "first" ) +useoutname [ 0 locks=0 ] ( "off" ) +outname [ 0 locks=0 ] ( "" ) +deletein [ 0 locks=0 ] ( "on" ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribpromote2.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"18.0.391" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribdelete1.init" +Content-Type: text/plain + +type = attribdelete +matchesdef = 1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribdelete1.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -5.21986 1.6064 +connectornextid 2 +flags = lock off model off template off footprint off xray off bypass off display off render off highlight off unload off savedata off compress on colordefault on exposed on +outputsNamed3 +{ +1 "output1" +} +inputsNamed3 +{ +0 primitivewrangle1 1 1 "input1" +} +inputs +{ +0 primitivewrangle1 0 1 +} +stat +{ + create 1583691341 + modify 1583691598 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 0.8 0.8 0.8 +delscript "" +exprlanguage hscript +end + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribdelete1.parm" +Content-Type: text/plain + +{ +version 0.8 +ptdel [ 0 locks=0 ] ( "" ) +vtxdel [ 0 locks=0 ] ( "" ) +primdel [ 0 locks=0 ] ( "__ingroup __pivot __transform" ) +dtldel [ 0 locks=0 ] ( "" ) +updatevar [ 0 locks=0 ] ( "on" ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/attribdelete1.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" } } @@ -1082,11 +1425,16 @@ Content-Type: text/plain Content-Disposition: attachment; filename="hdaroot.order" Content-Type: text/plain -4 +9 compute_translate Apply_Attributes1 pivot output1 +get_intrinsics +attribpromote1 +attribpromote2 +primitivewrangle1 +attribdelete1 --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot.net" diff --git a/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/DialogScript b/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/DialogScript index d28e581a..9d117bce 100644 --- a/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/DialogScript +++ b/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/DialogScript @@ -57,7 +57,7 @@ name "ignore_no_falloff" label "Ignore Zero Falloff Prims" type toggle - default { "on" } + default { "off" } disablewhen "{ do_weight == 0 }" parmtag { "autoscope" "0000000000000000" } } @@ -143,6 +143,7 @@ label "Vexpression" type string default { "// translate = {0,0,0};\n// rotate = {0,0,0};\n// scale = {1,1,1};\n// pscale = 1;\n// local = 1;" } + disablewhen "{ do_vexpression 0 }" parmtag { "autoscope" "0000000000000000" } parmtag { "editor" "1" } parmtag { "editorlang" "vex" } diff --git a/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/ExtraFileOptions b/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/ExtraFileOptions index e5944c12..05e4edcf 100644 --- a/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/ExtraFileOptions +++ b/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/ExtraFileOptions @@ -1,7 +1,7 @@ { "OnCreated/Cursor":{ "type":"intarray", - "value":[16,9] + "value":[16,1] }, "OnCreated/IsExpr":{ "type":"bool", @@ -21,7 +21,7 @@ }, "ViewerStateModule/CodeGenInput":{ "type":"string", - "value":"{\n\t\"state_name\":\"\",\n\t\"state_label\":\"\",\n\t\"state_descr\":\"\",\n\t\"state_icon\":\"$HH/config/Icons\",\n\t\"state_sample\":0,\n\t\"state_handler_indices\":[]\n}\n" + "value":"{\n\t\"state_name\":\"\",\n\t\"state_label\":\"\",\n\t\"state_descr\":\"\",\n\t\"state_icon\":\"$HH/config/Icons\",\n\t\"state_debug_menu\":0,\n\t\"state_sample\":0,\n\t\"state_handler_indices\":[]\n}\n" }, "mops_modifier_02.svg/Cursor":{ "type":"intarray", diff --git a/toolbar/MOPs_tools.shelf b/toolbar/MOPs_tools.shelf index b024c86c..416193fd 100644 --- a/toolbar/MOPs_tools.shelf +++ b/toolbar/MOPs_tools.shelf @@ -21,7 +21,7 @@ # generate a MOPs Move Along Spline modifier, enable Snap to Centroid, # set the starting attachment position to 0, and set Offset to 1. -node = soptoolutils.genericTool(kwargs, "MOPS::move_along_spline::1.4", force_filter=True) +node = soptoolutils.genericTool(kwargs, "MOPS::move_along_spline::1.5", force_filter=True) node.parm('do_snap').set(1) node.parm('maintain_offset').set(1.0) node.parm('attach_mode').set(1) @@ -38,21 +38,21 @@ node.parm('attach_attr').set("")]]> # generate a MOPs Move Along Spline modifier, then set it to distribute # everything onto the spline. -node = soptoolutils.genericTool(kwargs, 'MOPS::move_along_spline::1.4', force_filter=True) +node = soptoolutils.genericTool(kwargs, 'MOPS::move_along_spline::1.5', force_filter=True) node.parm('attach_mode').set(2) node.parm('curve_select_mode').set(1)]]> - - SOP - + + SOP + MOPs/Modifiers +node = soptoolutils.genericTool(kwargs, "MOPS::Align::1.2", force_filter=True)]]>