I have a basic Pop Network, with Pop Source which give me the point age attribute and I have Pop Wind node in which I want to set up the Air resistance parameter for each point depending on current age of the point.
How to write this expression in Air Resistance channel?
Thanks!
Pop wind Air Resistance parameter depending of points age
2129 3 1-
- AlexandrBognat
- Member
- 4 posts
- Joined: Dec. 2019
- Offline
-
- Tronotrond
- Member
- 69 posts
- Joined: July 2017
- Offline
I'm unable to see your images, but this is simply done with a little VEX in the Pop Wind node.
You can hover over any channel to see the VEX name. Don't have Houdini open in front of me, but I believe Air Resistance is airresist. Just hit the "Use VEXpressions" toggle to enable the VEX code.
So in VEX you can simply type
Only thing to note is there's no @ infront of the airresist variable. From there, it's just regular vex code.
Depending on what you want, you can normalize or fit the @age between some values and add/multiply it with the airresist variable.
You can hover over any channel to see the VEX name. Don't have Houdini open in front of me, but I believe Air Resistance is airresist. Just hit the "Use VEXpressions" toggle to enable the VEX code.
So in VEX you can simply type
airresist = 0;
Only thing to note is there's no @ infront of the airresist variable. From there, it's just regular vex code.
Depending on what you want, you can normalize or fit the @age between some values and add/multiply it with the airresist variable.
Trond Hille - Houdini FXTD at NOV
-
- Tanto
- Member
- 542 posts
- Joined: Nov. 2016
- Offline
-
- AlexandrBognat
- Member
- 4 posts
- Joined: Dec. 2019
- Offline
-
- Quick Links


