Skip to content

Commit

Permalink
Merge pull request #222 from toadstorm/henry_dev
Browse files Browse the repository at this point in the history
move along mesh random speed
  • Loading branch information
toadstorm authored Oct 28, 2019
2 parents 6d2a424 + 6eb984b commit 5f3122f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion otls/MOPS_Move_Along_Mesh.hda/INDEX__SECTION
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ Inputs: 2 to 2
Subnet: true
Python: false
Empty: false
Modified: Sun Oct 27 22:24:37 2019
Modified: Sun Oct 27 22:38:47 2019

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ inputs
stat
{
create 1572233259
modify 1572240275
modify 1572241161
author Henry@LAPPY586
access 0777
}
Expand Down Expand Up @@ -1299,7 +1299,7 @@ inputs
stat
{
create 1571370981
modify 1572239920
modify 1572241057
author Henry@LAPPY586
access 0777
}
Expand Down Expand Up @@ -1648,6 +1648,8 @@ forward = m * forward;
// project vector onto surface at current location
forward = normalize(forward - dot(forward, v@__meshN)*v@__meshN);
// advect
float rand = fit01(rand(i@id + seed), -rand_speed, rand_speed);
speed += rand;
forward = forward * speed * falloff;
@P += forward;

Expand Down Expand Up @@ -2552,7 +2554,7 @@ inputs
stat
{
create 1324348265
modify 1572241308
modify 1572241515
author [email protected]
access 0777
}
Expand Down Expand Up @@ -3378,7 +3380,7 @@ Content-Type: text/plain

{
version 0.8
input [ 0 locks=0 ] ( [ input 1 ] )
input [ 0 locks=0 ] ( [ input 0 ] )
}

--HOUDINIMIMEBOUNDARY0xD3ADD339-0x00000F49-0x56B122C9-0x00000001HOUDINIMIMEBOUNDARY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,6 @@
label "Rand Speed"
type float
default { "0" }
disablewhen "{ rand_speed == 0 }"
range { 0 1 }
parmtag { "autoscope" "0000000000000000" }
}
Expand All @@ -426,6 +425,7 @@
label "Seed"
type float
default { "0" }
disablewhen "{ rand_speed 0 }"
range { 0 1 }
parmtag { "autoscope" "0000000000000000" }
}
Expand Down Expand Up @@ -484,9 +484,8 @@
}

group {
name "folder4"
name "folder3_1"
label "Relax"
tabbreak

parm {
name "do_relax"
Expand All @@ -499,7 +498,7 @@
groupsimple {
name "folder5"
label "Relax Options"
disablewhentab "{ do_relax 0 }"
disablewhentab "{ do_relax == 0 }"

parm {
name "group2"
Expand Down

0 comments on commit 5f3122f

Please sign in to comment.