-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #222 from toadstorm/henry_dev
move along mesh random speed
- Loading branch information
Showing
4 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
...Move_Along_Mesh.hda/MOPS_8_8Sop_1MOPs__Move__Along__Mesh_8_81.2/Contents.dir/.OPdummydefs
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ inputs | |
stat | ||
{ | ||
create 1572233259 | ||
modify 1572240275 | ||
modify 1572241161 | ||
author Henry@LAPPY586 | ||
access 0777 | ||
} | ||
|
@@ -1299,7 +1299,7 @@ inputs | |
stat | ||
{ | ||
create 1571370981 | ||
modify 1572239920 | ||
modify 1572241057 | ||
author Henry@LAPPY586 | ||
access 0777 | ||
} | ||
|
@@ -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; | ||
|
||
|
@@ -2552,7 +2554,7 @@ inputs | |
stat | ||
{ | ||
create 1324348265 | ||
modify 1572241308 | ||
modify 1572241515 | ||
author [email protected] | ||
access 0777 | ||
} | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters