Hi,very new to houdini and vex here! I'm working on creating trims around edges, and came across a problem:
I'm trying to cut between points across the primitives, following the direction of it's edge, until it meets the edge on the other side.
I haven't gotten very far with it and would appreciate some tips!
Connecting points across primitives
367 3 0-
- molio
- Member
- 1 posts
- Joined: 2月 2019
- Offline
-
- animatrix_
- Member
- 4826 posts
- Joined: 2月 2012
- Offline
Hi,
It's actually quite tricky to do this in VEX but it can be done. You can get some ideas from here:
https://www.sidefx.com/forum/topic/42633 [www.sidefx.com]
In short there is no built-in split function in VEX, so you have to first create those new split points in space, create new primitives with the new points and then delete the old ones. You also have to create tracking attributes so you can preserve the existing attributes and groups after changing topology.
Expect multiple attribute wrangles if you want max performance over a single detail wrangle that does everything.
It's actually quite tricky to do this in VEX but it can be done. You can get some ideas from here:
https://www.sidefx.com/forum/topic/42633 [www.sidefx.com]
In short there is no built-in split function in VEX, so you have to first create those new split points in space, create new primitives with the new points and then delete the old ones. You also have to create tracking attributes so you can preserve the existing attributes and groups after changing topology.
Expect multiple attribute wrangles if you want max performance over a single detail wrangle that does everything.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]

-
- tamte
- Member
- 9078 posts
- Joined: 7月 2007
- Offline
-
- Mike_A
- Member
- 324 posts
- Joined: 8月 2018
- Offline
-
- Quick Links