Dividing meshes on a single axis.

   1140   6   1
User Avatar
Member
534 posts
Joined: Nov. 2016
Offline
Using the bricker option of Divide sop to get subdivisions in a single axis is really slow for high resolution meshes. Why? Is there a faster alternative?
Edited by Tanto - Feb. 24, 2025 14:46:37
User Avatar
Member
716 posts
Joined: Sept. 2013
Offline
Roll an attribute cyclically using the remap node and feed it into the clip node.

Attachments:
rolling_clip.hip (278.7 KB)

https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
534 posts
Joined: Nov. 2016
Offline
Thanks, this works but seems to require a decent amount of subdivision to begin with. I'd still be interested in a method that doesn't.
Edited by Tanto - Feb. 24, 2025 16:35:43
User Avatar
Member
716 posts
Joined: Sept. 2013
Offline
Performance-wise the boolean node with a bunch of grids might be faster, though.

Attachments:
boolean_cut.hip (124.4 KB)

https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
5042 posts
Joined: Feb. 2012
Offline
Hi,

You can also do this using a C++ Wrangle (inlinecpp Python module [www.sidefx.com]). I used it in production a lot of times and the speed was orders of magnitude faster than other methods I have tried.

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]
User Avatar
Member
534 posts
Joined: Nov. 2016
Offline
Thank you both, I'll try the different options.
  • Quick Links