diff --git a/docs/design/designdoc.rst b/docs/design/designdoc.rst index 1808d9a..e2e4edc 100644 --- a/docs/design/designdoc.rst +++ b/docs/design/designdoc.rst @@ -486,6 +486,14 @@ rendered twice. Each neighboring tile is therefore only 2 columns over, not 3 as one may suspect at first. Same goes for the rows: The next tile down is 4 rows down, not 5. +To further illustrate this point, here are four tiles arranged on the grid of +chunks. Notice how the tiles are addressed by the col,row of the chunk in the +upper-left corner. Also notice how neighboring tiles are 2 columns apart but 4 +rows apart. + +.. image:: tilerendering/tilegrid.png + :alt: 4 tiles arranged on the grid of chunks + Quadtrees ========= .. About the tile output diff --git a/docs/design/tilerendering/tilegrid.png b/docs/design/tilerendering/tilegrid.png new file mode 100644 index 0000000..7164016 Binary files /dev/null and b/docs/design/tilerendering/tilegrid.png differ diff --git a/docs/design/tilerendering/tilegrid.svg b/docs/design/tilerendering/tilegrid.svg new file mode 100644 index 0000000..ba9b179 --- /dev/null +++ b/docs/design/tilerendering/tilegrid.svg @@ -0,0 +1,1396 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Chunk 0,0 + + + + + + Tile 0,0 + + + + + + + + Tile 0,-4 + + + + + + + + + Tile -2,-4 + + + + + + + + + Tile -2,0 + + + + + +