From 908230951506c69efae60a61c26e31fb6ec30a73 Mon Sep 17 00:00:00 2001 From: "henry@toadstorm.com" Date: Mon, 24 Feb 2020 17:42:37 -0800 Subject: [PATCH 1/3] fixed sequence delay --- otls/MOPS_delay.hda/INDEX__SECTION | 2 +- .../Contents.dir/.OPdummydefs | Bin 25686 -> 26008 bytes .../Contents.dir/.OPfallbacks | 12 +- .../Contents.dir/Contents.mime | 150 ++++++++++++------ 4 files changed, 105 insertions(+), 59 deletions(-) diff --git a/otls/MOPS_delay.hda/INDEX__SECTION b/otls/MOPS_delay.hda/INDEX__SECTION index 22b001a3..aa6189c4 100644 --- a/otls/MOPS_delay.hda/INDEX__SECTION +++ b/otls/MOPS_delay.hda/INDEX__SECTION @@ -10,5 +10,5 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Mon Jan 27 16:37:15 2020 +Modified: Mon Feb 24 17:40:21 2020 diff --git a/otls/MOPS_delay.hda/MOPS_8_8Sop_1delay_8_81.0/Contents.dir/.OPdummydefs b/otls/MOPS_delay.hda/MOPS_8_8Sop_1delay_8_81.0/Contents.dir/.OPdummydefs index 8977f387eb87bbac01325f202bb8a8190e2ceade..8052ed56d565919d3a2c0c7dd2eed84a0bd0166b 100644 GIT binary patch delta 751 zcmcb1f^o)a#tB-?A=RuCb>+d7zYgoZxR46Pi4EeMb_@*cykO1(i7;;l2KnPajsgP% z16Oc=C100xi&Kp9Sup5lU>%n}BM zXrKhgR*;s-e2niv_D=rKI2lY&Wtst|4VVkT^b#m7!IHxTRL95&G>U;~^1={Rd5F0@ zE}4lr`RT#QMVSRaqZz^(7?_n~PnjQ?yphA0!^qUY+{D1daI!+E!DL%j)5#8;ypx+) zWhXCS)tr2aRb}!+Jd@)&ja)Al& zWbPF1$qwvnlY`?$COdFDOs@#z$HW8GbE{3BAFYnt zp=?F5%imnVaOh?k&So~CE(M@>uy{{i2VIu|$a|YL1vbb|J}0TdSx}UkoLQWipEp_2 zM11mnWmXQjK%k}xOJZqB{^Ue)4IU6fNkKu$5hM_3CCq1R1mpq*jExkWGD|>0vSua_ zAu|(@kb;J5ML}v2Fy8Y@5_2>sFR+uCToA-D`GTkZ_Hal6bzDT&VYFEx#*701c+d7zYgpDIQ_D76C1=i;~5y(dBL0o5@9(E400(z&RGTq z2Cm@z0{x=YlFZyx1_qrA3=C?ALCRn<#rZj9sYMJ7!IOaoFhFHEL3)Y{axzO87@~j@ z99uyWlld6mf$W|9pK&snp2{=>OdBv4g6SntT7o5q3#g8f5oiem(_{sGRc4U(Mt(6i zW|!E-5loXOa2RtK8k?CL8ylKUp095(*_PFmjhBm;tD1LmDXTgo@8mhGnn3a>tBNd0 zSOEw!QgaFvs(HCMm6RX?wLqCkY#?QU1{xre4MZ+9(BOw@DM&2J1!|eRmQ5NcbAnBQ ziI;1#ftDDMW0)esYN(`8%R5 Date: Mon, 24 Feb 2020 18:26:36 -0800 Subject: [PATCH 2/3] fixed falloff from attribute python for auto-adding prefix --- .../INDEX__SECTION | 2 +- .../Contents.dir/.OPdummydefs | Bin 72193 -> 72193 bytes .../Contents.dir/Contents.mime | 194 +++++++++++------- .../DialogScript | 9 + 4 files changed, 135 insertions(+), 70 deletions(-) diff --git a/otls/MOPS_FalloffFromAttribute.hda/INDEX__SECTION b/otls/MOPS_FalloffFromAttribute.hda/INDEX__SECTION index 25c9e495..0ab3eb1a 100644 --- a/otls/MOPS_FalloffFromAttribute.hda/INDEX__SECTION +++ b/otls/MOPS_FalloffFromAttribute.hda/INDEX__SECTION @@ -10,5 +10,5 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Tue Feb 18 20:20:40 2020 +Modified: Mon Feb 24 18:25:55 2020 diff --git a/otls/MOPS_FalloffFromAttribute.hda/MOPS_8_8Sop_1Falloff__From__Attribute_8_81.0/Contents.dir/.OPdummydefs b/otls/MOPS_FalloffFromAttribute.hda/MOPS_8_8Sop_1Falloff__From__Attribute_8_81.0/Contents.dir/.OPdummydefs index 05bd001c2f8eff2a8cb070f5240fadfe1ba0dd63..e180c370097e9b106994e94e1abd63f68a68d114 100644 GIT binary patch delta 917 zcmY+BPiPZC6vp2sn{2up^S5BICY};8wVKo>Dz!wg;H?HM-cm@DHC;%uX|hRMD%Mbn zAVQlCtvz`0;7t)ptyYRDg$m*!*Y=>f1Uz{VFN%oHOeafoSiZOK_ulv3%v3k|>L$Mu zG>$LTYXfJf+&XU@uS&K17qE!6SN&AJc&YsL5kWrAGmI4gdhV!&i>YifR{%)t0Eqn) zxETXG0e7=%Qq$C_ikt$-d;>82!dOJpTp#w4&@y+5>I<%K;mA)UZA!i(7d3#&SpdFG zIy#0*DW&G~a!Qla0P}c`>5$E{lE$o(nbMSe2H-&(!2F3Zfv}u13-ItIfHca|bXHDH zm$NEfeDw!_@S6-nal>i4mTEY8_2@L>ZR}7g6ctSd*ckwDZ;(p77M)uvPvX5wc;)6k z-YHC78U}i2sAceA7g9?HYBTCgat`3%JpkMGahGx>rK-hr2{>B>U)3095(*i~Rf%ZK z*tX$E;yCOBJpR1sb-;@f{62X!?CO1&u|cmUR}jEUPT4 z^mOV(v6Fiy&NAwg5R0~?H5SFKSvsL%onx7i6Yp8HV(Uc?+r0iaO)Gi(W0qO7zoVJB z;}OfW990&{&LzseJJ&6AbKn5&`u+4pIL(bdx<-UZI20NRUqZ1!w0_Fd&*^}4p{S|1elsYGdcoe%@q$o28d)^!usPffZ(K_(>Ts*k4THNej}8|O dy5Y}*H&-x}5Z?C52PfB| delta 917 zcmY+CUuaTM9LImxd#^e*{|=It_N0|-rOrQ#H4GZ`B1;(breJz=f_j}^-NvFNBZ3H~ z9=3ewWe>d-5w5Mp$Pq1w9(-L7wHKkM9-@~bqRu&9#XVepzjHq4`#s-#&Z%s1l`XF7 zV#7O)+SnOdZd_o)v+rwnFS6lt!P<*aHaxLe`(mS`zjj;#$j(?N@hkug-4yee5}9~5 z4-nl0(2T~qz(Bz5j2M?Bajq;R08-xo6u$^Y^UMfwMQh9{TAwi^D_xm}$kMs8P>=x1 zX92j*pkcb05OX;pAqh!_U~de-(iq&gSh|IC6>;SD z0nX&1E-eKP{zdHc>-9eX9IU$OLWDyv>A0O2Wb#b%Zqncqm zdVEO?gM$NyKO1`Kw4o?>KrRhA_^-4om5A0S$_A}L)f&&l$cj%YiDzjyt=`}{+8wFu z@?3eSw@#y}%Zg3SqTJcFNba_^>%5j~Bf1RTp`}~m6?A6m#2dM*>W7h0zbt!K_49Nk zXLuyLtQ%g_nTYWrZ|Np6R^-)!={{xOO&e;O92h|R4hMOZh>l~*5 diff --git a/otls/MOPS_FalloffFromAttribute.hda/MOPS_8_8Sop_1Falloff__From__Attribute_8_81.0/Contents.dir/Contents.mime b/otls/MOPS_FalloffFromAttribute.hda/MOPS_8_8Sop_1Falloff__From__Attribute_8_81.0/Contents.dir/Contents.mime index f848589f..0834d5b5 100644 --- a/otls/MOPS_FalloffFromAttribute.hda/MOPS_8_8Sop_1Falloff__From__Attribute_8_81.0/Contents.dir/Contents.mime +++ b/otls/MOPS_FalloffFromAttribute.hda/MOPS_8_8Sop_1Falloff__From__Attribute_8_81.0/Contents.dir/Contents.mime @@ -32,25 +32,24 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -3.81023 -9.39587 -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 +position -6.98747 -1.19745 +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 { -1 "output1" } inputsNamed3 { -0 MOPs_Transform_Modifier1 1 1 "input1" +0 MOPs_Instancer 0 1 "input1" } inputs { -0 MOPs_Transform_Modifier1 0 1 +0 MOPs_Instancer 0 1 } stat { - create 1582060484 - modify 1582062928 + create 1582595802 + modify 1582597549 author Henry@LAPPY586 access 0777 } @@ -90,7 +89,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -0.136261 1.84387 +position -0.136261 0.84466 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 @@ -99,18 +98,18 @@ outputsNamed3 } inputsNamed3 { -0 null1 1 1 "input1" +0 bind_channel_to_attr 1 1 "input1" 1 attribpromote2 1 1 "input2" } inputs { -0 null1 0 1 +0 bind_channel_to_attr 0 1 1 attribpromote2 0 1 } stat { create 1521001039 - modify 1582061638 + modify 1582597543 author Henry@LAPPY586 access 0777 } @@ -465,8 +464,8 @@ vex_selectiongroup [ 0 locks=0 ] ( "" ) vex_precision [ 0 locks=0 ] ( auto ) folder1 [ 0 locks=0 ] ( 0 0 ) min [ 0 locks=0 ] ( [ min 0 ] ) -max [ 0 locks=0 ] ( [ max 1 ] ) -auto_range [ 0 locks=0 ] ( [ auto_range 0 ] ) +max [ 0 locks=0 ] ( [ max 100 ] ) +auto_range [ 0 locks=0 ] ( [ auto_range 1 ] ) do_remap [ 0 locks=0 ] ( [ do_remap 0 ] ) remap_ramp [ 0 locks=0 ] ( [ remap_ramp 2 ] ) remap_ramp1pos [ 0 locks=0 ] ( [ remap_ramp1pos 0 ] ) @@ -503,7 +502,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -0.637607 -1.69872 +position -0.637607 -2.69793 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 @@ -521,7 +520,7 @@ inputs stat { create 1536026656 - modify 1582060484 + modify 1582597108 author Henry@LAPPY586 access 0777 } @@ -743,11 +742,11 @@ Content-Type: text/plain { version 0.8 -do_preview [ 0 locks=0 autoscope=0 ] ( [ do_preview 0 ] ) -do_sprite [ 0 locks=0 ] ( [ do_sprite 0 ] ) +do_preview [ 0 locks=0 autoscope=0 ] ( [ do_preview 1 ] ) +do_sprite [ 0 locks=0 ] ( [ do_sprite 1 ] ) spritemap [ 0 locks=0 ] ( sphere_matte.pic ) -spritescale [ 0 locks=0 ] ( [ spritescale 1 ] ) -override_scale [ 0 locks=0 ] ( [ override_scale 0 ] ) +spritescale [ 0 locks=0 ] ( [ spritescale 0.070000000000000007 ] ) +override_scale [ 0 locks=0 ] ( [ override_scale 1 ] ) ramp_preset [ 0 locks=0 autoscope=0 ] ( [ ramp_preset 0 ] ) falloff_heatmap [ 0 locks=0 autoscope=0 ] ( [ falloff_heatmap 5 ] ) falloff_heatmap1pos [ 0 locks=0 autoscope=0 ] ( [ falloff_heatmap1pos 0 ] ) @@ -791,7 +790,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -1.98096 0.123683 +position -1.98096 -0.875527 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 @@ -811,7 +810,7 @@ inputs stat { create 1523748762 - modify 1582060484 + modify 1582597108 author henry@GlaDOS access 0777 } @@ -913,7 +912,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 2.10802 6.06167 +position 0.198594 5.38211 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 @@ -922,16 +921,16 @@ outputsNamed3 } inputsNamed3 { -0 null1 1 1 "input1" +0 python1 1 1 "input1" } inputs { -0 null1 0 1 +0 python1 0 1 } stat { create 1527557574 - modify 1582061700 + modify 1582597533 author Henry@LAPPY586 access 0777 } @@ -1099,12 +1098,6 @@ Content-Type: text/plain } } - parm { - name "attribute" - label "Attribute" - type string - default { "" } - } parm { name "vex_precision" baseparm @@ -1117,30 +1110,12 @@ Content-Disposition: attachment; filename="hdaroot/bind_channel_to_attr.chn" Content-Type: text/plain { - channel snippet { + channel bindname1 { lefttype = extend righttype = extend - defaultString = "\"string attr = chs(\\\"../attribute\\\"); -\"" + defaultString = \"mops_falloff\" flags = 0 - start = 4.458333333333333 - segment { options = { autoslope ai ao } - - length = 0 accel = 0.33333333333333331 0.33333333333333331 expr = "in_parm = hou.pwd().parm('attribute').eval() -if not in_parm.startswith('@'): - in_parm = '@'+in_parm -# guess prefix -attrs = hou.pwd().geometry().pointAttribs() -prefix = \"f\" -for a in attrs: - if a.size() == 2: - prefix = \"u\" - elif a.size() == 3: - prefix = \"v\" - elif a.size() == 4: - prefix = \"p\" -in_parm = prefix + in_parm -return \"@attr = {};\".format(in_parm)" language = python } + segment { length = 0 expr = chs(\"../falloff_attr\") } } } @@ -1156,7 +1131,7 @@ 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 autoscope=1 ] ( [ snippet "" ] ) +snippet [ 0 locks=0 autoscope=1 autosel=4294967295 ] ( "`details(0, \"__attr\")`" ) exportlist [ 0 locks=0 ] ( * ) vex_strict [ 0 locks=0 ] ( "off" ) autobind [ 0 locks=0 ] ( "on" ) @@ -1170,10 +1145,9 @@ 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 ) -attribute [ 0 locks=0 ] ( `chs(\"../attrname\")` ) -bindname1 [ 0 locks=0 ] ( mops_falloff ) +bindname1 [ 0 locks=0 ] ( [ bindname1 mops_falloff ] ) bindparm1 [ 0 locks=0 ] ( attr ) +folder1 [ 0 locks=0 ] ( 0 0 ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -1200,7 +1174,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 2.10757 4.49419 +position 2.10757 3.49498 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 @@ -1218,7 +1192,7 @@ inputs stat { create 1521001572 - modify 1582061624 + modify 1582597108 author Henry@LAPPY586 access 0777 } @@ -1268,7 +1242,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 2.10757 3.71556 +position 2.10757 2.71635 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 @@ -1286,7 +1260,7 @@ inputs stat { create 1521001572 - modify 1582061629 + modify 1582597108 author Henry@LAPPY586 access 0777 } @@ -1336,7 +1310,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 2.11102 5.3351 +position 2.11102 4.33589 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 @@ -1354,7 +1328,7 @@ inputs stat { create 1522551540 - modify 1582061698 + modify 1582597108 author henry@GlaDOS access 0777 } @@ -1446,7 +1420,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -0.637607 -3.69872 +position -0.637607 -4.69793 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 @@ -1463,7 +1437,7 @@ inputs stat { create 1522551563 - modify 1582061735 + modify 1582597394 author henry@GlaDOS access 0777 } @@ -1523,7 +1497,7 @@ inputs stat { create 1523748800 - modify 1582061705 + modify 1582597394 author henry@GlaDOS access 0777 } @@ -1566,7 +1540,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position -0.637607 -2.69872 +position -0.637607 -3.69793 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 @@ -1584,7 +1558,7 @@ inputs stat { create 1546922184 - modify 1582061735 + modify 1582597108 author Henry@LAPPY586 access 0777 } @@ -1617,11 +1591,92 @@ Content-Type: text/plain } } +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/python1.init" +Content-Type: text/plain + +type = python +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/python1.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position 0.201594 6.24766 +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 null1 1 1 "input1" +} +inputs +{ +0 null1 0 1 +} +stat +{ + create 1582597108 + modify 1582597536 + 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/python1.parm" +Content-Type: text/plain + +{ +version 0.8 +python [ 0 locks=0 ] ( "node = hou.pwd() +geo = node.geometry() + +# Add code to modify contents of geo. +# Use drop down menu to select examples. + +in_parm = node.node(\"..\").evalParm('attrname') +parm_formatted = in_parm.split('.')[0] +attr = geo.findPointAttrib(parm_formatted) +prefix = \"f\" +if attr.dataType() == hou.attribData.Int: + prefix = \"i\" +elif attr.size() == 2: + prefix = \"u\" +elif attr.size() == 3: + prefix = \"v\" +elif attr.size() == 4: + prefix = \"p\" +in_parm = prefix + \"@\" + in_parm +out = \"@attr = {};\".format(in_parm) +geo.addAttrib(hou.attribType.Global, \"__attr\", out) +geo.setGlobalAttribValue(\"__attr\", out)" ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/python1.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"18.0.348" + } +} + --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot.order" Content-Type: text/plain -10 +11 falloff_from_attribute attribpromote1 attribpromote2 @@ -1632,6 +1687,7 @@ Combine_Falloffs1 null1 bind_channel_to_attr attribdelete1 +python1 --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot.net" diff --git a/otls/MOPS_FalloffFromAttribute.hda/MOPS_8_8Sop_1Falloff__From__Attribute_8_81.0/DialogScript b/otls/MOPS_FalloffFromAttribute.hda/MOPS_8_8Sop_1Falloff__From__Attribute_8_81.0/DialogScript index 1732e6dc..3b9863a0 100644 --- a/otls/MOPS_FalloffFromAttribute.hda/MOPS_8_8Sop_1Falloff__From__Attribute_8_81.0/DialogScript +++ b/otls/MOPS_FalloffFromAttribute.hda/MOPS_8_8Sop_1Falloff__From__Attribute_8_81.0/DialogScript @@ -43,6 +43,15 @@ range { 0 1 } parmtag { "autoscope" "0000000000000000" } } + parm { + name "falloff_attr" + label "Falloff Attribute" + type string + default { "mops_falloff" } + range { 0 1 } + parmtag { "autoscope" "0000000000000000" } + parmtag { "script_callback_language" "python" } + } parm { name "input" label "Blend Mode" From 1dbc0d5d88b471031e035dd3fcaf522385adb71f Mon Sep 17 00:00:00 2001 From: "henry@toadstorm.com" Date: Tue, 25 Feb 2020 14:55:55 -0800 Subject: [PATCH 3/3] added remap toggles and disabled remap by default on noise patterns / noise mod --- otls/MOPS_Noise_Patterns.hda/INDEX__SECTION | 6 +- .../Contents.dir/.OPdummydefs | Bin 10393 -> 10393 bytes .../Contents.dir/Contents.mime | 240 ++++++++++++++---- .../DialogScript | 22 ++ .../ExtraFileOptions | 4 + .../TypePropertiesOptions | 16 +- otls/MOPS_noise_modifier.hda/INDEX__SECTION | 4 +- .../Contents.dir/.OPdummydefs | Bin 38522 -> 39286 bytes .../Contents.dir/Contents.mime | 124 ++++++--- .../DialogScript | 11 + 10 files changed, 328 insertions(+), 99 deletions(-) diff --git a/otls/MOPS_Noise_Patterns.hda/INDEX__SECTION b/otls/MOPS_Noise_Patterns.hda/INDEX__SECTION index 3fed794e..ac7e2fa6 100644 --- a/otls/MOPS_Noise_Patterns.hda/INDEX__SECTION +++ b/otls/MOPS_Noise_Patterns.hda/INDEX__SECTION @@ -10,7 +10,7 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Mon Apr 15 00:49:50 2019 +Modified: Mon Apr 15 02:49:50 2019 Operator: MOPS::Noise_Patterns::1.1 Label: MOPs Noise Patterns @@ -24,7 +24,7 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Wed Jun 19 15:34:02 2019 +Modified: Wed Jun 19 17:34:02 2019 Operator: MOPS::Noise_Patterns::1.2 Label: MOPs Noise Patterns @@ -38,5 +38,5 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Sun Feb 9 12:02:29 2020 +Modified: Tue Feb 25 14:52:46 2020 diff --git a/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/Contents.dir/.OPdummydefs b/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/Contents.dir/.OPdummydefs index 5df789de01650342c7da6617722de36c39287151..d611d2ab9e649c082137333c8877e7c00135d1d6 100644 GIT binary patch delta 98 zcmbOkI5Tj97IWxQyNSB;V9H;XIdn<=#C$n0HDL-!aI!k%3^09&Q3E7A`7NVAhmonV dk&&Uf`Q$)Ov&~gZwQOLSUmOUT&4HXA@&J^bAS?g? delta 98 zcmbOkI5Tj97PCWY=tNz4Fy$}HY&}1DV!j-hnlJ?2ADp?r~wk5{Fc$5!_ds! d(A?C-cyb`8+2$&yS~jrEFAjvv=0Hvlc>o?-9#Q}R diff --git a/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/Contents.dir/Contents.mime b/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/Contents.dir/Contents.mime index e418632c..85fba9f5 100644 --- a/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/Contents.dir/Contents.mime +++ b/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/Contents.dir/Contents.mime @@ -32,9 +32,9 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 13.7562 -11.9418 +position -1.41653 0.709247 connectornextid 0 -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 { } @@ -46,8 +46,8 @@ inputs } stat { - create 1581275912 - modify 1581275916 + create 1582670975 + modify 1582671001 author Henry@LAPPY586 access 0777 } @@ -130,7 +130,7 @@ inputs stat { create 1524060463 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -599,7 +599,7 @@ inputs stat { create 1524060463 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -1068,7 +1068,7 @@ inputs stat { create 1524060463 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -1546,7 +1546,7 @@ inputs stat { create 1524060463 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -2024,7 +2024,7 @@ inputs stat { create 1524060463 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -2501,7 +2501,7 @@ inputs stat { create 1524060463 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -3011,7 +3011,7 @@ inputs stat { create 1524060463 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -3481,7 +3481,7 @@ inputs stat { create 1524060463 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -3975,7 +3975,7 @@ inputs stat { create 1524060463 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -4446,7 +4446,7 @@ inputs stat { create 1524060464 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -4730,7 +4730,7 @@ inputs stat { create 1549075027 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -4791,7 +4791,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 4.35856 -5.97535 +position 5.19447 -5.8012 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 @@ -4809,7 +4809,7 @@ inputs stat { create 1549515796 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -5102,7 +5102,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 1.53042 -5.97435 +position -0.0682543 -5.57551 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 @@ -5120,7 +5120,7 @@ inputs stat { create 1550294119 - modify 1581275912 + modify 1582671053 author Henry@LAPPY586 access 0777 } @@ -5423,7 +5423,7 @@ inputs stat { create 1524060463 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -5893,7 +5893,7 @@ inputs stat { create 1554935939 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -5972,7 +5972,7 @@ inputs stat { create 1554935960 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -6240,7 +6240,7 @@ inputs stat { create 1524060463 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -6710,7 +6710,7 @@ inputs stat { create 1524060463 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -7181,7 +7181,7 @@ inputs stat { create 1549074632 - modify 1554935924 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -7264,7 +7264,7 @@ inputs stat { create 1549075032 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -7292,7 +7292,7 @@ Content-Type: text/plain { version 0.8 -input [ 0 locks=0 ] ( [ input 11 ] ) +input [ 0 locks=0 ] ( [ input 0 ] ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -7319,7 +7319,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 2.6627 -9.87236 +position 2.86332 -10.9256 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 @@ -7336,7 +7336,7 @@ inputs stat { create 1549075045 - modify 1554935939 + modify 1582671045 author Henry@LAPPY586 access 0777 } @@ -7396,7 +7396,7 @@ inputs stat { create 1549075065 - modify 1554936225 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -7442,7 +7442,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 1.425 -6.69153 +position 1.12407 -7.56227 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 @@ -7451,16 +7451,16 @@ outputsNamed3 } inputsNamed3 { -0 range_2D 1 1 "input1" +0 do_remap_2d 2 1 "input1" } inputs { -0 range_2D 0 1 +0 do_remap_2d 0 1 } stat { create 1550294318 - modify 1581275912 + modify 1582671048 author Henry@LAPPY586 access 0777 } @@ -7508,7 +7508,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 2.6627 -8.75153 +position 2.71285 -10.1559 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 @@ -7528,7 +7528,7 @@ inputs stat { create 1550294550 - modify 1581275912 + modify 1582671046 author Henry@LAPPY586 access 0777 } @@ -7583,7 +7583,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 4.21343 -6.69153 +position 4.21343 -7.56227 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 @@ -7592,16 +7592,16 @@ outputsNamed3 } inputsNamed3 { -0 range_3D 1 1 "input1" +0 do_remap_3d 2 1 "input1" } inputs { -0 range_3D 0 1 +0 do_remap_3d 0 1 } stat { create 1550294976 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -7649,7 +7649,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 1.425 -7.44715 +position 1.52531 -8.85148 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 @@ -7667,7 +7667,7 @@ inputs stat { create 1550295067 - modify 1554935939 + modify 1582671047 author Henry@LAPPY586 access 0777 } @@ -7733,7 +7733,7 @@ inputs stat { create 1554935927 - modify 1581275912 + modify 1582671042 author Henry@LAPPY586 access 0777 } @@ -7775,11 +7775,161 @@ Content-Type: text/plain } } +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/do_remap_3d.init" +Content-Type: text/plain + +type = switch +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/do_remap_3d.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position 4.34034 -6.69173 +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 range_3D 1 1 "input2" +} +inputs +{ +0 attribdelete1 0 1 +1 range_3D 0 1 +} +stat +{ + create 1582671001 + modify 1582671168 + 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_remap_3d.chn" +Content-Type: text/plain + +{ + channel input { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../do_remap_3D\") } + } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/do_remap_3d.parm" +Content-Type: text/plain + +{ +version 0.8 +input [ 0 locks=0 ] ( [ input 0 ] ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/do_remap_3d.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"18.0.348" + } +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/do_remap_2d.init" +Content-Type: text/plain + +type = switch +matchesdef = 0 + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/do_remap_2d.def" +Content-Type: text/plain + +sopflags sopflags = +comment "" +position 0.925656 -6.58943 +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 range_2D 1 1 "input2" +} +inputs +{ +0 attribdelete1 0 1 +1 range_2D 0 1 +} +stat +{ + create 1582671001 + modify 1582671168 + 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_remap_2d.chn" +Content-Type: text/plain + +{ + channel input { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../do_remap_2D\") } + } + } + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/do_remap_2d.parm" +Content-Type: text/plain + +{ +version 0.8 +input [ 0 locks=0 ] ( [ input 0 ] ) +} + +--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY +Content-Disposition: attachment; filename="hdaroot/do_remap_2d.userdata" +Content-Type: text/plain + +{ + "___Version___":{ + "type":"string", + "value":"18.0.348" + } +} + --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot.order" Content-Type: text/plain -27 +29 Perlin Simplex Worley_f2-f1 @@ -7807,6 +7957,8 @@ pointwrangle1 pointwrangle2 Alligator Sparse_Convolution +do_remap_3d +do_remap_2d --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY Content-Disposition: attachment; filename="hdaroot.net" diff --git a/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/DialogScript b/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/DialogScript index 7f3400bc..82a912ae 100644 --- a/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/DialogScript +++ b/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/DialogScript @@ -221,12 +221,22 @@ label "Remap" hidewhentab "{ signature == 0 }" + parm { + name "do_remap_2D" + label "Enable Remap" + type toggle + default { "0" } + range { 0! 10 } + parmtag { "autoscope" "0000000000000000" } + parmtag { "script_callback_language" "python" } + } parm { name "input_rangev" label "Input Range" type vector2 size 2 default { "-1" "1" } + disablewhen "{ do_remap_2D 0 }" range { 0 1 } parmtag { "autoscope" "0000000000000000" } } @@ -236,6 +246,7 @@ type vector2 size 2 default { "-1" "1" } + disablewhen "{ do_remap_2D 0 }" range { 0 1 } parmtag { "autoscope" "0000000000000000" } } @@ -246,12 +257,22 @@ label "Remap" hidewhentab "{ signature == 1 }" + parm { + name "do_remap_3D" + label "Enable Remap" + type toggle + default { "0" } + range { 0! 10 } + parmtag { "autoscope" "0000000000000000" } + parmtag { "script_callback_language" "python" } + } parm { name "input_range" label "Input Range" type vector2 size 2 default { "0" "1" } + disablewhen "{ do_remap_3D 0 }" range { 0 1 } parmtag { "autoscope" "0000000000000000" } } @@ -261,6 +282,7 @@ type vector2 size 2 default { "0" "1" } + disablewhen "{ do_remap_3D 0 }" range { 0 1 } parmtag { "autoscope" "0000000000000000" } } diff --git a/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/ExtraFileOptions b/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/ExtraFileOptions index 54d52652..28e8261c 100644 --- a/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/ExtraFileOptions +++ b/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/ExtraFileOptions @@ -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_TD_tools_05.svg/Cursor":{ "type":"intarray", "value":[1,1] diff --git a/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/TypePropertiesOptions b/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/TypePropertiesOptions index b4811492..a6d52acf 100644 --- a/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/TypePropertiesOptions +++ b/otls/MOPS_Noise_Patterns.hda/MOPS_8_8Sop_1Noise__Patterns_8_81.2/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_noise_modifier.hda/INDEX__SECTION b/otls/MOPS_noise_modifier.hda/INDEX__SECTION index 361ba778..48ab8455 100644 --- a/otls/MOPS_noise_modifier.hda/INDEX__SECTION +++ b/otls/MOPS_noise_modifier.hda/INDEX__SECTION @@ -10,7 +10,7 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Tue Aug 13 12:29:48 2019 +Modified: Tue Aug 13 22:29:48 2019 Operator: MOPS::Noise_Modifier::1.1 Label: MOPs Noise Modifier @@ -24,5 +24,5 @@ Inputs: 1 to 1 Subnet: true Python: false Empty: false -Modified: Fri Feb 7 20:48:55 2020 +Modified: Tue Feb 25 14:54:52 2020 diff --git a/otls/MOPS_noise_modifier.hda/MOPS_8_8Sop_1Noise__Modifier_8_81.1/Contents.dir/.OPdummydefs b/otls/MOPS_noise_modifier.hda/MOPS_8_8Sop_1Noise__Modifier_8_81.1/Contents.dir/.OPdummydefs index 0f106469fed152bd6eec85d0f1d892ebc95c1816..bd453a95e2bac87d8efc6924d697e522766782a9 100644 GIT binary patch delta 756 zcmeyhhUwcTrU_cip-cBn)RhNQ{yIR)ePW#+m|72#bDy|gq27pr!I6=HK_Ndbbg4Z9 z1A{sLt+5~13PbA=#qM%ydXlpyeKg*JqM^Dqn3d|{y0SjH?#c5Uno#WknuoBTd$LG;GZy)*$?xOU znSn_K6iAcx6QIFpXl}l_AYn5bT*f9HAp?vUv(1~+%|Qv(9juSJ9X0qjm$a7w^}=NP J&}IABH~^Rl_e=l) delta 530 zcmeyiiRsrGrU_cicDCCm>dJ#De;sD)`NJghF`%W$%;v&7~< zs>@|y3fN?B#I8TIbFyKwF|xYNy3TPDlUF5hPu>&LGFic~aq`>P*2w`Tp_5ljXiS!l z&jiZ#ZdPz?W(2zdWRrHXC8`VOBsa6cWi7JMWLIX{%EKHn`F|(em7DFmmV>mVf}Q_= N0$iKvW`~Jp8~}_arLzD4 diff --git a/otls/MOPS_noise_modifier.hda/MOPS_8_8Sop_1Noise__Modifier_8_81.1/Contents.dir/Contents.mime b/otls/MOPS_noise_modifier.hda/MOPS_8_8Sop_1Noise__Modifier_8_81.1/Contents.dir/Contents.mime index 6b435079..9f237172 100644 --- a/otls/MOPS_noise_modifier.hda/MOPS_8_8Sop_1Noise__Modifier_8_81.1/Contents.dir/Contents.mime +++ b/otls/MOPS_noise_modifier.hda/MOPS_8_8Sop_1Noise__Modifier_8_81.1/Contents.dir/Contents.mime @@ -32,7 +32,7 @@ Content-Type: text/plain sopflags sopflags = comment "" -position 8.53033 -15.9469 +position -0.107201 -0.600082 connectornextid 0 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 1581137311 - modify 1581137316 + create 1582671175 + modify 1582671307 author Henry@LAPPY586 access 0777 } @@ -161,7 +161,7 @@ inputs stat { create 1569471192 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -323,7 +323,7 @@ inputs stat { create 1546924805 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -406,7 +406,7 @@ inputs stat { create 1568176217 - modify 1581137312 + modify 1582671289 author Henry@LAPPY586 access 0777 } @@ -594,6 +594,44 @@ Content-Type: text/plain flags = 0 segment { length = 0 value = 1 1 expr = ch(\"../output_rangevy\") } } + channel do_remap_2D { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../do_remap\") } + } + channel do_remap_3D { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../do_remap\") } + } + channel input_rangex { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../input_rangevx\") } + } + channel input_rangey { + lefttype = extend + righttype = extend + default = 1 + flags = 0 + segment { length = 0 value = 1 1 expr = ch(\"../input_rangevy\") } + } + channel output_rangex { + lefttype = extend + righttype = extend + flags = 0 + segment { length = 0 expr = ch(\"../output_rangevx\") } + } + channel output_rangey { + lefttype = extend + righttype = extend + default = 1 + flags = 0 + segment { length = 0 value = 1 1 expr = ch(\"../output_rangevy\") } + } } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -605,11 +643,11 @@ version 0.8 group [ 0 locks=0 autoscope=0 ] ( "" ) grouptype [ 0 locks=0 autoscope=0 ] ( "guess" ) sepparm3 [ 0 locks=0 ] ( ) -signature [ 0 locks=0 autoscope=0 ] ( [ signature 1 ] ) +signature [ 0 locks=0 autoscope=0 ] ( [ signature 0 ] ) attrname [ 0 locks=0 autoscope=0 ] ( __offset ) attrnamev [ 0 locks=0 autoscope=0 ] ( __offset ) sepparm [ 0 locks=0 ] ( ) -folder0 [ 0 locks=0 autoscope=0 ] ( 0 0 0 ) +folder0 [ 0 locks=0 autoscope=0 ] ( 1 1 1 ) input [ 0 locks=0 autoscope=0 ] ( [ input 9 ] ) use_rest [ 0 locks=0 autoscope=0 ] ( [ use_rest 0 ] ) sepparm2 [ 0 locks=0 ] ( ) @@ -621,12 +659,14 @@ octaves [ 0 locks=0 autoscope=0 ] ( [ octaves 1 ] ) offset [ 0 locks=0 autoscope=0 ] ( [ offsetx 0 ] [ offsety 0 ] [ offsetz 0 ] [ offsetw 0 ] ) tile_size [ 0 locks=0 autoscope=0 ] ( [ tile_sizex 1 ] [ tile_sizey 1 ] [ tile_sizez 1 ] ) Distort [ 0 locks=0 autoscope=0 ] ( [ Distortx 0 ] [ Distorty 0 ] [ Distortz 0 ] ) -time_varying [ 0 locks=0 autoscope=0 ] ( [ time_varying 1 ] ) +time_varying [ 0 locks=0 autoscope=0 ] ( [ time_varying 0 ] ) time_scale [ 0 locks=0 autoscope=0 ] ( [ time_scale 1 ] ) +do_remap_2D [ 0 locks=0 ] ( [ do_remap_2D 0 ] ) input_rangev [ 0 locks=0 autoscope=0 ] ( [ input_rangevx -1 ] [ input_rangevy 1 ] ) output_rangev [ 0 locks=0 autoscope=0 ] ( [ output_rangevx -1 ] [ output_rangevy 1 ] ) -input_range [ 0 locks=0 autoscope=0 ] ( 0 1 ) -output_range [ 0 locks=0 autoscope=0 ] ( 0 1 ) +do_remap_3D [ 0 locks=0 ] ( [ do_remap_3D 0 ] ) +input_range [ 0 locks=0 autoscope=0 ] ( [ input_rangex -1 ] [ input_rangey 1 ] ) +output_range [ 0 locks=0 autoscope=0 ] ( [ output_rangex -1 ] [ output_rangey 1 ] ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -671,7 +711,7 @@ inputs stat { create 1554928384 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -1065,7 +1105,7 @@ inputs stat { create 1554928384 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -1465,7 +1505,7 @@ inputs stat { create 1546815258 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -1685,7 +1725,7 @@ inputs stat { create 1546816119 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -2080,7 +2120,7 @@ inputs stat { create 1554928384 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -2423,7 +2463,7 @@ inputs stat { create 1554928384 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -2786,7 +2826,7 @@ inputs stat { create 1555736090 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -3069,7 +3109,7 @@ inputs stat { create 1557519690 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -3225,7 +3265,7 @@ inputs stat { create 1523127556 - modify 1581137312 + modify 1582671175 author Mo@Mo-PC access 0777 } @@ -3448,7 +3488,7 @@ inputs stat { create 1546818553 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -3562,7 +3602,7 @@ inputs stat { create 1546818578 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -3638,7 +3678,7 @@ inputs stat { create 1546819340 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -3979,7 +4019,7 @@ inputs stat { create 1546923929 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -4053,7 +4093,7 @@ inputs stat { create 1546925005 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -4126,7 +4166,7 @@ inputs stat { create 1546925057 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -4202,7 +4242,7 @@ inputs stat { create 1546925167 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -4275,7 +4315,7 @@ inputs stat { create 1546925176 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -4405,7 +4445,7 @@ inputs stat { create 1554924824 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -4433,7 +4473,7 @@ Content-Type: text/plain { version 0.8 -input [ 8 locks=0 ] ( [ input 0 ] ) +input [ 8 locks=0 ] ( [ input 1 ] ) } --HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY @@ -4546,7 +4586,7 @@ inputs stat { create 1554929951 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -4621,7 +4661,7 @@ inputs stat { create 1554930775 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -4692,7 +4732,7 @@ inputs stat { create 1324348265 - modify 1581137312 + modify 1582671175 author nobody@nowhere.sidefx.com access 0777 } @@ -4798,7 +4838,7 @@ inputs stat { create 1324348294 - modify 1581137312 + modify 1582671175 author nobody@nowhere.sidefx.com access 0777 } @@ -4877,7 +4917,7 @@ inputs stat { create 1324348294 - modify 1581137312 + modify 1582671175 author nobody@nowhere.sidefx.com access 0777 } @@ -4956,7 +4996,7 @@ inputs stat { create 1324348294 - modify 1581137312 + modify 1582671175 author nobody@nowhere.sidefx.com access 0777 } @@ -5035,7 +5075,7 @@ inputs stat { create 1324348294 - modify 1581137312 + modify 1582671175 author nobody@nowhere.sidefx.com access 0777 } @@ -5177,7 +5217,7 @@ inputs stat { create 1546995483 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -5265,7 +5305,7 @@ inputs stat { create 1554929951 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -5364,7 +5404,7 @@ inputs stat { create 1546819340 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -5571,7 +5611,7 @@ inputs stat { create 1565235649 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } @@ -5651,7 +5691,7 @@ inputs stat { create 1565235679 - modify 1581137312 + modify 1582671175 author Henry@LAPPY586 access 0777 } diff --git a/otls/MOPS_noise_modifier.hda/MOPS_8_8Sop_1Noise__Modifier_8_81.1/DialogScript b/otls/MOPS_noise_modifier.hda/MOPS_8_8Sop_1Noise__Modifier_8_81.1/DialogScript index b2ef414e..7b374855 100644 --- a/otls/MOPS_noise_modifier.hda/MOPS_8_8Sop_1Noise__Modifier_8_81.1/DialogScript +++ b/otls/MOPS_noise_modifier.hda/MOPS_8_8Sop_1Noise__Modifier_8_81.1/DialogScript @@ -295,12 +295,22 @@ name "folder0_1" label "Remap" + parm { + name "do_remap" + label "Enable Remap" + type toggle + default { "off" } + range { 0! 10 } + parmtag { "autoscope" "0000000000000000" } + parmtag { "script_callback_language" "python" } + } parm { name "input_rangev" label "Input Range" type vector2 size 2 default { "-1" "1" } + disablewhen "{ do_remap 0 }" range { 0 1 } parmtag { "autoscope" "0000000000000000" } } @@ -310,6 +320,7 @@ type vector2 size 2 default { "-1" "1" } + disablewhen "{ do_remap 0 }" range { 0 1 } parmtag { "autoscope" "0000000000000000" } }