diff --git a/VERSION.txt b/VERSION.txt index 3ba033af..6281efba 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -v1.0.12 Experimental \ No newline at end of file +v1.0.14 Experimental \ No newline at end of file diff --git a/otls/MOPS_Align.hda/INDEX__SECTION b/otls/MOPS_Align.hda/INDEX__SECTION index 54c5aebe..8e24de25 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: Mon Nov 11 16:51:29 2019 +Modified: Sun Nov 10 20:51:29 2019 Operator: MOPS::Align::1.1 Label: MOPs Align @@ -24,7 +24,7 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Mon Dec 2 16:13:21 2019 +Modified: Sun Dec 1 20:13:21 2019 Operator: MOPS::Align::1.2 Label: MOPs Align @@ -38,5 +38,5 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Tue Mar 17 21:22:55 2020 +Modified: Thu Mar 19 21:40:41 2020 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 index 5eaa8bae..2bef8f89 100644 Binary files a/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Contents.dir/.OPdummydefs 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/Contents.mime b/otls/MOPS_Align.hda/MOPS_8_8Sop_1Align_8_81.2/Contents.dir/Contents.mime index ee35f31a..c033a577 100644 --- 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 @@ -32,7 +32,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -5.45069 -0.85929 +position 8.796 -2.95349 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 @@ -48,8 +48,8 @@ inputs } stat { - create 1584415207 - modify 1584505370 + create 1584678610 + modify 1584679241 author Henry@LAPPY586 access 0777 } @@ -76,6 +76,31 @@ 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/__stickynote1.postitinit" +Content-Type: text/plain + +type = postitnote +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/__stickynote1.postitdef" +Content-Type: text/plain + +text "align to bbox needs a WORLD vs LOCAL space mode!" +position -10.2781 2.27813 +size 3.99278 3.75777 +flags = minimize off +stat +{ + create 1584678986 + modify 1584679001 + author Henry@LAPPY586 + access 0777 +} +color UT_Color RGB 1 0.969 0.522 +end + --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot/centroid.init" Content-Type: text/plain @@ -89,7 +114,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -3.03386 2.75374 +position -4.05068 3.58284 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 @@ -107,7 +132,7 @@ inputs stat { create 1584071885 - modify 1584505233 + modify 1584679113 author Henry@LAPPY586 access 0777 } @@ -381,19 +406,19 @@ float weight = @attr; if(!chi(\"do_falloff\")) { weight = 1; } +matrix3 xform = matrix3(4@__xform); vector old_pivot = v@__pivot; -vector pivot = set(0,0,0); - -// vexpression -`ifs(ch(\"do_vexpression\"), chs(\"vexpression\"), \"\")` +float bounds[] = f[]@__bounds; +vector bounds_min = set(bounds[0], bounds[2], bounds[4]); +vector bounds_max = set(bounds[1], bounds[3], bounds[5]); +vector pivot = set((bounds_max.x + bounds_min.x)/2, (bounds_max.y + bounds_min.y)/2, (bounds_max.z + bounds_min.z)/2); 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; + @P += (offset * xform); }" ) exportlist [ 0 locks=0 ] ( * ) vex_strict [ 0 locks=0 ] ( "off" ) @@ -409,7 +434,7 @@ 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 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};" ] ) @@ -459,7 +484,7 @@ inputs stat { create 1584071885 - modify 1584415207 + modify 1584676834 author Henry@LAPPY586 access 0777 } @@ -838,7 +863,7 @@ inputs stat { create 1584071885 - modify 1584415207 + modify 1584676834 author Henry@LAPPY586 access 0777 } @@ -1234,7 +1259,7 @@ inputs stat { create 1584071885 - modify 1584415207 + modify 1584676834 author Henry@LAPPY586 access 0777 } @@ -1600,7 +1625,7 @@ inputs stat { create 1584078517 - modify 1584415425 + modify 1584677908 author Henry@LAPPY586 access 0777 } @@ -1622,7 +1647,8 @@ 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);" ) +4@__xform = getpackedtransform(0, @elemnum); +f[]@__bounds = primintrinsic(0, \"packedbounds\", @elemnum);" ) exportlist [ 0 locks=0 ] ( * ) vex_strict [ 0 locks=0 ] ( "off" ) autobind [ 0 locks=0 ] ( "on" ) @@ -1680,7 +1706,7 @@ inputs stat { create 1584078821 - modify 1584415503 + modify 1584676834 author Henry@LAPPY586 access 0777 } @@ -1749,19 +1775,19 @@ Content-Type: text/plain } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/align1.init" +Content-Disposition: attachment; filename="hdaroot/align_local.init" Content-Type: text/plain type = attribwrangle matchesdef = 1 --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/align1.def" +Content-Disposition: attachment; filename="hdaroot/align_local.def" Content-Type: text/plain sopflags sopflags = comment "" -position 0.167123 1.59943 +position 0.192041 1.93823 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 @@ -1770,16 +1796,16 @@ outputsNamed3 } inputsNamed3 { -0 centroid 1 1 "input1" +0 attribpromote1 1 1 "input1" } inputs { -0 centroid 0 1 +0 attribpromote1 0 1 } stat { create 1584071885 - modify 1584505364 + modify 1584679235 author Henry@LAPPY586 access 0777 } @@ -1789,7 +1815,7 @@ exprlanguage hscript end --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/align1.spareparmdef" +Content-Disposition: attachment; filename="hdaroot/align_local.spareparmdef" Content-Type: text/plain group { @@ -1979,7 +2005,6 @@ Content-Type: text/plain label "Do Vexpression" type toggle default { "0" } - range { 0 1 } } parm { name "vexpression" @@ -1989,9 +2014,393 @@ Content-Type: text/plain parmtag { "editor" "1" } parmtag { "editorlang" "vex" } } + parm { + name "do_center" + label "Do Center" + type integer + default { "0" } + range { 0 10 } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/align_local.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_local.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[] = f[]@__bounds; +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]; + +pivot = lerp(old_pivot, pivot, weight); + +v@__pivot = pivot; +vector offset = pivot - old_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 ) +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};" ] ) +do_center [ 0 locks=0 ] ( 1 ) +bindname1 [ 0 locks=0 ] ( [ bindname1 mops_falloff ] ) +bindparm1 [ 0 locks=0 ] ( attr ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/align_local.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/align_world.init" +Content-Type: text/plain + +type = attribwrangle +matchesdef = 1 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/align_world.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -1.77833 2.07429 +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 1584679236 + 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_world.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" } + } + parm { + name "vexpression" + label "Vexpression" + type string + default { "" } + parmtag { "editor" "1" } + parmtag { "editorlang" "vex" } + } + parm { + name "do_center" + label "Do Center" + type integer + default { "0" } + range { 0 10 } + } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/align1.chn" +Content-Disposition: attachment; filename="hdaroot/align_world.chn" Content-Type: text/plain { @@ -2051,7 +2460,7 @@ Content-Type: text/plain } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/align1.parm" +Content-Disposition: attachment; filename="hdaroot/align_world.parm" Content-Type: text/plain { @@ -2067,7 +2476,7 @@ float weight = @attr; if(!chi(\"do_falloff\")) { weight = 1; } -float bounds[] = primintrinsic(0, \"packedbounds\", @ptnum); +float bounds[] = f[]@__bounds; int mode = chi(\"mode\"); // -X, +X, -Y, +Y, -Z, +Z int index = floor(mode / 2); matrix3 xform = matrix3(4@__xform); @@ -2088,8 +2497,8 @@ push(world_bounds, bounds_min.z); push(world_bounds, bounds_max.z); pivot *= xform; -vector scale = cracktransform(0, 0, 2, 0, xform); pivot[index] = world_bounds[mode]; + pivot *= invert(xform); // vexpression @@ -2099,7 +2508,7 @@ 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); }" ) @@ -2118,16 +2527,17 @@ 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 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};" ] ) +do_center [ 0 locks=0 ] ( 1 ) bindname1 [ 0 locks=0 ] ( [ bindname1 mops_falloff ] ) bindparm1 [ 0 locks=0 ] ( attr ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY -Content-Disposition: attachment; filename="hdaroot/align1.userdata" +Content-Disposition: attachment; filename="hdaroot/align_world.userdata" Content-Type: text/plain { @@ -2168,7 +2578,7 @@ inputs stat { create 1555386448 - modify 1584503151 + modify 1584676834 author Henry@LAPPY586 access 0777 } @@ -2212,10 +2622,11 @@ Content-Type: text/plain sopflags sopflags = comment "" position -2.18348 -6.8817 -connectornextid 1 +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 { @@ -2228,7 +2639,7 @@ inputs stat { create 1555387829 - modify 1584505233 + modify 1584678356 author Henry@LAPPY586 access 0777 } @@ -2280,7 +2691,7 @@ outputsNamed3 inputsNamed3 { 1 centroid 1 1 "input1" -0 align1 1 1 "input2" +0 switch_align_space 1 1 "input2" 2 pivot_shift 1 1 "input3" 3 local_pivot 1 1 "input4" 4 world_pivot 1 1 "input5" @@ -2288,7 +2699,7 @@ inputsNamed3 inputs { 0 centroid 0 1 -1 align1 0 1 +1 switch_align_space 0 1 2 pivot_shift 0 1 3 local_pivot 0 1 4 world_pivot 0 1 @@ -2296,7 +2707,7 @@ inputs stat { create 1584077764 - modify 1584505237 + modify 1584679030 author Henry@LAPPY586 access 0777 } @@ -2370,7 +2781,7 @@ inputs stat { create 1584078559 - modify 1584503344 + modify 1584678356 author Henry@LAPPY586 access 0777 } @@ -2385,7 +2796,7 @@ Content-Type: text/plain { version 0.8 -inname [ 0 locks=0 ] ( "__pivot __xform" ) +inname [ 0 locks=0 ] ( "__pivot __xform __bounds" ) inclass [ 0 locks=0 ] ( "primitive" ) outclass [ 0 locks=0 ] ( "point" ) usepieceattrib [ 0 locks=0 ] ( "off" ) @@ -2438,7 +2849,7 @@ inputs stat { create 1584078793 - modify 1584415553 + modify 1584676834 author Henry@LAPPY586 access 0777 } @@ -2506,7 +2917,7 @@ inputs stat { create 1584083062 - modify 1584083072 + modify 1584676834 author Henry@LAPPY586 access 0777 } @@ -2539,11 +2950,87 @@ Content-Type: text/plain } } +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/switch_align_space.init" +Content-Type: text/plain + +type = switch +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/switch_align_space.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position -1.77533 0.835571 +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 +{ +1 "output1" +} +inputsNamed3 +{ +2 align_world 1 1 "input1" +0 align_local 1 1 "input2" +} +inputs +{ +0 align_world 0 1 +1 align_local 0 1 +} +stat +{ + create 1584679030 + modify 1584679232 + 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_align_space.chn" +Content-Type: text/plain + +{ + channel input { + lefttype = extend + righttype = extend + default = 1 + flags = 0 + segment { length = 0 value = 1 1 expr = ch(\"../align_local\") } + } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/switch_align_space.parm" +Content-Type: text/plain + +{ +version 0.8 +input [ 0 locks=0 ] ( [ input 0 ] ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/switch_align_space.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"18.0.391" + } +} + --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot.order" Content-Type: text/plain -13 +15 MOPS_IN output0 centroid @@ -2556,7 +3043,9 @@ attribpromote1 attribpromote2 primitivewrangle2 attribdelete1 -align1 +align_local +switch_align_space +align_world --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot.net" 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 index 8ec2616a..c24dcb99 100644 --- 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 @@ -122,6 +122,15 @@ } parmtag { "script_callback_language" "python" } } + parm { + name "align_local" + label "Local Space" + type toggle + default { "0" } + range { 0! 10 } + parmtag { "autoscope" "0000000000000000" } + parmtag { "script_callback_language" "python" } + } } groupsimple { diff --git a/otls/MOPS_Visualize_Frame.hda/INDEX__SECTION b/otls/MOPS_Visualize_Frame.hda/INDEX__SECTION index aef6167b..ea8ac6f4 100644 --- a/otls/MOPS_Visualize_Frame.hda/INDEX__SECTION +++ b/otls/MOPS_Visualize_Frame.hda/INDEX__SECTION @@ -10,5 +10,5 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Tue Jul 9 22:33:54 2019 +Modified: Sun Mar 22 15:08:20 2020 diff --git a/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/Contents.dir/.OPdummydefs b/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/Contents.dir/.OPdummydefs index 373fbdc8..69119b22 100644 Binary files a/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/Contents.dir/.OPdummydefs and b/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/Contents.dir/.OPdummydefs differ diff --git a/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/Contents.dir/.OPfallbacks b/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/Contents.dir/.OPfallbacks index 4ec63fbb..22bd775c 100644 --- a/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/Contents.dir/.OPfallbacks +++ b/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/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.391/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.391/houdini/otls/OPlibSop.hda Sop/attribwrangle otls/OPlibSop.hda diff --git a/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/Contents.dir/Contents.mime b/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/Contents.dir/Contents.mime index 2f9386f3..34fb9858 100644 --- a/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/Contents.dir/Contents.mime +++ b/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/Contents.dir/Contents.mime @@ -32,24 +32,24 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 1.7841 -4.5317 +position -12.6815 1.73941 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 +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 MOPs_Trails 1 1 "input1" +0 MOPs_Transform_Modifier1 1 1 "input1" } inputs { -0 MOPs_Trails 1 1 +0 MOPs_Transform_Modifier1 0 1 } stat { - create 1562628489 - modify 1562736441 + create 1584895659 + modify 1584914898 author Henry@LAPPY586 access 0777 } @@ -150,7 +150,7 @@ inputs stat { create 1542840097 - modify 1562628489 + modify 1584914855 author Henry@LAPPY586 access 0777 } @@ -171,10 +171,18 @@ 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 ] ( "matrix3 m = qconvert(p@orient); -v@N = {0,0,1}*m; -v@up = {0,1,0}*m; -v@binormal = {1,0,0}*m;" ) +snippet [ 0 locks=0 ] ( "// apply mops_orient pretransform + +vector4 mops_orient = quaternion(ident()); +if(haspointattrib(0, \"mops_orient\")) { + mops_orient = point(0, \"mops_orient\", @ptnum); +} +p@orient = qmultiply(p@orient, mops_orient); + +matrix3 m = qconvert(p@orient); +v@viz_N = {0,0,1}*m; +v@viz_up = {0,1,0}*m; +v@viz_binormal = {1,0,0}*m;" ) exportlist [ 0 locks=0 ] ( * ) vex_strict [ 0 locks=0 ] ( "off" ) autobind [ 0 locks=0 ] ( "on" ) @@ -187,6 +195,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 ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -213,7 +222,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 1.29394 3.62547 +position 1.72165 3.73591 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 @@ -231,7 +240,7 @@ inputs stat { create 1557810246 - modify 1557813721 + modify 1584895438 author Henry@LAPPY586 access 0777 } @@ -316,7 +325,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"17.5.229" + "value":"18.0.391" } } @@ -346,7 +355,7 @@ inputsNamed3 } inputs { -0 (0) 1 1 +0 (0) 0 1 } stat { @@ -377,7 +386,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"17.5.229" + "value":"18.0.391" } } @@ -414,7 +423,7 @@ inputs stat { create 1557810327 - modify 1557813725 + modify 1584895621 author Henry@LAPPY586 access 0777 } @@ -436,7 +445,7 @@ destgrouptype [ 0 locks=0 ] ( "points" ) matchbyattribute [ 0 locks=0 ] ( "off" ) attributetomatch [ 0 locks=0 ] ( piece ) attrib [ 0 locks=0 ] ( "otherattrib" ) -attribname [ 0 locks=0 ] ( "N up binormal" ) +attribname [ 0 locks=0 ] ( "viz_N viz_up viz_binormal" ) copyp [ 0 locks=0 ] ( "on" ) usenewname [ 0 locks=0 ] ( "off" ) newname [ 0 locks=0 ] ( "" ) @@ -451,7 +460,7 @@ Content-Type: text/plain { "___Version___":{ "type":"string", - "value":"17.5.229" + "value":"18.0.391" } } diff --git a/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/ExtraFileOptions b/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/ExtraFileOptions index 7e8cd5c9..772715d3 100644 --- a/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/ExtraFileOptions +++ b/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/ExtraFileOptions @@ -1,7 +1,7 @@ { "OnCreated/Cursor":{ "type":"intarray", - "value":[1,1] + "value":[34,31] }, "OnCreated/IsExpr":{ "type":"bool", @@ -39,6 +39,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_debug_menu\":0,\n\t\"state_sample\":0,\n\t\"state_handler_indices\":[]\n}\n" + }, "mops_TD_tools_05.svg/Cursor":{ "type":"intarray", "value":[1,1] diff --git a/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/OnCreated b/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/OnCreated index 69a265b5..395c754f 100644 --- a/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/OnCreated +++ b/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/OnCreated @@ -15,7 +15,7 @@ if hasattr(hou, 'viewportVisualizers'): node = kwargs['node'] v1 = hou.viewportVisualizers.createVisualizer(hou.viewportVisualizers.type('vis_marker'), hou.viewportVisualizerCategory.Node, node) v1.setIsActive(True) - v1.setParm('attrib', 'N') + v1.setParm('attrib', 'viz_N') v1.setParm('style', 'vector') v1.setParm('markercolorr', 0); v1.setParm('markercolorg', 0); @@ -23,7 +23,7 @@ if hasattr(hou, 'viewportVisualizers'): v2 = hou.viewportVisualizers.createVisualizer(hou.viewportVisualizers.type('vis_marker'), hou.viewportVisualizerCategory.Node, node) v2.setIsActive(True) - v2.setParm('attrib', 'up') + v2.setParm('attrib', 'viz_up') v2.setParm('style', 'vector') v2.setParm('markercolorr', 0); v2.setParm('markercolorg', 1); @@ -31,7 +31,7 @@ if hasattr(hou, 'viewportVisualizers'): v1 = hou.viewportVisualizers.createVisualizer(hou.viewportVisualizers.type('vis_marker'), hou.viewportVisualizerCategory.Node, node) v1.setIsActive(True) - v1.setParm('attrib', 'binormal') + v1.setParm('attrib', 'viz_binormal') v1.setParm('style', 'vector') v1.setParm('markercolorr', 1); v1.setParm('markercolorg', 0); diff --git a/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/TypePropertiesOptions b/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/TypePropertiesOptions index b4811492..a6d52acf 100644 --- a/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/TypePropertiesOptions +++ b/otls/MOPS_Visualize_Frame.hda/MOPS_8_8Sop_1Visualize__Frame_8_81.0/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_applyAttributes.hda/INDEX__SECTION b/otls/MOPS_applyAttributes.hda/INDEX__SECTION index d3a8b089..a79c526e 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: Fri Jan 4 20:24:00 2019 +Modified: Fri Jan 4 02: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 15 18:46:39 2020 +Modified: Sun Mar 22 15:46:34 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 4c0c91ed..2ff6a502 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 1dd51c0c..387ef7b6 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 @@ -32,27 +32,27 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -1.63175 0.0513842 +position -14.4992 1.44353 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 IN_MOPS 1 1 "input1" -2 switch_aim_method 1 1 "input2" +0 attribdelete1 1 1 "input1" +1 MOPs_Extract_Attributes 1 1 "input2" } inputs { -0 IN_MOPS 0 1 -1 switch_aim_method 0 1 +0 attribdelete1 0 1 +1 MOPs_Extract_Attributes 0 1 } stat { - create 1569471907 - modify 1575610147 + create 1584915313 + modify 1584917180 author Henry@LAPPY586 access 0777 } @@ -113,7 +113,7 @@ inputs stat { create 1529358487 - modify 1584322784 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -135,7 +135,7 @@ Content-Type: text/plain baseparm label "Group" export none - bindselector uvselect "Modify Points" + bindselector points "Modify Points" "Select the points to affect and press Enter to complete." 0 1 0xffffffff 0 grouptype 0 } @@ -571,6 +571,9 @@ if((type != \"PackedGeometry\") && (type != \"PackedFragment\") && (type != \"Pa } } } + +// p@__orient1 = orient; + // simplify pscale vs scale if(abs(scale.x-scale.y) < epsilon && abs(scale.y-scale.z) < epsilon && abs(length(scale)-1) < epsilon) { pscale *= scale.x; @@ -612,8 +615,8 @@ if(haspointattrib(1, \"euler\")) { // scale, rotate, translate -f@__pscale2 = pscale2; -v@__scale1 = scale; +//f@__pscale2 = pscale2; +//v@__scale1 = scale; if(doS) { if(Smode == 0) { // scale = lerp(scale, scale*scale2*pscale2, weight); @@ -626,35 +629,33 @@ if(doS) { } } -v@__scale = scale; -f@__pscale = pscale; +//v@__scale = scale; +//f@__pscale = pscale; vector4 mops_orient = quaternion(ident()); if(haspointattrib(0, \"mops_orient\")) { mops_orient = point(0, \"mops_orient\", @ptnum); } - if(doR) { if(Rmode == 0) { + vector4 out_orient = quaternion(ident()); // accumulate rotation - // apply mops_orient inverse pre-transform. if(local) { if(!haspointattrib(1, \"euler\")) { orient2 = slerp(quaternion(ident()), orient2, weight); } - orient2 = qmultiply(orient2, qinvert(mops_orient)); - p@__orient2 = orient2; - } - vector4 out_orient = qmultiply(orient2, orient); - if(!local){ + // pre-transform current orient by mops orient, accumulate, then invert pre-transform. + orient = qmultiply(orient, mops_orient); + out_orient = qmultiply(orient, orient2); + out_orient = qmultiply(out_orient, qinvert(mops_orient)); + } else { + // rotation order is switched if rotating in world space. + // orient = qmultiply(orient, qinvert(mops_orient)); out_orient = qmultiply(orient2, orient); } orient = out_orient; - // re-apply mops_orient. - if(local) { - orient = qmultiply(mops_orient, orient); - } + } else { // set rotation directly if(!haspointattrib(1, \"euler\")) { @@ -670,17 +671,13 @@ if(doT) { 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)); +// generate output matrix. +matrix3 out = ident(); scale(out, (scale*pscale)); -// now rotate this matrix by mops_orient. -out *= qconvert(mops_orient); - matrix3 rot = qconvert(orient); out = out * rot; 3@__transform = out; -i@__ingroup = 1; -//setprimintrinsic(0, \"transform\", @ptnum, out, \"set\");" ) +i@__ingroup = 1;" ) exportlist [ 0 locks=0 autoscope=0 ] ( * ) vex_strict [ 0 locks=0 autoscope=0 ] ( "off" ) autobind [ 0 locks=0 autoscope=0 ] ( "on" ) @@ -695,9 +692,9 @@ 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 ) -do_translate [ 0 locks=0 autoscope=0 ] ( [ do_translate 0 ] ) +do_translate [ 0 locks=0 autoscope=0 ] ( [ do_translate 1 ] ) do_rotate [ 0 locks=0 autoscope=0 ] ( [ do_rotate 1 ] ) -do_scale [ 0 locks=0 autoscope=0 ] ( [ do_scale 0 ] ) +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 1 ] ) scale_mode [ 0 locks=0 autoscope=0 ] ( [ scale_mode 0 ] ) @@ -750,7 +747,7 @@ inputs stat { create 1529358487 - modify 1584208869 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -833,7 +830,7 @@ inputs stat { create 1555437557 - modify 1584208869 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -929,7 +926,7 @@ inputs stat { create 1569084024 - modify 1584208869 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -1016,7 +1013,7 @@ inputs stat { create 1583618763 - modify 1584208869 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -1096,7 +1093,7 @@ inputs stat { create 1583691828 - modify 1584208869 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -1145,6 +1142,91 @@ Content-Type: text/plain } } +--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 1.33952 -13.3967 +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 attribswap2 1 1 "input1" +} +inputs +{ +0 attribswap2 0 1 +} +stat +{ + create 1584863149 + modify 1584915313 + 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.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 ] ( "// the output orientation doesn't take into account the mops_orient pretransform. +// adjust orient to fit. +vector4 mops_orient = quaternion(ident()); +if(haspointattrib(0, \"mops_orient\")) { + mops_orient = point(0, \"mops_orient\", @ptnum); +} +p@orient = qmultiply(qinvert(mops_orient), p@orient);" ) +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/pointwrangle1.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot/attribcopy_id.init" Content-Type: text/plain @@ -1178,7 +1260,7 @@ inputs stat { create 1529358487 - modify 1584208869 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -1331,7 +1413,7 @@ inputs stat { create 1529358487 - modify 1584208869 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -1449,7 +1531,7 @@ sopflags sopflags = comment "" position -0.382921 -18.404 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 +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 +1546,7 @@ inputs stat { create 1529358487 - modify 1584322466 + modify 1584862529 author Henry@LAPPY586 access 0777 } @@ -1590,7 +1672,7 @@ inputs stat { create 1529358487 - modify 1584208869 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -1665,7 +1747,7 @@ inputs stat { create 1529358487 - modify 1584208869 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -1801,7 +1883,7 @@ inputs stat { create 1555459453 - modify 1584208869 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -1830,7 +1912,7 @@ Content-Type: text/plain { version 0.8 -input [ 0 locks=0 ] ( [ input 0 ] ) +input [ 0 locks=0 ] ( [ input 1 ] ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -1857,7 +1939,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -0.382921 -13.5576 +position -0.382921 -14.5805 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 @@ -1867,17 +1949,17 @@ outputsNamed3 inputsNamed3 { 0 switch_do_output_scale 1 1 "input1" -2 attribswap2 1 1 "input2" +2 pointwrangle1 1 1 "input2" } inputs { 0 switch_do_output_scale 0 1 -1 attribswap2 0 1 +1 pointwrangle1 0 1 } stat { create 1556862778 - modify 1584208869 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -1952,7 +2034,7 @@ inputs stat { create 1569084092 - modify 1584208869 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -2009,7 +2091,7 @@ sopflags sopflags = comment "" position -0.382921 -11.2829 connectornextid 3 -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" @@ -2027,7 +2109,7 @@ inputs stat { create 1569468433 - modify 1584322466 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -2214,7 +2296,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 1.00353 -6.32362 +position 1.14262 -6.21869 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 +2314,7 @@ inputs stat { create 1569709553 - modify 1584173407 + modify 1584897229 author Henry@LAPPY586 access 0777 } @@ -2300,7 +2382,7 @@ inputs stat { create 1573854736 - modify 1584208869 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -2443,7 +2525,7 @@ inputs stat { create 1583519692 - modify 1584208869 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -2519,7 +2601,7 @@ inputs stat { create 1529358487 - modify 1584208869 + modify 1584915313 author Henry@LAPPY586 access 0777 } @@ -2604,7 +2686,7 @@ inputs stat { create 1583618748 - modify 1584173368 + modify 1584897426 author Henry@LAPPY586 access 0777 } @@ -2672,7 +2754,7 @@ inputs stat { create 1583691873 - modify 1583691883 + modify 1584862529 author Henry@LAPPY586 access 0777 } @@ -2713,7 +2795,7 @@ Content-Type: text/plain Content-Disposition: attachment; filename="hdaroot.order" Content-Type: text/plain -28 +29 apply_attributes1 attribcopy_id enumerate1 @@ -2742,6 +2824,7 @@ attribpromote1 set_intrinsics primitivewrangle1 attribpromote3 +pointwrangle1 --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot.net" diff --git a/otls/MOPS_extractAttributes.hda/INDEX__SECTION b/otls/MOPS_extractAttributes.hda/INDEX__SECTION index 5c9f5395..e3bbd4af 100644 --- a/otls/MOPS_extractAttributes.hda/INDEX__SECTION +++ b/otls/MOPS_extractAttributes.hda/INDEX__SECTION @@ -10,5 +10,5 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Sun Mar 15 18:47:55 2020 +Modified: Sun Mar 22 15:46:08 2020 diff --git a/otls/MOPS_extractAttributes.hda/MOPS_8_8Sop_1Extract__Attributes_8_81.0/Contents.dir/.OPdummydefs b/otls/MOPS_extractAttributes.hda/MOPS_8_8Sop_1Extract__Attributes_8_81.0/Contents.dir/.OPdummydefs index ad76db4b..b51452d3 100644 Binary files a/otls/MOPS_extractAttributes.hda/MOPS_8_8Sop_1Extract__Attributes_8_81.0/Contents.dir/.OPdummydefs and b/otls/MOPS_extractAttributes.hda/MOPS_8_8Sop_1Extract__Attributes_8_81.0/Contents.dir/.OPdummydefs differ diff --git a/otls/MOPS_extractAttributes.hda/MOPS_8_8Sop_1Extract__Attributes_8_81.0/Contents.dir/Contents.mime b/otls/MOPS_extractAttributes.hda/MOPS_8_8Sop_1Extract__Attributes_8_81.0/Contents.dir/Contents.mime index 0e3caf2b..ba993d34 100644 --- a/otls/MOPS_extractAttributes.hda/MOPS_8_8Sop_1Extract__Attributes_8_81.0/Contents.dir/Contents.mime +++ b/otls/MOPS_extractAttributes.hda/MOPS_8_8Sop_1Extract__Attributes_8_81.0/Contents.dir/Contents.mime @@ -32,7 +32,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -1.18071 4.66488 +position -12.2032 3.37957 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 @@ -41,17 +41,17 @@ outputsNamed3 } inputsNamed3 { -0 IN_MOPS 1 1 "input1" +0 MOPs_Explode 1 1 "input1" } inputs { -0 IN_MOPS 0 1 +0 MOPs_Explode 0 1 } stat { - create 1523779358 - modify 1523780230 - author henry@GlaDOS + create 1584915306 + modify 1584917165 + author Henry@LAPPY586 access 0777 } color UT_Color RGB 0.8 0.8 0.8 @@ -108,7 +108,7 @@ inputs stat { create 1524695134 - modify 1584210224 + modify 1584915306 author Henry@LAPPY586 access 0777 } @@ -130,7 +130,7 @@ Content-Type: text/plain baseparm label "Group" export none - bindselector uvselect "Modify Points" + bindselector points "Modify Points" "Select the points to affect and press Enter to complete." 0 1 0xffffffff 0 grouptype 0 } @@ -394,7 +394,7 @@ inputs stat { create 1550365158 - modify 1584210224 + modify 1584915306 author Henry@LAPPY586 access 0777 } @@ -473,7 +473,7 @@ inputs stat { create 1573854821 - modify 1584210275 + modify 1584915306 author Henry@LAPPY586 access 0777 } @@ -552,7 +552,7 @@ inputs stat { create 1583522390 - modify 1584322125 + modify 1584915306 author Henry@LAPPY586 access 0777 } @@ -574,7 +574,7 @@ Content-Type: text/plain baseparm label "Group" export none - bindselector uvselect "Modify Points" + bindselector points "Modify Points" "Select the points to affect and press Enter to complete." 0 1 0xffffffff 0 grouptype 0 } @@ -784,10 +784,12 @@ if(type == \"PackedGeometry\" || type == \"PackedFragment\" || type == \"PackedD matrix m4 = primintrinsic(0, \"packedfulltransform\", @elemnum); m = matrix3(m4); } + /* if(haspointattrib(0, \"mops_orient\")) { matrix3 mops_orient = qconvert(point(0, \"mops_orient\", @elemnum)); m = mops_orient * m; } + */ vector scale = cracktransform(0,0,2,{0,0,0},m); vector4 orient = quaternion(m); p@orient = orient; @@ -835,6 +837,92 @@ Content-Type: text/plain } } +--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 2.2744 -7.72741 +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 attribdelete2 1 1 "input1" +} +inputs +{ +0 attribdelete2 0 1 +} +stat +{ + create 1584916562 + modify 1584916789 + 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.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 ] ( "vector4 mops_orient = quaternion(ident()); +if(haspointattrib(0, \"mops_orient\")) { + mops_orient = point(0, \"mops_orient\", @ptnum); +} +p@orient = qmultiply(p@orient, mops_orient); +matrix3 m = qconvert(p@orient); +v@N = m * {0,0,1}; +v@up = m * {0,1,0};" ) +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/pointwrangle1.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"" + } +} + --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot/switch_has_N.init" Content-Type: text/plain @@ -868,7 +956,7 @@ inputs stat { create 1542257157 - modify 1584210224 + modify 1584915306 author Henry@LAPPY586 access 0777 } @@ -1145,7 +1233,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 0.559898 -7.33711 +position 0.664657 -9.7535 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 @@ -1153,16 +1241,16 @@ outputsNamed3 } inputsNamed3 { -0 attribdelete2 1 1 "input1" +0 do_mops_orient 1 1 "input1" } inputs { -0 attribdelete2 0 1 +0 do_mops_orient 0 1 } stat { create 1542257309 - modify 1584322124 + modify 1584916558 author Henry@LAPPY586 access 0777 } @@ -1224,7 +1312,7 @@ inputs stat { create 1550365152 - modify 1584322124 + modify 1584915306 author Henry@LAPPY586 access 0777 } @@ -1758,11 +1846,87 @@ Content-Type: text/plain } } +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/do_mops_orient.init" +Content-Type: text/plain + +type = switch +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/do_mops_orient.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position 0.667834 -8.6939 +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 +{ +1 "output1" +} +inputsNamed3 +{ +0 attribdelete2 1 1 "input1" +2 pointwrangle1 1 1 "input2" +} +inputs +{ +0 attribdelete2 0 1 +1 pointwrangle1 0 1 +} +stat +{ + create 1584916552 + modify 1584916920 + 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/do_mops_orient.chn" +Content-Type: text/plain + +{ + channel input { + lefttype = extend + righttype = extend + default = 1 + flags = 0 + segment { length = 0 value = 1 1 expr = ch(\"../do_mops_orient\") } + } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/do_mops_orient.parm" +Content-Type: text/plain + +{ +version 0.8 +input [ 0 locks=0 ] ( [ input 0 ] ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/do_mops_orient.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"18.0.391" + } +} + --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot.order" Content-Type: text/plain -17 +19 do_extraction_points switch_has_N attribpromote1 @@ -1780,6 +1944,8 @@ attribdelete2 do_extraction_prims attribpromote4 attribpromote5 +do_mops_orient +pointwrangle1 --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot.net" diff --git a/otls/MOPS_extractAttributes.hda/MOPS_8_8Sop_1Extract__Attributes_8_81.0/DialogScript b/otls/MOPS_extractAttributes.hda/MOPS_8_8Sop_1Extract__Attributes_8_81.0/DialogScript index 065adac7..74e492f3 100644 --- a/otls/MOPS_extractAttributes.hda/MOPS_8_8Sop_1Extract__Attributes_8_81.0/DialogScript +++ b/otls/MOPS_extractAttributes.hda/MOPS_8_8Sop_1Extract__Attributes_8_81.0/DialogScript @@ -22,6 +22,15 @@ range { 0! 10 } parmtag { "autoscope" "0000000000000000" } } + parm { + name "do_mops_orient" + label "Extract MOPs Orient" + type toggle + default { "0" } + range { 0! 10 } + parmtag { "autoscope" "0000000000000000" } + parmtag { "script_callback_language" "python" } + } parm { name "do_full_transform" label "Extract Full Transform (Abc)" diff --git a/otls/MOPS_transform.hda/INDEX__SECTION b/otls/MOPS_transform.hda/INDEX__SECTION index 573e94f2..9ade1e97 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: Sun Nov 11 20:28:24 2018 +Modified: Sun Nov 11 16: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: Thu Mar 12 11:36:10 2020 +Modified: Sun Mar 22 12:11:17 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 4a63b352..b53f2eb6 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/Contents.mime b/otls/MOPS_transform.hda/MOPS_8_8Sop_1Transform__Modifier_8_81.1/Contents.dir/Contents.mime index aec4f23a..954770a3 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,24 +32,25 @@ Content-Type: text/plain sopflags sopflags = comment "" -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 +position -18.0001 3.21857 +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_Shape_Falloff 1 1 "input1" +0 MOPs_Explode 1 1 "input1" } inputs { -0 MOPs_Shape_Falloff 0 1 +0 MOPs_Explode 0 1 } stat { - create 1584037852 - modify 1584037899 + create 1584210481 + modify 1584904261 author Henry@LAPPY586 access 0777 } @@ -520,14 +521,12 @@ 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 1 ] ) +do_vexpression [ 0 locks=0 ] ( [ do_vexpression 0 ] ) vexpression [ 0 locks=0 ] ( [ vexpression "// translate = {0,0,0}; // rotate = {0,0,0}; // scale = {1,1,1}; // pscale = 1; -// local = 1; -float amt = @Frame * 10 * @mops_falloff; -rotate = set(0, amt, 0);" ] ) +// local = 1;" ] ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -556,7 +555,7 @@ sopflags sopflags = comment "" 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 +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 { 0 "output1" @@ -574,7 +573,7 @@ inputs stat { create 1569469174 - modify 1584037852 + modify 1584904270 author Henry@LAPPY586 access 0777 } @@ -1113,7 +1112,7 @@ inputs stat { create 1583691244 - modify 1584037852 + modify 1584175463 author Henry@LAPPY586 access 0777 } @@ -1135,7 +1134,7 @@ 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\");" ) +//setprimintrinsic(0, \"transform\", @elemnum, 3@__transform, \"set\");" ) exportlist [ 0 locks=0 ] ( * ) vex_strict [ 0 locks=0 ] ( "off" ) autobind [ 0 locks=0 ] ( "on" ) @@ -1177,7 +1176,7 @@ sopflags sopflags = comment "" 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 +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 { } @@ -1192,7 +1191,7 @@ inputs stat { create 1524060453 - modify 1583691343 + modify 1584175498 author Henry@LAPPY586 access 0777 } @@ -1388,7 +1387,7 @@ inputs stat { create 1583691341 - modify 1583691598 + modify 1584175502 author Henry@LAPPY586 access 0777 }