Michael Buckley
mbbuckley
About Me
Connect
LOCATION
Not Specified
ウェブサイト
Houdini Engine
Availability
Not Specified
Recent Forum Posts
Moving a scattered geo to the direction of Normals? 2018年9月5日15:18
And an alternative way to do this without a solver is to throw down a point wrangle a type in:
@P = @P + @N * @Frame;
Thats it. You don't need an @v attribute to make them “move”, although now if you want to use these points “velocities” to drive something else you could throw down a trail sop after your point wrangle and set it to get v, which is just the difference in each point's position between two frames.
I say “move” because again your not simulating anything now, your just basically adding the normal of each point onto its own position, whatever that position was at frame 1. You are also scaling the normal by a variable which happens to be the frame number, but that variable could be anything.
You may want to add an addition term in the above equation to keep the points from “moving” too fast. For instance:
float term = 0.1;
@P = @P + @N * @Frame * term;
But this is entirely up to you.
@P = @P + @N * @Frame;
Thats it. You don't need an @v attribute to make them “move”, although now if you want to use these points “velocities” to drive something else you could throw down a trail sop after your point wrangle and set it to get v, which is just the difference in each point's position between two frames.
I say “move” because again your not simulating anything now, your just basically adding the normal of each point onto its own position, whatever that position was at frame 1. You are also scaling the normal by a variable which happens to be the frame number, but that variable could be anything.
You may want to add an addition term in the above equation to keep the points from “moving” too fast. For instance:
float term = 0.1;
@P = @P + @N * @Frame * term;
But this is entirely up to you.
Click arrow on the exposed Group pararmeter in a subnet/HDA gives error... 2018年8月25日21:29
Am having same issue. Ever find a solution Mathieu?
Using vex functions primduv, Du, and Dv in sop context? 2018年7月2日1:01
Ok thank you