How to subdivide/split a face by points in a grid pattern
324 3 1-
- bashorton
- Member
- 17 posts
- Joined: 2月 2022
- オンライン
Hi, this might be a simple one, but I'm working on a procedural building model and want to create even divisions per each face to add windows ect. I feel like it should be simple but the divide sop doesn't respect the bounds of each face, and subdivide creates different sized divisions. My new thinking is to resample the edges then split the face at each point, in a grid pattern. Looking forward to hearing suggestions.
Edited by bashorton - 2025年10月15日 09:24:57
-
- Mike_A
- Member
- 393 posts
- Joined: 8月 2018
- オフライン
-
- animatrix_
- Member
- 5048 posts
- Joined: 2月 2012
- オフライン
Hi,
You can do this easily with an extra float parameter called bysize for x and y divisions respectively:

You can do this easily with an extra float parameter called bysize for x and y divisions respectively:
max(2, ceil(ch("sizex") / ch("bysize"))) max(2, ceil(ch("sizey") / ch("bysize")))
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]
-
- bashorton
- Member
- 17 posts
- Joined: 2月 2022
- オンライン
Thank you both, I think I've explained myself very badly, but here are some images that show the problem of using divide and subdivide. They both produce uneven faces which wouldn't work for my use. The grid was actually just for demonstration, think of it as a completely plain quad face I'm working with. Probably the answer is I should find a way to not get to this position in the first place, but the third image is what I'm looking to achieve.
Thanks!


Thanks!
Edited by bashorton - 2025年10月15日 15:19:39
-
- Quick Links


