i'm trying to replicate the "grid cell centers" output on the RecGrid for an irregular 4-sided polygon using the uvs of a surface and was wondering how to replicate this as efficiently as possible.
1. Use the 'divide interval2' component to get a set of 2d intervals that correspond to each cell.
2. Decompose the interval using the 'interval2 components' component.
3. Find the UV midpoint of each cell using a formula: {(u0+u1)/2,(v0+v1)/2,0}