Image Not Found
Help with optimizing VEX for loop setup
1528 2 0-
- jaredhutchinson
- Member
- 1 posts
- Joined: Dec. 2022
- Offline
I am trying to build a woven mesh based on the points of a tube primitive by looping through the point horizontally and vertically and adding a new point attrib so I can then connect the points with an add to create vertical and horizontal strands. Currently, the setup works but as I increase the rows and cols of the primitive it really starts to get sluggish while cooking the op. Obviously I expect some performance decrease since I'm throwing almost 30k points through the loop but the operation itself doesn't seem very heavy and I can't get enough lines to create the density I need for the look, so I'm wondering if there's a better way to accomplish the same result. Once you push the rows and cols of the tube past 70 & 70 you can see the VEX op start to crawl. I've only been using Houdini for about a month so I'm pretty new so any help/guidance is appreciated!
-
- tamte
- Member
- 9540 posts
- Joined: July 2007
- Offline
-
- animatrix_
- Member
- 5183 posts
- Joined: Feb. 2012
- Offline
Can you post your code?
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]
-
- Quick Links

