Thursday, September 9, 2021

Nope, I haven’t been writing, and I haven’t even been coding things. I will write my drabble and get to bed.

Back to quads and my oval-shaped world peach polygon. We actually subdivide a square and move points which are outside of the radius of a circle within the square, inward. The square is subdivided into quads whose points are moved as needed to lie within the world oval/circle. One square world quad becomes two, which are further divided into triangle fans. If the square is divided vertically, one will likely be wider than the other, in which case the corners of the smaller quad/triangle fan subdivide the larger quad into a hexagon. Instead of worrying about further subdividing quads, we can pair any two adjacent triangles as quads which we can further subdivide into four triangles of a triangle fan and make that the center of a landmass or ocean. I’m doing a horrible job of explaining this, but each of these triangle fans can be turned into a jagged blob of four or more points; the outer edges of the triangle fan can be subdivided but they do not have to be, we can ‘pencil in’ a point and find a point somewhere back along the line from this imaginary point to the center, discard that subdividing point and subdivide that triangle into three or more daughter triangles...

No comments:

Post a Comment