particle driven by script control. (tranfer MEL to Hscript)

   3018   3   1
User Avatar
Member
84 posts
Joined: Aug. 2008
Offline
velocity -= <<0,abs(noise(position *0.09)*10),0>>;

this is maya mel for controlling particles fall.

how should I do, could make the same effect in houdini particles?
https://vimeo.com/jacyslin [vimeo.com]
User Avatar
Member
257 posts
Joined: Nov. 2007
Offline
put down a vop pop and have a look at the nodes, you have all the building blocks you need there to rebuild that expression.

A few extra ones you might need are:
vectorToFloat
floatToVector.

Just as a simple example:
connect the global incoming velocity to the global outgoing velocity.
Now insert a multiply node inbetween. Create a parameter node and also link it in with the multiply. Go out of the vop pop, now you have a little slider control to multiply the velocity….

explore the other vop operators.
Cg Supervisor | Effects Supervisor | Expert Technical Artist at Infinity Ward
https://www.linkedin.com/in/peter-claes-10a4854/ [www.linkedin.com]
User Avatar
Member
321 posts
Joined: July 2005
Offline
pclaes
put down a vop pop and have a look at the nodes, you have all the building blocks you need there to rebuild that expression.
You could also just use a velocity POP. Place into each field (substituting the appropriate $VX, $VY, or $VZ): $VY-abs(noise(vector3($TX,$TY,$TZ) * 0.09)*10)
Of course, the noise calculation will be different in Houdini than Maya, so the end result will inherently be different.

– Antoine
Antoine Durr
Floq FX
antoine@floqfx.com
_________________
User Avatar
Member
84 posts
Joined: Aug. 2008
Offline
Can you show me an example?

I try to add a force in POPs, and got errors.
https://vimeo.com/jacyslin [vimeo.com]
  • Quick Links