How to subdivide/split a face by points in a grid pattern
216 3 1-
- bashorton
- Member
- 17 posts
- Joined: Feb. 2022
- Online
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 - Oct. 15, 2025 09:24:57
-
- Mike_A
- Member
- 389 posts
- Joined: Aug. 2018
- Offline
-
- animatrix_
- Member
- 5047 posts
- Joined: Feb. 2012
- Offline
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: Feb. 2022
- Online
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 - Oct. 15, 2025 15:19:39
-
- Quick Links