Wednesday, December 21, 2011

New map partitioning algorithm

Now that's more what I wanted to see:

This new algorithm doesn't start in the upper left corner of the map but in the center instead. It expands the inner rectangle in all four directions simultaneously until it hits a different tile or the edge. Then it separates the uncovered area into four rectangles and repeats the process with those.
Done!
1 Pics
1 loaded
0 failed
Done!
1 Pics
1 loaded
0 failed

No comments:

Post a Comment