Merge textures rewrite into 19prep
@@ -2,21 +2,30 @@
|
||||
Building the Overviewer from Source
|
||||
===================================
|
||||
|
||||
These instructions are for building the C extension for Overviewer. Also note
|
||||
that pre-built Windows and Debian executables are available in the `Downloads
|
||||
<https://github.com/overviewer/Minecraft-Overviewer/downloads>`_ section. These
|
||||
kits already contain the compiled extension and require no further setup (so you
|
||||
can skip to the :doc:`Running <running>` section of the docs).
|
||||
These instructions are for building the C extension for Overviewer. Once you
|
||||
have finished with these instructions, head to :doc:`running`.
|
||||
|
||||
.. note::
|
||||
|
||||
Pre-built Windows and Debian executables are available on the
|
||||
:doc:`installing` page. These kits already contain the compiled code and
|
||||
require no further setup, so you can skip to the next section of the docs:
|
||||
:doc:`running`.
|
||||
|
||||
Get The Source
|
||||
==============
|
||||
First step: download the source! Either clone with Git or download the most recent snapshot
|
||||
|
||||
* URL to clone: ``git://github.com/overviewer/Minecraft-Overviewer.git``
|
||||
First step: download the platform-independent source! Either clone with Git
|
||||
(recommended if you know Git) or download the most recent snapshot
|
||||
|
||||
* Git URL to clone: ``git://github.com/overviewer/Minecraft-Overviewer.git``
|
||||
* `Download most recent tar archive <https://github.com/overviewer/Minecraft-Overviewer/tarball/master>`_
|
||||
|
||||
* `Download most recent zip archive <https://github.com/overviewer/Minecraft-Overviewer/zipball/master>`_
|
||||
|
||||
Once you have the source, see below for instructions on building for your
|
||||
system.
|
||||
|
||||
Build Instructions For Various Operating Systems
|
||||
================================================
|
||||
|
||||
@@ -157,5 +166,10 @@ regular user.
|
||||
|
||||
Installing the Compiled Code
|
||||
----------------------------
|
||||
You can run the ``overviewer.py`` script from the build directory just fine. If
|
||||
you'd like to install, run ``python setup.py install``
|
||||
|
||||
You can run the ``overviewer.py`` script from the build directory just fine;
|
||||
installation is unnecessary. If you'd like to install, run
|
||||
|
||||
::
|
||||
|
||||
python setup.py install
|
||||
|
||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.0 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
@@ -90,7 +90,7 @@ the process remains the same). In order to render a cube out of this, an `affine
|
||||
transformation`_ is applied to the texture in order to transform it to the top,
|
||||
left, and right faces of the cube.
|
||||
|
||||
.. image:: texturecubing.png
|
||||
.. image:: blockrendering/texturecubing.png
|
||||
:alt: A texture gets rendered into a cube
|
||||
|
||||
.. _affine transformation: http://en.wikipedia.org/wiki/Affine_transformation
|
||||
@@ -130,12 +130,12 @@ these steps:
|
||||
|
||||
This produces an image of size 24 by 12 as seen in the following sequence.
|
||||
|
||||
.. image:: texturetopsteps.png
|
||||
.. image:: blockrendering/texturetopsteps.png
|
||||
:alt: The 4 steps for transforming a texture square into the top of the cube.
|
||||
|
||||
The final image, shown below, becomes the top of the cube.
|
||||
|
||||
.. image:: cube_top.png
|
||||
.. image:: blockrendering/cube_top.png
|
||||
:alt: Top of the cube
|
||||
|
||||
On the left is what will become the top of the block at actual size after the
|
||||
@@ -156,13 +156,13 @@ a shear.
|
||||
2. The 12 by 12 square is sheared by a factor of 1.5 in the Y direction,
|
||||
producing an image that is bounded by a 12 by 18 pixel square.
|
||||
|
||||
.. image:: texturesidesteps.png
|
||||
.. image:: blockrendering/texturesidesteps.png
|
||||
:alt: Texture being sheared for the side of the cube.
|
||||
|
||||
This image is simply flipped along the horizontal axis for the other visible
|
||||
side of the cube.
|
||||
|
||||
.. image:: cube_sides.png
|
||||
.. image:: blockrendering/cube_sides.png
|
||||
:alt: The sides of the block
|
||||
|
||||
Again, shown on the left are the two sides of the block at actual size, the
|
||||
@@ -177,7 +177,7 @@ However, notice from the middle of the three images in the sequence below that
|
||||
the images as transformed don't fit together exactly. There is some overlap when
|
||||
put in the 24 by 24 box in which they must fit.
|
||||
|
||||
.. image:: cube_parts.png
|
||||
.. image:: blockrendering/cube_parts.png
|
||||
:alt: How the cube parts fit together
|
||||
|
||||
There is one more complication. The cubes don't tessellate perfectly. This
|
||||
@@ -185,7 +185,7 @@ diagram illustrates when a cube is positioned next to another. The lower cubes
|
||||
are 18 pixels lower and 12 pixels to either side, which is half the width and
|
||||
3/4 the height respectively.
|
||||
|
||||
.. image:: tessellation.png
|
||||
.. image:: blockrendering/tessellation.png
|
||||
:alt: Cubes don't tessellate perfectly
|
||||
|
||||
The solution is to manually touch up those 6 pixels. 3 pixels are added on the
|
||||
@@ -194,7 +194,7 @@ perfectly!
|
||||
|
||||
This is done at the end of :func:`textures._build_block`
|
||||
|
||||
.. image:: pixelfix.png
|
||||
.. image:: blockrendering/pixelfix.png
|
||||
:alt: The 6 pixels manually added to each cube.
|
||||
|
||||
Other Cube Types
|
||||
@@ -336,6 +336,128 @@ Tile Rendering
|
||||
==============
|
||||
.. Covers the placement of chunk images on a tile
|
||||
|
||||
So now that we know how to draw a single chunk, we can move on to placing them
|
||||
on an image.
|
||||
|
||||
For the diagrams in this section, we are positioning an entire chunk, but
|
||||
frequently, only the top face of the chunk is drawn (shown in green below).
|
||||
|
||||
.. image:: tilerendering/topofchunk.png
|
||||
:alt: The top of a chunk is highlighted
|
||||
|
||||
This makes it easier and less cumbersome to describe chunk positionings. Just
|
||||
remember that chunks extend down for 1536 more pixels.
|
||||
|
||||
Chunk Addressing
|
||||
----------------
|
||||
|
||||
Chunks in Minecraft have an X,Z address, starting at 0,0 and extending to
|
||||
positive and negative infinity on both axes. Since we're looking at things
|
||||
diagonally, however, we need a way of addressing these chunks in the final
|
||||
image. For that, we refer to them in rows and columns. Consider this grid
|
||||
showing the tops of a five by five region of chunks, labeled with their in-game
|
||||
addresses.
|
||||
|
||||
.. image:: tilerendering/chunkgrid.png
|
||||
:alt: A grid of 5x5 chunks showing how chunks are addressed.
|
||||
|
||||
Now, we want to transform each chunk to a row/column address as shown here:
|
||||
|
||||
.. image:: tilerendering/chunkgridwithrowcol.png
|
||||
:alt: A grid of 5x5 chunks showing how chunks are addressed.
|
||||
|
||||
So the chunk at address 0,0 would be at col 0, row 0; while the chunk at address
|
||||
1,1 would be at col 2, row 0. The intersection of the red and green lines
|
||||
addresses the chunk in col,row format.
|
||||
|
||||
Notice that as a consequence of this addressing scheme, there is no chunk at
|
||||
e.g. column 1 row 0. There are some col,row addresses that lie between chunks
|
||||
(as can be seen where the red/green lines intersect at a chunk boundary instead
|
||||
of the middle of a chunk). Something to keep in mind.
|
||||
|
||||
So how does one translate between them? It turns out that a chunk's column
|
||||
address is simply the sum of the X and the Z coordinate, while the row is the
|
||||
difference. Try it!
|
||||
|
||||
::
|
||||
|
||||
col = X + Z
|
||||
row = Z - X
|
||||
|
||||
X = (col - row) / 2
|
||||
Z = (col + row) / 2
|
||||
|
||||
Chunk Positioning
|
||||
-----------------
|
||||
Again just looking at the top of a chunk, we can work out how to position them
|
||||
relative to each other. This is similar to how to position blocks relative to
|
||||
each other, but this time, for chunks.
|
||||
|
||||
A chunk's top face is 384 pixels wide by 192 pixels tall. Similar to the block,
|
||||
neighboring chunks have these relationships:
|
||||
|
||||
.. image:: tilerendering/chunkpositioning.png
|
||||
:alt: Chunk positioning diagram
|
||||
|
||||
But that's all pretty trivial. With this knowledge, we could draw the chunks at
|
||||
the above offsets in one large image, but for large worlds, that would quickly
|
||||
become too much to handle. (Early versions of the Overviewer did this, but the
|
||||
large, unwieldy images quickly motivated the development of rendering to
|
||||
individual tiles)
|
||||
|
||||
Tile Layout
|
||||
-----------
|
||||
|
||||
Instead of rendering to one large image, chunks are rendered to small tiles.
|
||||
Only a handful of chunks need to be rendered into each tile. The downside is
|
||||
that chunks must be rendered multiple times for each tile they appear in, but
|
||||
the upside is that arbitrarily sized maps can be viewed.
|
||||
|
||||
The Overviewer uses a tile size of 384 by 384 pixels. This is the same as a
|
||||
width of a chunk and is no coincidence. Just considering the top face of a
|
||||
chunk, 8 chunks get rendered into a tile in this configuration:
|
||||
|
||||
.. image:: tilerendering/chunksintile.png
|
||||
:alt: The 8 chunks that get rendered into a tile
|
||||
|
||||
So the overall strategy is to convert all chunks into diagonal col,row
|
||||
coordinates, then for each tile decide which chunks belong in it, then render
|
||||
them in the appropriate place on the tile.
|
||||
|
||||
The rendering routines are actually passed a range of chunks to render, e.g.
|
||||
rows 4-6, cols 20-24. The lower bound col,row chunk given in the range is
|
||||
rendered at position 0,0 in the diagram above. That is, at offset -192,-96
|
||||
pixels.
|
||||
|
||||
The rendering routines takes the given range of columns and rows, converts it
|
||||
back into chunk coordinates, and renders the given 8 chunks plus all chunks from
|
||||
the 16 rows above the given range (see the note below). The chunks are
|
||||
positioned correctly with the above positioning rules, so any chunks that are
|
||||
out of the bounds get rendered off the tile and don't affect the final image.
|
||||
(There is therefore no penalty for rendering out-of-bounds chunks for a tile
|
||||
except increased processing)
|
||||
|
||||
.. note::
|
||||
|
||||
Remember that chunks are actually very tall, so there are actually several
|
||||
rows above 0 in the above diagram that are rendered into the tile. Since the
|
||||
chunk outlines in the diagrams are only the top face of the chunk, they most
|
||||
likely don't contribute to the image since chunks usually don't have
|
||||
anything to render way up at the top near the sky.
|
||||
|
||||
Since every other column of chunks is half-way in two tiles, they must be
|
||||
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.
|
||||
|
||||
Quadtrees
|
||||
=========
|
||||
.. About the tile output
|
||||
|
||||
get_range_by_path
|
||||
-----------------
|
||||
.. Explain the quadtree.QuadtreeGen._get_range_by_path method
|
||||
|
||||
Reading the Data Files
|
||||
======================
|
||||
..
|
||||
|
||||
BIN
docs/design/tilerendering/chunkgrid.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
529
docs/design/tilerendering/chunkgrid.svg
Normal file
@@ -0,0 +1,529 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448819"
|
||||
height="1052.3622047"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.1 r9760"
|
||||
sodipodi:docname="chunkgrid.svg">
|
||||
<defs
|
||||
id="defs4">
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Mend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Mend"
|
||||
style="overflow:visible;">
|
||||
<path
|
||||
id="path4080"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none;"
|
||||
transform="scale(0.4) rotate(180) translate(10,0)" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Lend"
|
||||
style="overflow:visible;">
|
||||
<path
|
||||
id="path4074"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none;"
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Mend"
|
||||
orient="auto"
|
||||
refY="0"
|
||||
refX="0"
|
||||
id="Arrow1Mend-0"
|
||||
style="overflow:visible">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path4080-0"
|
||||
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
|
||||
transform="matrix(-0.4,0,0,-0.4,-4,0)" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.58854166"
|
||||
inkscape:cx="-54.79402"
|
||||
inkscape:cy="197.03935"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
showborder="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1003"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="25"
|
||||
inkscape:window-maximized="1">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid2987"
|
||||
empspacing="5"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<g
|
||||
id="g3155">
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="651.0296"
|
||||
x="865.12878"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="1084.9524"
|
||||
x="1299.0515"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="867.99103"
|
||||
x="1082.0902"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-9"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="434.06821"
|
||||
x="648.16736"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-0"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="439.79279"
|
||||
x="1510.2885"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-3"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="1296.1893"
|
||||
x="653.89185"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-1"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="1301.9138"
|
||||
x="1516.0131"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-9-1"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="653.89191"
|
||||
x="1296.1893"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-0-0"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="1082.0902"
|
||||
x="867.99103"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-1-5"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="436.93048"
|
||||
x="1079.2279"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-0-0-6"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="870.85327"
|
||||
x="1513.1508"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-0-0-6-0"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="865.12878"
|
||||
x="651.0296"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-0-0-6-7"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="1299.0515"
|
||||
x="1084.9524"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-0-0-6-6"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89489399,0.44627878,-0.89489399,0.44627878,0,0)"
|
||||
y="429.23071"
|
||||
x="643.78064"
|
||||
height="1069.959"
|
||||
width="1069.959"
|
||||
id="rect2985-6-0-0-6-6-8"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.59456301;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
</g>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="159.5"
|
||||
y="972.36218"
|
||||
id="text3190"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3192"
|
||||
x="159.5"
|
||||
y="972.36218">0,0</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="539.22272"
|
||||
y="972.09851"
|
||||
id="text3194"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3196"
|
||||
x="539.22272"
|
||||
y="972.09851">1,1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="920.19537"
|
||||
y="972.36218"
|
||||
id="text3198"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3200"
|
||||
x="920.19537"
|
||||
y="972.36218">2,2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-250.5"
|
||||
y="962.36218"
|
||||
id="text3202"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3204"
|
||||
x="-250.5"
|
||||
y="962.36218">-1,-1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-630.5"
|
||||
y="962.36218"
|
||||
id="text3206"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3208"
|
||||
x="-630.5"
|
||||
y="962.36218">-2,-2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="149.5"
|
||||
y="772.36218"
|
||||
id="text3210"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3212"
|
||||
x="149.5"
|
||||
y="772.36218">1,-1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="149.5"
|
||||
y="572.36218"
|
||||
id="text3214"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3216"
|
||||
x="149.5"
|
||||
y="572.36218">2,-2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="149.5"
|
||||
y="1152.3622"
|
||||
id="text3218"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3220"
|
||||
x="149.5"
|
||||
y="1152.3622">-1,1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="149.5"
|
||||
y="1352.3622"
|
||||
id="text3222"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3224"
|
||||
x="149.5"
|
||||
y="1352.3622">-2,2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="349.5"
|
||||
y="1062.3622"
|
||||
id="text3226"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3228"
|
||||
x="349.5"
|
||||
y="1062.3622">0,1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="549.5"
|
||||
y="1162.3622"
|
||||
id="text3230"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3232"
|
||||
x="549.5"
|
||||
y="1162.3622">0,2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="329.5"
|
||||
y="1252.3622"
|
||||
id="text3234"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3236"
|
||||
x="329.5"
|
||||
y="1252.3622">-1,2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="349.5"
|
||||
y="872.36218"
|
||||
id="text3238"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3240"
|
||||
x="349.5"
|
||||
y="872.36218">1,0</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="349.5"
|
||||
y="672.36218"
|
||||
id="text3242"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3244"
|
||||
x="349.5"
|
||||
y="672.36218">2,-1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="539.5"
|
||||
y="772.36218"
|
||||
id="text3246"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3248"
|
||||
x="539.5"
|
||||
y="772.36218">2,0</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="739.5"
|
||||
y="872.36218"
|
||||
id="text3250"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3252"
|
||||
x="739.5"
|
||||
y="872.36218">2,1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="729.5"
|
||||
y="1062.3622"
|
||||
id="text3254"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3256"
|
||||
x="729.5"
|
||||
y="1062.3622">1,2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-40.5"
|
||||
y="1252.3622"
|
||||
id="text3258"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3260"
|
||||
x="-40.5"
|
||||
y="1252.3622">-2,1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-40.778763"
|
||||
y="1048.964"
|
||||
id="text3262"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3264"
|
||||
x="-40.778763"
|
||||
y="1048.964">-1,0</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-250.5"
|
||||
y="1152.3622"
|
||||
id="text3266"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3268"
|
||||
x="-250.5"
|
||||
y="1152.3622">-2,0</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-59.469028"
|
||||
y="843.37103"
|
||||
id="text3270"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3272"
|
||||
x="-59.469028"
|
||||
y="843.37103">0,-1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-253.16814"
|
||||
y="744.82239"
|
||||
id="text3274"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3276"
|
||||
x="-253.16814"
|
||||
y="744.82239">0,-2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-50.5"
|
||||
y="662.36218"
|
||||
id="text3278"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3280"
|
||||
x="-50.5"
|
||||
y="662.36218">1,-2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-430.5"
|
||||
y="872.36218"
|
||||
id="text3282"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3284"
|
||||
x="-430.5"
|
||||
y="872.36218">-1,-2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-430.5"
|
||||
y="1062.3622"
|
||||
id="text3286"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3288"
|
||||
x="-430.5"
|
||||
y="1062.3622">-2,-1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:144px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-860.5"
|
||||
y="912.36218"
|
||||
id="text3290"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3292"
|
||||
x="-860.5"
|
||||
y="912.36218">X</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:144px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="259.5"
|
||||
y="472.36218"
|
||||
id="text3294"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3296"
|
||||
x="259.5"
|
||||
y="472.36218">Z</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend)"
|
||||
d="m -760.5,852.36218 200,-120"
|
||||
id="path3298"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend)"
|
||||
d="m 379.5,432.36218 220,120"
|
||||
id="path3298-6"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 22 KiB |
BIN
docs/design/tilerendering/chunkgridwithrowcol.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
786
docs/design/tilerendering/chunkgridwithrowcol.svg
Normal file
@@ -0,0 +1,786 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448819"
|
||||
height="1052.3622047"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.1 r9760"
|
||||
sodipodi:docname="chunkgridwithrowcol.svg"
|
||||
inkscape:export-filename="/home/andrew/mc/overviewer/docs/design/tilerendering/chunkgridwithrowcol.png"
|
||||
inkscape:export-xdpi="26.855888"
|
||||
inkscape:export-ydpi="26.855888">
|
||||
<defs
|
||||
id="defs4">
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Mend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Mend"
|
||||
style="overflow:visible;">
|
||||
<path
|
||||
id="path4080"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none;"
|
||||
transform="scale(0.4) rotate(180) translate(10,0)" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Lend"
|
||||
style="overflow:visible;">
|
||||
<path
|
||||
id="path4074"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none;"
|
||||
transform="scale(0.8) rotate(180) translate(12.5,0)" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Mend"
|
||||
orient="auto"
|
||||
refY="0"
|
||||
refX="0"
|
||||
id="Arrow1Mend-0"
|
||||
style="overflow:visible">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path4080-0"
|
||||
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
|
||||
transform="matrix(-0.4,0,0,-0.4,-4,0)" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.58854166"
|
||||
inkscape:cx="39.759488"
|
||||
inkscape:cy="25.837596"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
showborder="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1003"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="25"
|
||||
inkscape:window-maximized="1">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid2987"
|
||||
empspacing="5"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:none;stroke:#00ff00;stroke-width:3.00000024;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -840.5,952.36218 1980,0"
|
||||
id="path4904"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#ff0000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 189.5,1512.3622 0,-1000.00004"
|
||||
id="path4800"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#ff0000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 379.5,1562.3622 0,-1050.00003"
|
||||
id="path4800-6"
|
||||
inkscape:connector-curvature="0" />
|
||||
<g
|
||||
id="g3155">
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="651.0296"
|
||||
x="865.12878"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="1084.9524"
|
||||
x="1299.0515"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="867.99103"
|
||||
x="1082.0902"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-9"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="434.06821"
|
||||
x="648.16736"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-0"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="439.79279"
|
||||
x="1510.2885"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-3"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="1296.1893"
|
||||
x="653.89185"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-1"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="1301.9138"
|
||||
x="1516.0131"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-9-1"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="653.89191"
|
||||
x="1296.1893"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-0-0"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="1082.0902"
|
||||
x="867.99103"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-1-5"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="436.93048"
|
||||
x="1079.2279"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-0-0-6"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="870.85327"
|
||||
x="1513.1508"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-0-0-6-0"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="865.12878"
|
||||
x="651.0296"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-0-0-6-7"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)"
|
||||
y="1299.0515"
|
||||
x="1084.9524"
|
||||
height="211.31139"
|
||||
width="211.31139"
|
||||
id="rect2985-6-0-0-6-6"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
<rect
|
||||
transform="matrix(0.89489399,0.44627878,-0.89489399,0.44627878,0,0)"
|
||||
y="429.23071"
|
||||
x="643.78064"
|
||||
height="1069.959"
|
||||
width="1069.959"
|
||||
id="rect2985-6-0-0-6-6-8"
|
||||
style="fill:none;stroke:#000000;stroke-width:5.59456301;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:none;stroke:#ff0000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 569.5,1512.3622 0,-1000.00008"
|
||||
id="path4800-0"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="159.5"
|
||||
y="972.36218"
|
||||
id="text3190"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3192"
|
||||
x="159.5"
|
||||
y="972.36218">0,0</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#ff0000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 769.5,1562.3622 0,-1050.00005"
|
||||
id="path4800-4"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="539.22272"
|
||||
y="972.09851"
|
||||
id="text3194"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3196"
|
||||
x="539.22272"
|
||||
y="972.09851">1,1</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#ff0000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 949.5,1512.3622 0,-1000.00006"
|
||||
id="path4800-69"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="920.19537"
|
||||
y="972.36218"
|
||||
id="text3198"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3200"
|
||||
x="920.19537"
|
||||
y="972.36218">2,2</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#ff0000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -565.5,1512.3622 0,-1000.0001"
|
||||
id="path4800-6-5"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-250.5"
|
||||
y="962.36218"
|
||||
id="text3202"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3204"
|
||||
x="-250.5"
|
||||
y="962.36218">-1,-1</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#ff0000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -375.5,1572.3623 0,-1060.00018"
|
||||
id="path4800-0-4"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-630.5"
|
||||
y="962.36218"
|
||||
id="text3206"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3208"
|
||||
x="-630.5"
|
||||
y="962.36218">-2,-2</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#ff0000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -175.5,1512.3622 0,-1000.0001"
|
||||
id="path4800-4-6"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="149.5"
|
||||
y="772.36218"
|
||||
id="text3210"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3212"
|
||||
x="149.5"
|
||||
y="772.36218">1,-1</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#ff0000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="M 4.5,1572.3623 4.5,512.36214"
|
||||
id="path4800-69-8"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="149.5"
|
||||
y="572.36218"
|
||||
id="text3214"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3216"
|
||||
x="149.5"
|
||||
y="572.36218">2,-2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="149.5"
|
||||
y="1152.3622"
|
||||
id="text3218"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3220"
|
||||
x="149.5"
|
||||
y="1152.3622">-1,1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="149.5"
|
||||
y="1352.3622"
|
||||
id="text3222"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3224"
|
||||
x="149.5"
|
||||
y="1352.3622">-2,2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="349.5"
|
||||
y="1062.3622"
|
||||
id="text3226"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3228"
|
||||
x="349.5"
|
||||
y="1062.3622">0,1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="549.5"
|
||||
y="1162.3622"
|
||||
id="text3230"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3232"
|
||||
x="549.5"
|
||||
y="1162.3622">0,2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="329.5"
|
||||
y="1252.3622"
|
||||
id="text3234"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3236"
|
||||
x="329.5"
|
||||
y="1252.3622">-1,2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="349.5"
|
||||
y="872.36218"
|
||||
id="text3238"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3240"
|
||||
x="349.5"
|
||||
y="872.36218">1,0</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="349.5"
|
||||
y="672.36218"
|
||||
id="text3242"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3244"
|
||||
x="349.5"
|
||||
y="672.36218">2,-1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="539.5"
|
||||
y="772.36218"
|
||||
id="text3246"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3248"
|
||||
x="539.5"
|
||||
y="772.36218">2,0</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="739.5"
|
||||
y="872.36218"
|
||||
id="text3250"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3252"
|
||||
x="739.5"
|
||||
y="872.36218">2,1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="729.5"
|
||||
y="1062.3622"
|
||||
id="text3254"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3256"
|
||||
x="729.5"
|
||||
y="1062.3622">1,2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-40.5"
|
||||
y="1252.3622"
|
||||
id="text3258"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3260"
|
||||
x="-40.5"
|
||||
y="1252.3622">-2,1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-40.778763"
|
||||
y="1048.964"
|
||||
id="text3262"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3264"
|
||||
x="-40.778763"
|
||||
y="1048.964">-1,0</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#00ff00;stroke-width:3.00000024;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -840.5,862.36218 1980,0"
|
||||
id="path4904-8"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-250.5"
|
||||
y="1152.3622"
|
||||
id="text3266"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3268"
|
||||
x="-250.5"
|
||||
y="1152.3622">-2,0</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#00ff00;stroke-width:3.00000024;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -840.5,762.36218 1980,0"
|
||||
id="path4904-9"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-20.5"
|
||||
y="872.36218"
|
||||
id="text3270"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3272"
|
||||
x="-20.5"
|
||||
y="872.36218">0,-1</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#00ff00;stroke-width:3.00000024;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -840.5,672.36218 1980,0"
|
||||
id="path4904-9-4"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-40.5"
|
||||
y="672.36218"
|
||||
id="text3278"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3280"
|
||||
x="-40.5"
|
||||
y="672.36218">1,-2</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#00ff00;stroke-width:3.00000024;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -840.5,572.36218 1980,0"
|
||||
id="path4904-9-7"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-430.5"
|
||||
y="872.36218"
|
||||
id="text3282"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3284"
|
||||
x="-430.5"
|
||||
y="872.36218">-1,-2</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#00ff00;stroke-width:3.00000024;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -840.5,1052.3622 1980,0"
|
||||
id="path4904-9-48"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-430.5"
|
||||
y="1062.3622"
|
||||
id="text3286"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3288"
|
||||
x="-430.5"
|
||||
y="1062.3622">-2,-1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="119.5"
|
||||
y="1572.3622"
|
||||
id="text4741"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4743"
|
||||
x="119.5"
|
||||
y="1572.3622">Col 0</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="299.5"
|
||||
y="1632.3622"
|
||||
id="text4745"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4747"
|
||||
x="299.5"
|
||||
y="1632.3622">Col 1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="509.5"
|
||||
y="1572.3622"
|
||||
id="text4749"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4751"
|
||||
x="509.5"
|
||||
y="1572.3622">Col 2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="709.5"
|
||||
y="1632.3622"
|
||||
id="text4753"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4755"
|
||||
x="709.5"
|
||||
y="1632.3622">Col 3</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="889.5"
|
||||
y="1572.3622"
|
||||
id="text4757"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4759"
|
||||
x="889.5"
|
||||
y="1572.3622">Col 4</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-675.5"
|
||||
y="1572.3622"
|
||||
id="text4745-3"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4747-7"
|
||||
x="-675.5"
|
||||
y="1572.3622">Col -4</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-470.5"
|
||||
y="1632.3622"
|
||||
id="text4749-1"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4751-8"
|
||||
x="-470.5"
|
||||
y="1632.3622">Col -3</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-265.5"
|
||||
y="1572.3622"
|
||||
id="text4753-4"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4755-7"
|
||||
x="-265.5"
|
||||
y="1572.3622">Col -2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-70.5"
|
||||
y="1632.3622"
|
||||
id="text4757-6"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4759-8"
|
||||
x="-70.5"
|
||||
y="1632.3622">Col -1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-1040.5"
|
||||
y="972.36218"
|
||||
id="text4868"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4870"
|
||||
x="-1040.5"
|
||||
y="972.36218">Row 0</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-1040.5"
|
||||
y="1072.3622"
|
||||
id="text4872"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4874"
|
||||
x="-1040.5"
|
||||
y="1072.3622">Row 1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-1040.5"
|
||||
y="1162.3622"
|
||||
id="text4876"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4878"
|
||||
x="-1040.5"
|
||||
y="1162.3622">Row 2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-1040.5"
|
||||
y="1262.3622"
|
||||
id="text4880"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4882"
|
||||
x="-1040.5"
|
||||
y="1262.3622">Row 3</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-1040.5"
|
||||
y="1352.3622"
|
||||
id="text4884"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4886"
|
||||
x="-1040.5"
|
||||
y="1352.3622">Row 4</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#00ff00;stroke-width:3.00000024;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -840.5,1142.3622 1980,0"
|
||||
id="path4904-9-9"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-1040.5"
|
||||
y="882.36218"
|
||||
id="text4888"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4890"
|
||||
x="-1040.5"
|
||||
y="882.36218">Row -1</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#00ff00;stroke-width:3.00000024;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -840.5,1242.3622 1980,0"
|
||||
id="path4904-9-6"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-1040.5"
|
||||
y="782.36218"
|
||||
id="text4892"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4894"
|
||||
x="-1040.5"
|
||||
y="782.36218">Row -2</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#00ff00;stroke-width:3.00000024;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -840.5,1332.3622 1980,0"
|
||||
id="path4904-9-2"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-1040.5"
|
||||
y="692.36218"
|
||||
id="text4896"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4898"
|
||||
x="-1040.5"
|
||||
y="692.36218">Row -3</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-1040.5"
|
||||
y="592.36218"
|
||||
id="text4900"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4902"
|
||||
x="-1040.5"
|
||||
y="592.36218">Row -4</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-220.5"
|
||||
y="772.36218"
|
||||
id="text3274"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3276"
|
||||
x="-220.5"
|
||||
y="772.36218">0,-2</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 34 KiB |
BIN
docs/design/tilerendering/chunkpositioning.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
366
docs/design/tilerendering/chunkpositioning.svg
Normal file
@@ -0,0 +1,366 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448819"
|
||||
height="1052.3622047"
|
||||
id="svg4984"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.1 r9760"
|
||||
sodipodi:docname="New document 20">
|
||||
<defs
|
||||
id="defs4986">
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Mend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Mend"
|
||||
style="overflow:visible;">
|
||||
<path
|
||||
id="path4080"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none;"
|
||||
transform="scale(0.4) rotate(180) translate(10,0)" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Mend"
|
||||
orient="auto"
|
||||
refY="0"
|
||||
refX="0"
|
||||
id="Arrow1Mend-9"
|
||||
style="overflow:visible">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path4080-3"
|
||||
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
|
||||
transform="matrix(-0.4,0,0,-0.4,-4,0)" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.7"
|
||||
inkscape:cx="259.41101"
|
||||
inkscape:cy="428.05724"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
showborder="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1003"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="25"
|
||||
inkscape:window-maximized="1">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid4992"
|
||||
empspacing="5"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata4989">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<rect
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect2985-6-1"
|
||||
width="211.31139"
|
||||
height="211.31139"
|
||||
x="391.77194"
|
||||
y="659.95337"
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-300.5"
|
||||
y="432.36218"
|
||||
id="text5068"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan5070"
|
||||
x="-300.5"
|
||||
y="432.36218">384</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-580.5"
|
||||
y="572.36218"
|
||||
id="text5072"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan5074"
|
||||
x="-580.5"
|
||||
y="572.36218">192</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m -530.5,462.36218 0,60"
|
||||
id="path5076"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m -530.5,582.36218 0,70"
|
||||
id="path5078"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m -560.5,652.36218 60,0"
|
||||
id="path5080"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m -560.5,462.36218 60,0"
|
||||
id="path5082"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -430.50002,412.36218 130.00001,0"
|
||||
id="path5076-7"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -190.5,412.36218 140,0"
|
||||
id="path5078-0"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -50.5,442.36218 0,-60"
|
||||
id="path5080-6"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m -430.5,442.36218 0,-60"
|
||||
id="path5082-1"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:3,3;stroke-dashoffset:0"
|
||||
d="m -430.5,562.36218 0,270"
|
||||
id="path5641"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:3,3;stroke-dashoffset:0"
|
||||
d="m -50.5,562.36218 0,270"
|
||||
id="path5643"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:36px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-560.5"
|
||||
y="762.36218"
|
||||
id="text5645"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan5647"
|
||||
x="-560.5"
|
||||
y="762.36218">(1536)</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow1Mend)"
|
||||
d="m -500.5,782.36218 0,80"
|
||||
id="path5649"
|
||||
inkscape:connector-curvature="0" />
|
||||
<rect
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect2985-6-1-2"
|
||||
width="211.31139"
|
||||
height="211.31139"
|
||||
x="640.77008"
|
||||
y="418.8653"
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)" />
|
||||
<rect
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect2985-6-1-1"
|
||||
width="211.31139"
|
||||
height="211.31139"
|
||||
x="852.08148"
|
||||
y="418.86536"
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="49.5"
|
||||
y="362.36218"
|
||||
id="text6040"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
x="49.5"
|
||||
y="362.36218"
|
||||
id="tspan6044">192</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="399.5"
|
||||
y="532.36218"
|
||||
id="text6048"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
x="399.5"
|
||||
y="532.36218"
|
||||
id="tspan6052">96</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#ff0000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 9.5,562.36218 0,-190"
|
||||
id="path6056"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#ff0000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 199.5,562.36219 0,-190"
|
||||
id="path6058"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend)"
|
||||
d="m 9.5,372.36218 190,0"
|
||||
id="path6060"
|
||||
inkscape:connector-curvature="0" />
|
||||
<rect
|
||||
style="fill:none;stroke:#00ff00;stroke-width:3;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect6244"
|
||||
width="384"
|
||||
height="192"
|
||||
x="199.5"
|
||||
y="560.36218" />
|
||||
<path
|
||||
style="fill:none;stroke:#ff0000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 199.5,467.36218 190,0"
|
||||
id="path6058-7"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3.00000024;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend)"
|
||||
d="m 389.5,467.36218 0,90"
|
||||
id="path6060-4"
|
||||
inkscape:connector-curvature="0" />
|
||||
<rect
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect2985-6-1-23"
|
||||
width="211.31139"
|
||||
height="211.31139"
|
||||
x="1015.1843"
|
||||
y="89.651497"
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)" />
|
||||
<rect
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect2985-6-1-6"
|
||||
width="211.31139"
|
||||
height="211.31139"
|
||||
x="1226.4956"
|
||||
y="-121.65988"
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)" />
|
||||
<rect
|
||||
style="fill:none;stroke:#00ff00;stroke-width:3;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect6244-1"
|
||||
width="384"
|
||||
height="192"
|
||||
x="1019.5"
|
||||
y="487.36218" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="769.5"
|
||||
y="462.36218"
|
||||
id="text5068-0"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan5070-4"
|
||||
x="769.5"
|
||||
y="462.36218">384</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 639.49999,442.36218 130.00001,0"
|
||||
id="path5076-7-5"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 879.50001,442.36218 139.99999,0"
|
||||
id="path5078-0-4"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 1019.5,472.36218 0,-60"
|
||||
id="path5080-6-9"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 639.50001,472.36218 0,-60"
|
||||
id="path5082-1-7"
|
||||
inkscape:connector-curvature="0" />
|
||||
<rect
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect2985-6-1-23-4"
|
||||
width="211.31139"
|
||||
height="211.31139"
|
||||
x="1393.1256"
|
||||
y="-469.09094"
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)" />
|
||||
<rect
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect2985-6-1-6-3"
|
||||
width="211.31139"
|
||||
height="211.31139"
|
||||
x="1605.853"
|
||||
y="-255.80577"
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)" />
|
||||
<rect
|
||||
style="fill:none;stroke:#00ff00;stroke-width:3;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect6244-1-6"
|
||||
width="384"
|
||||
height="192"
|
||||
x="1480"
|
||||
y="595.86218" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="1879.5"
|
||||
y="512.36218"
|
||||
id="text5072-9"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan5074-5"
|
||||
x="1879.5"
|
||||
y="512.36218">192</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 1929.5,402.36218 0,60"
|
||||
id="path5076-4"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 1929.5,522.36218 0,70"
|
||||
id="path5078-2"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 1899.5,592.36218 60,0"
|
||||
id="path5080-5"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 1899.5,402.36218 60,0"
|
||||
id="path5082-8"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 16 KiB |
BIN
docs/design/tilerendering/chunksintile.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
326
docs/design/tilerendering/chunksintile.svg
Normal file
@@ -0,0 +1,326 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448819"
|
||||
height="1052.3622047"
|
||||
id="svg4984"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.1 r9760"
|
||||
sodipodi:docname="chunksintile.svg"
|
||||
inkscape:export-filename="/home/andrew/mc/overviewer/docs/design/tilerendering/chunkpositioning.png"
|
||||
inkscape:export-xdpi="26.855888"
|
||||
inkscape:export-ydpi="26.855888">
|
||||
<defs
|
||||
id="defs4986">
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Mend"
|
||||
orient="auto"
|
||||
refY="0.0"
|
||||
refX="0.0"
|
||||
id="Arrow1Mend"
|
||||
style="overflow:visible;">
|
||||
<path
|
||||
id="path4080"
|
||||
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none;"
|
||||
transform="scale(0.4) rotate(180) translate(10,0)" />
|
||||
</marker>
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Mend"
|
||||
orient="auto"
|
||||
refY="0"
|
||||
refX="0"
|
||||
id="Arrow1Mend-9"
|
||||
style="overflow:visible">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path4080-3"
|
||||
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
|
||||
transform="matrix(-0.4,0,0,-0.4,-4,0)" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.7"
|
||||
inkscape:cx="369.82734"
|
||||
inkscape:cy="267.54985"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
showborder="false"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1003"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="25"
|
||||
inkscape:window-maximized="1">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid4992"
|
||||
empspacing="5"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata4989">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<rect
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect2985-6-1-5"
|
||||
width="211.31139"
|
||||
height="211.31139"
|
||||
x="1082.0902"
|
||||
y="867.99103"
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)" />
|
||||
<rect
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect2985-6-1-5-4"
|
||||
width="211.31139"
|
||||
height="211.31139"
|
||||
x="648.1673"
|
||||
y="434.06821"
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)" />
|
||||
<rect
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect2985-6-1-5-5"
|
||||
width="211.31139"
|
||||
height="211.31139"
|
||||
x="865.12878"
|
||||
y="651.0296"
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)" />
|
||||
<rect
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect2985-6-1-5-45"
|
||||
width="211.31139"
|
||||
height="211.31139"
|
||||
x="1296.1893"
|
||||
y="653.89185"
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)" />
|
||||
<rect
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect2985-6-1-5-4-7"
|
||||
width="211.31139"
|
||||
height="211.31139"
|
||||
x="862.26642"
|
||||
y="219.96902"
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)" />
|
||||
<rect
|
||||
style="fill:none;stroke:#000000;stroke-width:5.6126442;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect2985-6-1-5-5-5"
|
||||
width="211.31139"
|
||||
height="211.31139"
|
||||
x="1079.2279"
|
||||
y="436.93039"
|
||||
transform="matrix(0.89678084,0.442475,-0.89678084,0.442475,0,0)" />
|
||||
<rect
|
||||
style="fill:none;stroke:#ff0000;stroke-width:5;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||
id="rect6563"
|
||||
width="384"
|
||||
height="384"
|
||||
x="194.5"
|
||||
y="569.86218" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-40.5"
|
||||
y="432.36218"
|
||||
id="text6565"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan6567"
|
||||
x="-40.5"
|
||||
y="432.36218">Cols:</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="169.5"
|
||||
y="432.36218"
|
||||
id="text6569"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan6571"
|
||||
x="169.5"
|
||||
y="432.36218">0</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="367.69553"
|
||||
y="426.0676"
|
||||
id="text6573"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan6575"
|
||||
x="367.69553"
|
||||
y="426.0676">1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="554.57373"
|
||||
y="422.02698"
|
||||
id="text6577"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan6579"
|
||||
x="554.57373"
|
||||
y="422.02698">2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-280.5"
|
||||
y="592.36218"
|
||||
id="text6581"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan6583"
|
||||
x="-280.5"
|
||||
y="592.36218">Rows:</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-81.457031"
|
||||
y="592.36218"
|
||||
id="text6585"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan6587"
|
||||
x="-81.457031"
|
||||
y="592.36218">0</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-83.917969"
|
||||
y="682.36218"
|
||||
id="text6589"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan6591"
|
||||
x="-83.917969"
|
||||
y="682.36218">1</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-81.867188"
|
||||
y="782.36218"
|
||||
id="text6593"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan6595"
|
||||
x="-81.867188"
|
||||
y="782.36218">2</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-82.03125"
|
||||
y="882.36218"
|
||||
id="text6597"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan6599"
|
||||
x="-82.03125"
|
||||
y="882.36218">3</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="-80.5"
|
||||
y="972.36218"
|
||||
id="text6601"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan6603"
|
||||
x="-80.5"
|
||||
y="972.36218">4</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="319.5"
|
||||
y="1142.3622"
|
||||
id="text5068"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan5070"
|
||||
x="319.5"
|
||||
y="1142.3622">384</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 189.49999,1122.3622 130.00001,0"
|
||||
id="path5076-7"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 429.50001,1122.3622 140,0"
|
||||
id="path5078-0"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 569.50001,1152.3622 0,-60"
|
||||
id="path5080-6"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
||||
d="m 189.50001,1152.3622 0,-60"
|
||||
id="path5082-1"
|
||||
inkscape:connector-curvature="0" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:56px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Andale Mono"
|
||||
x="789.5"
|
||||
y="792.36218"
|
||||
id="text5068-0"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan5070-3"
|
||||
x="789.5"
|
||||
y="792.36218">384</tspan></text>
|
||||
<g
|
||||
id="g7186"
|
||||
transform="matrix(0,1,-1,0,1521.8622,-157.13782)">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path5076-7-8"
|
||||
d="m 729.49998,682.36218 130.00001,0"
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path5078-0-9"
|
||||
d="m 969.5,682.36218 140,0"
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path5080-6-4"
|
||||
d="m 1109.5,712.36218 0,-60"
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path5082-1-5"
|
||||
d="m 729.5,712.36218 0,-60"
|
||||
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
BIN
docs/design/tilerendering/topofchunk.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
4258
docs/design/tilerendering/topofchunk.svg
Normal file
|
After Width: | Height: | Size: 200 KiB |
55
docs/faq.rst
@@ -2,22 +2,53 @@
|
||||
Frequently Asked Questions
|
||||
==========================
|
||||
|
||||
**The full map doesn't display even when fully zoomed out!**
|
||||
Are you using the :option:`-z` or :option:`--zoom <-z>` option on your commandline or
|
||||
in settings.py? If so, try removing it, or increasing the value you set.
|
||||
It's quite likely you don't need it at all. See the documentation for the
|
||||
:option:`zoom <-z>` option.
|
||||
.. contents::
|
||||
:local:
|
||||
|
||||
General Questions
|
||||
=================
|
||||
|
||||
The full map doesn't display even when fully zoomed out!
|
||||
--------------------------------------------------------
|
||||
|
||||
Are you using the :option:`-z` or :option:`--zoom <-z>` option on your
|
||||
commandline or in settings.py? If so, try removing it, or increasing the value
|
||||
you set. It's quite likely you don't need it at all. See the documentation for
|
||||
the :option:`zoom <-z>` option.
|
||||
|
||||
You've added a few feature, but it's not showing up on my map!
|
||||
--------------------------------------------------------------
|
||||
|
||||
**You've added a few feature, but it's not showing up on my map!**
|
||||
Some new features will only show up in newly-rendered areas. Use the
|
||||
:option:`--forcerender` option to update the entire map.
|
||||
|
||||
**How do I use this on CentOS 5?**
|
||||
CentOS 5 comes with Python 2.4, but the Overviewer needs 2.6 or higher. See
|
||||
the special instructions at :ref:`centos`
|
||||
How do I use this on CentOS 5?
|
||||
------------------------------
|
||||
|
||||
CentOS 5 comes with Python 2.4, but the Overviewer needs 2.6 or higher. See the
|
||||
special instructions at :ref:`centos`
|
||||
|
||||
The background color of the map is black, and I don't like it!
|
||||
--------------------------------------------------------------
|
||||
|
||||
**The background color of the map is black, and I don't like it!**
|
||||
You can change this by using the :option:`--bg-color` command line option, or
|
||||
``bg_color`` in settings.py. See the :doc:`options` page for more
|
||||
details.
|
||||
``bg_color`` in settings.py. See the :doc:`options` page for more details.
|
||||
|
||||
I downloaded the Windows version but when I double-click it, the window closes real fast.
|
||||
-----------------------------------------------------------------------------------------
|
||||
|
||||
The Overviewer is a command line program and must be run from a command line. It
|
||||
is necessary to become at least a little familiar with a command line to run The
|
||||
Overviewer (if you have no interest in this, perhaps this isn't the mapping
|
||||
program for you).
|
||||
|
||||
Unfortunately, A full tutorial of the Windows command line is out of scope for this
|
||||
documentation; consult the almighty Google for tutorials and information on
|
||||
the Windows command line. (If you would like to contribute a short tutorial to
|
||||
these docs, please do!)
|
||||
|
||||
Batch files are another easy way to run the Overviewer without messing with
|
||||
command lines, but information on how to do this has also not been written.
|
||||
|
||||
On a related note, we also welcome contributions for a graphical interface for
|
||||
the Overviewer.
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
The Minecraft Overviewer
|
||||
========================
|
||||
|
||||
See also the `Github Homepage`_
|
||||
|
||||
.. _Github Homepage: https://github.com/overviewer/Minecraft-Overviewer
|
||||
|
||||
Introduction
|
||||
============
|
||||
The Minecraft Overviewer is a command-line tool for rendering high-resolution
|
||||
@@ -54,8 +58,9 @@ Windows, Mac, and Linux as long as you have these software packages installed:
|
||||
|
||||
* Either a Minecraft Client installed or a terrain.png for the textures.
|
||||
|
||||
There are additional requirements for compiling it. More details are available
|
||||
in either the :doc:`Building <building>` or :doc:`Installing <installing>` pages.
|
||||
The first three are included in the Windows download. Also, there are additional
|
||||
requirements for compiling it (like a compiler). More details are available in
|
||||
either the :doc:`Building <building>` or :doc:`Installing <installing>` pages.
|
||||
|
||||
Getting Started
|
||||
===============
|
||||
@@ -71,7 +76,9 @@ packages and don't want to have to compile anything yourself**, head to the
|
||||
**If you would like to build the Overviewer from source yourself (it's not that
|
||||
bad)**, head to the :doc:`Building <building>` page.
|
||||
|
||||
.. _Github Homepage: https://github.com/overviewer/Minecraft-Overviewer
|
||||
**For all other platforms** you will need to build it yourself.
|
||||
:doc:`building`.
|
||||
|
||||
|
||||
Help
|
||||
====
|
||||
@@ -92,8 +99,8 @@ Documentation Contents
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
building
|
||||
installing
|
||||
building
|
||||
running
|
||||
options
|
||||
faq
|
||||
|
||||
@@ -3,8 +3,9 @@ Installing
|
||||
==========
|
||||
|
||||
This page is for installing the pre-compiled binary versions of the Overviewer.
|
||||
If you have built the Overviewer from source yourself, head back to
|
||||
:doc:`Building <building>`.
|
||||
If you want to build the Overviewer from source yourself, head to :doc:`Building
|
||||
<building>`. If you have already built The Overviewer, proceed to
|
||||
:doc:`running`.
|
||||
|
||||
|
||||
Windows
|
||||
@@ -18,8 +19,7 @@ right place!
|
||||
|
||||
For 64 bit, you'll want these instead: `VC++ 2008 <http://www.microsoft.com/downloads/en/details.aspx?familyid=bd2a6171-e2d6-4230-b809-9a8d7548c1b6>`_ and `VC++ 2010 <http://www.microsoft.com/download/en/details.aspx?id=14632>`_
|
||||
|
||||
3. That's it! Proceed with instructions on :doc:`Running <running>` the
|
||||
Overviewer.
|
||||
3. That's it! Proceed with instructions on :doc:`running`.
|
||||
|
||||
Debian / Ubuntu
|
||||
===============
|
||||
|
||||
@@ -137,3 +137,23 @@ modification times intact, use ``cp -p``. For people who render from backups,
|
||||
GNU ``tar`` automatically handles modification times correctly. ``rsync -a``
|
||||
will handle this correctly as well. If you use some other tool, you'll have to
|
||||
figure out how to do this yourself.
|
||||
|
||||
Biome Support
|
||||
=============
|
||||
|
||||
Minecraft Overviewer has support for using the biome info from the `Minecraft
|
||||
Biome Extractor`_. If you run the biome extractor on your world, during the
|
||||
next run Overviewer will automatically recognize the biome info and use it to
|
||||
colorize your grass and leaves appropriately. This will only appear on updated
|
||||
chunks, though; to colorize the entire world you will need to re-render from
|
||||
scratch by using :option:`--forcerender`
|
||||
|
||||
.. note::
|
||||
|
||||
as of Minecraft 1.8, you currently need to use a patched Biome Extractor
|
||||
that can be found `here
|
||||
<http://www.minecraftforum.net/topic/76063-minecraft-biome-extractor-add-biome-support-to-your-mapper/page__st__140__gopid__8431028#entry8431028>`_,
|
||||
or `here on GitHub
|
||||
<https://github.com/overviewer/minecraft-biome-extractor>`_.
|
||||
|
||||
.. _Minecraft Biome Extractor: http://www.minecraftforum.net/viewtopic.php?f=25&t=80902
|
||||
|
||||
@@ -15,7 +15,25 @@
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with the Overviewer. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import platform
|
||||
import sys
|
||||
|
||||
if platform.system() == 'Windows':
|
||||
try:
|
||||
import ctypes
|
||||
GetConsoleProcessList = ctypes.windll.kernel32.GetConsoleProcessList
|
||||
num = GetConsoleProcessList(ctypes.byref(ctypes.c_int(0)), ctypes.c_int(1))
|
||||
if (num == 1):
|
||||
print "The Overviewer is a console program. Please open a Windows command prompt"
|
||||
print "first and run Overviewer from there. Further documentation is available at"
|
||||
print "http://docs.overviewer.org/\n"
|
||||
print "Press [Enter] to close this window."
|
||||
raw_input()
|
||||
sys.exit(1)
|
||||
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
if not (sys.version_info[0] == 2 and sys.version_info[1] >= 6):
|
||||
print "Sorry, the Overviewer requires at least Python 2.6 to run"
|
||||
if sys.version_info[0] >= 3:
|
||||
@@ -29,7 +47,6 @@ import subprocess
|
||||
import multiprocessing
|
||||
import time
|
||||
import logging
|
||||
import platform
|
||||
from overviewer_core import util
|
||||
|
||||
logging.basicConfig(level=logging.INFO,format="%(asctime)s [%(levelname)s] %(message)s")
|
||||
@@ -139,7 +156,7 @@ def main():
|
||||
print "Git commit: %s" % overviewer_version.HASH
|
||||
print "built on %s" % overviewer_version.BUILD_DATE
|
||||
print "Build machine: %s %s" % (overviewer_version.BUILD_PLATFORM, overviewer_version.BUILD_OS)
|
||||
except:
|
||||
except Exception:
|
||||
print "version info not found"
|
||||
pass
|
||||
sys.exit(0)
|
||||
|
||||
@@ -125,27 +125,6 @@ def get_tileentity_data(level):
|
||||
data = level['TileEntities']
|
||||
return data
|
||||
|
||||
# This set holds blocks ids that can be seen through, for occlusion calculations
|
||||
transparent_blocks = set([ 0, 6, 8, 9, 18, 20, 26, 27, 28, 29, 30, 31, 32, 33,
|
||||
34, 37, 38, 39, 40, 44, 50, 51, 52, 53, 55, 59, 63, 64,
|
||||
65, 66, 67, 68, 69, 70, 71, 72, 74, 75, 76, 77, 78, 79,
|
||||
81, 83, 85, 90, 92, 93, 94, 96, 101, 102, 104, 105,
|
||||
106, 107, 108, 109, 111, 113, 114, 115, 116, 117, 118,
|
||||
119, 120])
|
||||
|
||||
# This set holds block ids that are solid blocks
|
||||
solid_blocks = set([1, 2, 3, 4, 5, 7, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
||||
23, 24, 25, 35, 41, 42, 43, 44, 45, 46, 47, 48, 49, 53, 54, 56, 57, 58, 60,
|
||||
61, 62, 67, 73, 74, 78, 79, 80, 81, 82, 84, 86, 87, 88, 89, 91, 95, 97, 98,
|
||||
99, 100, 103, 108, 109, 110, 112, 114, 121])
|
||||
|
||||
# This set holds block ids that are fluid blocks
|
||||
fluid_blocks = set([8,9,10,11])
|
||||
|
||||
# This set holds block ids that are not candidates for spawning mobs on
|
||||
# (glass, slabs, stairs, fluids, ice, pistons, webs,TNT, wheat, cactus, iron bars, glass planes, fences, fence gate, cake, bed, repeaters, trapdoor)
|
||||
nospawn_blocks = set([20,26, 29, 30, 33, 34, 44, 46, 53, 59, 67, 79, 81, 85, 92, 93, 94, 96, 107, 109, 101, 102]).union(fluid_blocks)
|
||||
|
||||
class ChunkCorrupt(Exception):
|
||||
pass
|
||||
|
||||
@@ -414,7 +393,7 @@ def generate_facemasks():
|
||||
left = Image.new("L", (24,24), 0)
|
||||
whole = Image.new("L", (24,24), 0)
|
||||
|
||||
toppart = textures.transform_image(white)
|
||||
toppart = textures.transform_image_top(white)
|
||||
leftpart = textures.transform_image_side(white)
|
||||
|
||||
# using the real PIL paste here (not alpha_over) because there is
|
||||
|
||||
@@ -196,7 +196,7 @@ class ConfigOptionParser(object):
|
||||
sys.exit(1)
|
||||
return value
|
||||
elif a['type'] == "float":
|
||||
return long(value)
|
||||
return float(value)
|
||||
elif a['type'] == "complex":
|
||||
return complex(value)
|
||||
elif a['type'] == "function":
|
||||
|
||||
@@ -261,6 +261,9 @@ var overviewer = {
|
||||
google.maps.event.addListener(overviewer.map, 'zoom_changed', function() {
|
||||
overviewer.util.updateHash();
|
||||
});
|
||||
google.maps.event.addListener(overviewer.map, 'dblclick', function() {
|
||||
overviewer.util.updateHash();
|
||||
});
|
||||
|
||||
// Make the link again whenever the map changes
|
||||
google.maps.event.addListener(overviewer.map, 'maptypeid_changed', function() {
|
||||
|
||||
@@ -20,8 +20,7 @@
|
||||
static PyObject *textures = NULL;
|
||||
static PyObject *chunk_mod = NULL;
|
||||
static PyObject *blockmap = NULL;
|
||||
static PyObject *special_blocks = NULL;
|
||||
static PyObject *specialblockmap = NULL;
|
||||
static PyObject *known_blocks = NULL;
|
||||
static PyObject *transparent_blocks = NULL;
|
||||
|
||||
PyObject *init_chunk_render(PyObject *self, PyObject *args) {
|
||||
@@ -47,13 +46,10 @@ PyObject *init_chunk_render(PyObject *self, PyObject *args) {
|
||||
blockmap = PyObject_GetAttrString(textures, "blockmap");
|
||||
if (!blockmap)
|
||||
return NULL;
|
||||
special_blocks = PyObject_GetAttrString(textures, "special_blocks");
|
||||
if (!special_blocks)
|
||||
known_blocks = PyObject_GetAttrString(textures, "known_blocks");
|
||||
if (!known_blocks)
|
||||
return NULL;
|
||||
specialblockmap = PyObject_GetAttrString(textures, "specialblockmap");
|
||||
if (!specialblockmap)
|
||||
return NULL;
|
||||
transparent_blocks = PyObject_GetAttrString(chunk_mod, "transparent_blocks");
|
||||
transparent_blocks = PyObject_GetAttrString(textures, "transparent_blocks");
|
||||
if (!transparent_blocks)
|
||||
return NULL;
|
||||
|
||||
@@ -64,6 +60,10 @@ int
|
||||
is_transparent(unsigned char b) {
|
||||
PyObject *block = PyInt_FromLong(b);
|
||||
int ret = PySequence_Contains(transparent_blocks, block);
|
||||
if (!ret)
|
||||
{
|
||||
ret = !(PySequence_Contains(known_blocks, block));
|
||||
}
|
||||
Py_DECREF(block);
|
||||
return ret;
|
||||
|
||||
@@ -381,6 +381,9 @@ chunk_render(PyObject *self, PyObject *args) {
|
||||
state.imgy = yoff - state.x*6 + state.y*6 + 128*12 + 15*6;
|
||||
|
||||
for (state.z = 0; state.z < 128; state.z++) {
|
||||
PyObject *tmp;
|
||||
unsigned char ancilData;
|
||||
|
||||
state.imgy -= 12;
|
||||
|
||||
/* get blockid */
|
||||
@@ -404,21 +407,14 @@ chunk_render(PyObject *self, PyObject *args) {
|
||||
}
|
||||
blockid = PyInt_FromLong(state.block);
|
||||
|
||||
// check for occlusion
|
||||
/* check for occlusion */
|
||||
if (render_mode_occluded(rendermode, state.x, state.y, state.z)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// everything stored here will be a borrowed ref
|
||||
/* everything stored here will be a borrowed ref */
|
||||
|
||||
/* get the texture and mask from block type / ancil. data */
|
||||
if (!PySequence_Contains(special_blocks, blockid)) {
|
||||
/* t = textures.blockmap[blockid] */
|
||||
t = PyList_GetItem(blockmap, state.block);
|
||||
} else {
|
||||
PyObject *tmp;
|
||||
|
||||
unsigned char ancilData = getArrayByte3D(state.blockdata_expanded, state.x, state.y, state.z);
|
||||
ancilData = getArrayByte3D(state.blockdata_expanded, state.x, state.y, state.z);
|
||||
state.block_data = ancilData;
|
||||
/* block that need pseudo ancildata:
|
||||
* grass, water, glass, chest, restone wire,
|
||||
@@ -442,9 +438,8 @@ chunk_render(PyObject *self, PyObject *args) {
|
||||
PyTuple_SetItem(tmp, 1, PyInt_FromLong(ancilData));
|
||||
|
||||
/* this is a borrowed reference. no need to decref */
|
||||
t = PyDict_GetItem(specialblockmap, tmp);
|
||||
t = PyDict_GetItem(blockmap, tmp);
|
||||
Py_DECREF(tmp);
|
||||
}
|
||||
|
||||
/* if we found a proper texture, render it! */
|
||||
if (t != NULL && t != Py_None)
|
||||
@@ -452,8 +447,8 @@ chunk_render(PyObject *self, PyObject *args) {
|
||||
PyObject *src, *mask, *mask_light;
|
||||
int randx = 0, randy = 0;
|
||||
src = PyTuple_GetItem(t, 0);
|
||||
mask = PyTuple_GetItem(t, 1);
|
||||
mask_light = PyTuple_GetItem(t, 2);
|
||||
mask = PyTuple_GetItem(t, 0);
|
||||
mask_light = PyTuple_GetItem(t, 1);
|
||||
|
||||
if (mask == Py_None)
|
||||
mask = src;
|
||||
|
||||
@@ -38,8 +38,8 @@ rendermode_overlay_start(void *data, RenderState *state, PyObject *options) {
|
||||
|
||||
self->white_color = PyObject_GetAttrString(state->chunk, "white_color");
|
||||
|
||||
self->solid_blocks = PyObject_GetAttrString(state->chunk, "solid_blocks");
|
||||
self->fluid_blocks = PyObject_GetAttrString(state->chunk, "fluid_blocks");
|
||||
self->solid_blocks = PyObject_GetAttrString(state->textures, "solid_blocks");
|
||||
self->fluid_blocks = PyObject_GetAttrString(state->textures, "fluid_blocks");
|
||||
|
||||
self->get_color = get_color;
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ rendermode_spawn_start(void *data, RenderState *state, PyObject *options) {
|
||||
|
||||
/* now do custom initializations */
|
||||
self = (RenderModeSpawn *)data;
|
||||
self->nospawn_blocks = PyObject_GetAttrString(state->chunk, "nospawn_blocks");
|
||||
self->nospawn_blocks = PyObject_GetAttrString(state->textures, "nospawn_blocks");
|
||||
self->blocklight = PyObject_GetAttrString(state->self, "blocklight");
|
||||
self->skylight = PyObject_GetAttrString(state->self, "skylight");
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ def findGitHash():
|
||||
try:
|
||||
import overviewer_version
|
||||
return overviewer_version.HASH
|
||||
except:
|
||||
except Exception:
|
||||
return "unknown"
|
||||
|
||||
def findGitVersion():
|
||||
@@ -68,9 +68,9 @@ def findGitVersion():
|
||||
# and 0.1.3 into 0.1.3
|
||||
line = '-'.join(line.split('-', 2)[:2])
|
||||
return line.strip()
|
||||
except:
|
||||
except Exception:
|
||||
try:
|
||||
import overviewer_version
|
||||
return overviewer_version.VERSION
|
||||
except:
|
||||
except Exception:
|
||||
return "unknown"
|
||||
|
||||
@@ -267,6 +267,12 @@ class World(object):
|
||||
chunkX = spawnX/16
|
||||
chunkY = spawnZ/16
|
||||
|
||||
## clamp spawnY to a sane value, in-chunk value
|
||||
if spawnY < 0:
|
||||
spawnY = 0
|
||||
if spawnY > 127:
|
||||
spawnY = 127
|
||||
|
||||
try:
|
||||
## The filename of this chunk
|
||||
chunkFile = self.get_region_path(chunkX, chunkY)
|
||||
|
||||
4
setup.py
@@ -142,7 +142,7 @@ except AttributeError:
|
||||
|
||||
try:
|
||||
pil_include = os.environ['PIL_INCLUDE_DIR'].split(os.pathsep)
|
||||
except:
|
||||
except Exception:
|
||||
pil_include = [ os.path.join(get_python_inc(plat_specific=1), 'Imaging') ]
|
||||
if not os.path.exists(pil_include[0]):
|
||||
pil_include = [ ]
|
||||
@@ -221,7 +221,7 @@ def generate_version_py():
|
||||
f = open("overviewer_core/overviewer_version.py", "w")
|
||||
f.write(outstr)
|
||||
f.close()
|
||||
except:
|
||||
except Exception:
|
||||
print "WARNING: failed to build overviewer_version file"
|
||||
|
||||
class CustomSDist(sdist):
|
||||
|
||||