Monday, September 20, 2021

Well, I got the fan thing going on, but I’m not interested in working on it anymore… Yeah, I know.

I suppose I should just go back to the world peach/polygon, make a bunch of triangles and see about subdividing them based on the heights of the corners. There would still be some skull sweat… Let’s do this one more time!

  1. Make a list of points for the seam at the back of the world peach. The first and last points at the north and south poles and we make triangle fans around that pole. The outer vertices run east to west for a clockwise winding. We make the triangle fan from east to west, making points and triangles from east to west.

  2. The rows in between start out as quads which we immediately subdivide. We start on the bottom east end of the previous row, drop down to the bottom east end of the next row and then find the next point westward on the new row. If this point is east of the top eastmost row, we have a triangle, we make and save the triangle and start over. If the second bottom point is west of the top eastmost we make that triangle and the adjacent triangle with the next point on the top row, west by one position. This is the new top eastmost point. Repeat until we run out of points on the top and bottom of this row and move on.

  3. Repeat for each row until we get to the south pole.

Seems like it should be straightforward somehow...

 

No comments:

Post a Comment