@pos1 to parameter doesn't work?
338 5 0- jackdon4682
- Member
- 8 posts
- Joined: Aug. 2023
- Offline
- animatrix_
- Member
- 4521 posts
- Joined: Feb. 2012
- Offline
Hi,
Yes you have to use the point expression:
https://www.sidefx.com/docs/houdini/expressions/point.html [www.sidefx.com]
Yes you have to use the point expression:
https://www.sidefx.com/docs/houdini/expressions/point.html [www.sidefx.com]
point(-1, 0, "pos1", 0)
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
- jackdon4682
- Member
- 8 posts
- Joined: Aug. 2023
- Offline
- animatrix_
- Member
- 4521 posts
- Joined: Feb. 2012
- Offline
-1 is for when you use spare parms so that you don't have to type which node you are referencing. If you just want to use the first input 0 is perfectly valid.
But if you need to reference the current point's attribute for each point for the Peak node, you will have to write your own peak operation in VEX.
But if you need to reference the current point's attribute for each point for the Peak node, you will have to write your own peak operation in VEX.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
- jackdon4682
- Member
- 8 posts
- Joined: Aug. 2023
- Offline
animatrix_
-1 is for when you use spare parms so that you don't have to type which node you are referencing. If you just want to use the first input 0 is perfectly valid.
But if you need to reference the current point's attribute for each point for the Peak node, you will have to write your own peak operation in VEX.
Unfortunately,when I type -1 ,Error occured...
I seem to understand what you said.In generally, number 0 refer to the first input. And maybe it's enough.
- jackdon4682
- Member
- 8 posts
- Joined: Aug. 2023
- Offline
And I'm thinking about solving more complex situation,(as a houdini beginner)
such as pushing small spheres to the surface that is just tangent to the big ball.
the node Peak works well,
and I've found a more simple way which uses Vop to solve it.
thanks a lot for you to help me understand the node and how to use point()
such as pushing small spheres to the surface that is just tangent to the big ball.
the node Peak works well,
and I've found a more simple way which uses Vop to solve it.
thanks a lot for you to help me understand the node and how to use point()
-
- Quick Links