hi all,
I have some code that jitters a grid of points in z, creates a coarse quad mesh from the jittered points, then culls some of the resulting faces. Later in the script, the mesh is further subdivided.
Problem is, wherever two regions of this face-culled mesh meet on a diagonal, i get an unsightly discontinuity. Ideally, I would like to have this diagonal region filled in with some additional faces such that in plan there is a smooth transition from region to region.
Any suggestions? I have considered doing the subdivision first, then somehow using the cull mask to draw the region I would like to “keep” and projecting it onto the mesh. So far it seems like a messy solution.
Script requires Weaverbird.
meshroof.gh (17.8 KB)