Hello, I have a question that I solved, but in a rather strange way.
I did this by copying new ones over the old points with offset by position.
Maybe there is an easy way to do this via vex. Or something else.
Offset points individually, depending on the normal.
2392 2 0- livinskyalex
- Member
- 10 posts
- Joined: 4月 2021
- Offline
- animatrix_
- Member
- 4730 posts
- Joined: 2月 2012
- Online
Hi,
If you already have normals, you can run this using a Point Wrangle (negative for moving inwards):
If the normal is not normalized, then normalize it also:
If you already have normals, you can run this using a Point Wrangle (negative for moving inwards):
@P -= @N * ch("distance");
If the normal is not normalized, then normalize it also:
@P -= normalize ( @N ) * ch("distance");
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
- livinskyalex
- Member
- 10 posts
- Joined: 4月 2021
- Offline
-
- Quick Links