0

wrote chunk rendering section of the design docs

This commit is contained in:
Andrew Brown
2011-10-06 23:15:18 -04:00
parent 8904e20f21
commit 7f82a5e91a
19 changed files with 12147 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,286 @@
<?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="215.06604"
height="134.61028"
id="svg2"
version="1.1"
inkscape:version="0.48.1 r9760"
sodipodi:docname="cube_horizontal_offset.svg"
inkscape:export-filename="/home/andrew/mc/overviewer/docs/design/cubepositionimgs/cube_horizontal_offset.png"
inkscape:export-xdpi="90.015251"
inkscape:export-ydpi="90.015251">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.8284272"
inkscape:cx="196.05813"
inkscape:cy="47.86508"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
showguides="true"
inkscape:snap-global="true"
inkscape:window-width="1920"
inkscape:window-height="1003"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
showborder="false"
inkscape:guide-bbox="true">
<inkscape:grid
type="xygrid"
id="grid3755"
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"
transform="translate(182.57291,-428.70349)">
<text
xml:space="preserve"
style="font-size:20px;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="-137.07291"
y="443.54724"
id="text3412"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3414"
x="-137.07291"
y="443.54724">24</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -112.07291,438.54726 38.000003,0"
id="path3416"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -142.07291,438.54726 -40,0"
id="path3418"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -182.07291,433.54726 0,10"
id="path3420"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -74.072907,433.54726 0,10"
id="path3422"
inkscape:connector-curvature="0" />
<g
id="g3792"
transform="translate(18.966966,-155.2665)">
<rect
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)"
y="771.25336"
x="608.28253"
height="59.181324"
width="59.181324"
id="rect3021"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="rect3021-2"
d="m -93.006853,691.08025 -53.032997,26.2665 -53.03301,-26.2665"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041"
d="m -199.03985,638.81375 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-4"
d="m -93.039853,638.81375 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-0"
d="m -146.03985,664.81375 0,53"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g3792-6"
transform="translate(124.99998,-154.99999)">
<rect
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)"
y="771.25336"
x="608.28253"
height="59.181324"
width="59.181324"
id="rect3021-0"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="rect3021-2-5"
d="m -93.006853,691.08025 -53.032997,26.2665 -53.03301,-26.2665"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-02"
d="m -199.03985,638.81375 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-4-9"
d="m -93.039853,638.81375 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-0-4"
d="m -146.03985,664.81375 0,53"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g3792-6-3"
transform="translate(293.46696,-178.96697)">
<rect
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)"
y="771.25336"
x="608.28253"
height="59.181324"
width="59.181324"
id="rect3021-0-0"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="rect3021-2-5-3"
d="m -93.006853,691.08025 -53.032997,26.2665 -53.03301,-26.2665"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-02-0"
d="m -199.03985,638.81375 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-4-9-9"
d="m -93.039853,638.81375 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-0-4-2"
d="m -146.03985,664.81375 0,53"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g3792-6-9"
transform="translate(293.46698,-126.43396)">
<rect
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)"
y="771.25336"
x="608.28253"
height="59.181324"
width="59.181324"
id="rect3021-0-4"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="rect3021-2-5-6"
d="m -93.006853,691.08025 -53.032997,26.2665 -53.03301,-26.2665"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-02-9"
d="m -199.03985,638.81375 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-4-9-2"
d="m -93.039853,638.81375 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-0-4-24"
d="m -146.03985,664.81375 0,53"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<text
xml:space="preserve"
style="font-size:20px;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="208.42709"
y="466.31375"
id="text3772"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3774"
x="208.42709"
y="466.31375">12</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 222.42709,433.31377 0,12.99999"
id="path3776"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 400,4.6102753 10,0"
id="path3778"
inkscape:connector-curvature="0"
transform="translate(-182.57291,428.70349)" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 405,39.610275 0,17"
id="path3780"
inkscape:connector-curvature="0"
transform="translate(-182.57291,428.70349)" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 400,56.610275 10,0"
id="path3782"
inkscape:connector-curvature="0"
transform="translate(-182.57291,428.70349)" />
<rect
style="fill:none;stroke:#00ff00;stroke-width:0.5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="rect4554"
width="106.39062"
height="104.99996"
x="-73.963531"
y="457.31375" />
<rect
style="fill:none;stroke:#00ff00;stroke-width:0.5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="rect4554-4"
width="106.39062"
height="104.99996"
x="94.036476"
y="485.31375" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,418 @@
<?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="215.06604"
height="134.61028"
id="svg2"
version="1.1"
inkscape:version="0.48.1 r9760"
sodipodi:docname="cube_measurements.svg"
inkscape:export-filename="/home/andrew/mc/overviewer/docs/design/cubepositionimgs/cube_measurements.png"
inkscape:export-xdpi="100.02"
inkscape:export-ydpi="100.02">
<defs
id="defs4">
<marker
inkscape:stockid="Arrow1Mend"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Mend"
style="overflow:visible;">
<path
id="path3809"
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>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.8284272"
inkscape:cx="88.787808"
inkscape:cy="39.780751"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
showguides="true"
inkscape:snap-global="true"
inkscape:window-width="1920"
inkscape:window-height="1003"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
showborder="false"
inkscape:guide-bbox="true">
<inkscape:grid
type="xygrid"
id="grid3755"
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"
transform="translate(182.57291,-428.70349)">
<g
id="g3792-6"
transform="translate(11.46694,-150.49998)"
style="fill:none">
<rect
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)"
y="771.25336"
x="608.28253"
height="59.181324"
width="59.181324"
id="rect3021-0"
style="fill:none;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="rect3021-2-5"
d="m -93.006853,691.08025 -53.032997,26.2665 -53.03301,-26.2665"
style="fill:none;stroke:#000000;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-02"
d="m -199.03985,638.81375 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-4-9"
d="m -93.039853,638.81375 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-0-4"
d="m -146.03985,664.81375 0,53"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="rect3021-2-5-2"
d="m -81.53991,541.58027 -53.033,-26.2665 -53.03301,26.2665"
style="fill:none;stroke:#000000;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1, 3;stroke-dashoffset:1.4" />
<text
xml:space="preserve"
style="font-size:20px;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="-222.57291"
y="523.31378"
id="text4492"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4494"
x="-222.57291"
y="523.31378">24</tspan></text>
<text
xml:space="preserve"
style="font-size:20px;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="-146.57291"
y="453.31375"
id="text4496"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4498"
x="-146.57291"
y="453.31375">24</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -25,99.610275 0,38.000005"
id="path4500"
inkscape:connector-curvature="0"
transform="translate(-182.57291,428.70349)" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -207.57291,506.31377 0,-45.00001"
id="path4502"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -212.57291,461.31377 10,0"
id="path4504"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -30,137.61028 10,0"
id="path4506"
inkscape:connector-curvature="0"
transform="translate(-182.57291,428.70349)" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -148.57291,446.31376 -40,0"
id="path4529"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -6,12.610275 0,10"
id="path4531"
inkscape:connector-curvature="0"
transform="translate(-182.57291,428.70349)" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -119.57292,446.31377 38.000006,0"
id="path4529-9"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -81.57291,441.31377 0,10"
id="path4531-8"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:16px;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="-72.572906"
y="559.31378"
id="text4554"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4556"
x="-72.572906"
y="559.31378">6</tspan></text>
<text
xml:space="preserve"
style="font-size:16px;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="-77.572906"
y="519.31378"
id="text4554-3"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4556-1"
x="-77.572906"
y="519.31378">12</tspan></text>
<text
xml:space="preserve"
style="font-size:16px;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="-72.572906"
y="482.31375"
id="text4554-5"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4556-7"
x="-72.572906"
y="482.31375">6</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -67.57291,566.31377 0,-6"
id="path4588"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -67.57291,545.31374 0,-23"
id="path4590"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -67.57291,506.31377 0,-23.00001"
id="path4592"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -67.57291,469.31376 0,-8"
id="path4594"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 110,32.610275 10,0"
id="path4596"
inkscape:connector-curvature="0"
transform="translate(-182.57291,428.70349)" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -72.57291,488.31377 10,0"
id="path4596-1"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -72.57291,540.31377 10,0"
id="path4596-7"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -72.57291,566.31377 10,0"
id="path4596-72"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#ff0000;stroke-width:0.50000000000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="m 182,85.610275 63,0"
id="path4763"
inkscape:connector-curvature="0"
transform="translate(-182.57291,428.70349)" />
<g
id="g3792-6-5"
transform="translate(145.46694,-150.49998)"
style="fill:none">
<rect
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)"
y="771.25336"
x="608.28253"
height="59.181324"
width="59.181324"
id="rect3021-0-9"
style="fill:none;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="rect3021-2-5-3"
d="m -93.006853,691.08025 -53.032997,26.2665 -53.03301,-26.2665"
style="fill:none;stroke:#000000;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-02-3"
d="m -199.03985,638.81375 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-4-9-0"
d="m -93.039853,638.81375 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-0-4-6"
d="m -146.03985,664.81375 0,53"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="rect3021-2-5-2-5"
d="m 52.46009,540.58027 -53.033,-26.2665 -53.03301,26.2665"
style="fill:none;stroke:#000000;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1, 3;stroke-dashoffset:1.4" />
<text
xml:space="preserve"
style="font-size:16px;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="57.42709"
y="491.31375"
id="text4554-3-5"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4556-1-0"
x="57.42709"
y="491.31375">12</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 67.42709,533.31378 0,-41"
id="path4590-2"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 67.42709,477.31377 0,-16"
id="path4592-3"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 62.42709,461.31377 10,0"
id="path4596-1-8"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 62.42709,514.31377 10,0"
id="path4596-7-3"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:16px;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="57.42709"
y="548.31378"
id="text4554-3-5-3"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4556-1-0-0"
x="57.42709"
y="548.31378">12</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:0.99999988px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 67.42709,566.31376 0,-15"
id="path4590-2-7"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 62.42709,566.31377 10,0"
id="path4596-7-3-7"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:16px;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="-117.57291"
y="588.31378"
id="text4554-3-0"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4556-1-4"
x="-117.57291"
y="588.31378">12</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -117.57291,583.31377 -32,0"
id="path4529-0"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -134.57291,578.31378 0,10"
id="path4531-6"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -81.57291,583.31377 -16,0"
id="path4529-0-1"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -81.57291,578.31377 0,10"
id="path4531-6-9"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:16px;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="-170.57291"
y="588.31378"
id="text4554-3-0-2"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4556-1-4-1"
x="-170.57291"
y="588.31378">12</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -171.57291,583.31377 -17,0"
id="path4529-0-8"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -188.57291,578.31378 0,10"
id="path4531-6-3"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@@ -0,0 +1,207 @@
<?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="215.06604"
height="134.61028"
id="svg2"
version="1.1"
inkscape:version="0.48.1 r9760"
sodipodi:docname="cube_neighbors.svg"
inkscape:export-filename="/home/andrew/mc/overviewer/docs/design/cubepositionimgs/cube_horizontal_offset.png"
inkscape:export-xdpi="90.015251"
inkscape:export-ydpi="90.015251">
<defs
id="defs4">
<marker
inkscape:stockid="Arrow1Mend"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Mend"
style="overflow:visible;">
<path
id="path3809"
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>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="4.0000001"
inkscape:cx="40.272617"
inkscape:cy="42.648017"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
showguides="true"
inkscape:snap-global="true"
inkscape:window-width="1920"
inkscape:window-height="1003"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
showborder="false"
inkscape:guide-bbox="true">
<inkscape:grid
type="xygrid"
id="grid3755"
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"
transform="translate(182.57291,-428.70349)">
<path
style="fill:none;stroke:#ff0000;stroke-width:0.50000000000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="m 3,54.610275 0,-40"
id="path4245"
inkscape:connector-curvature="0"
transform="translate(-182.57291,428.70349)" />
<path
style="fill:none;stroke:#ff0000;stroke-width:0.50000000000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="m 56,27.610275 54,0"
id="path4449"
inkscape:connector-curvature="0"
transform="translate(-182.57291,428.70349)" />
<g
id="g3792"
transform="translate(19.466963,-155.49999)">
<rect
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)"
y="771.25336"
x="608.28253"
height="59.181324"
width="59.181324"
id="rect3021"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="rect3021-2"
d="m -146.03985,717.34675 -53.03301,-26.2665"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041"
d="m -199.03985,638.81375 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-0"
d="m -146.03985,664.81375 0,53"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<path
style="fill:none;stroke:#ff0000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m -126.57291,484.31376 0,-41"
id="path4245-1"
inkscape:connector-curvature="0" />
<g
id="g3792-6"
transform="translate(72.46694,-129.49998)"
style="fill:none">
<rect
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)"
y="771.25336"
x="608.28253"
height="59.181324"
width="59.181324"
id="rect3021-0"
style="fill:none;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="rect3021-2-5"
d="m -93.006853,691.08025 -53.032997,26.2665 -53.03301,-26.2665"
style="fill:none;stroke:#000000;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-02"
d="m -199.03985,638.81375 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-4-9"
d="m -93.039853,638.81375 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-0-4"
d="m -146.03985,664.81375 0,53"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<rect
style="fill:none;stroke:#00ff00;stroke-width:0.5;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
id="rect3793"
width="106.06067"
height="105.15029"
x="-126.60065"
y="482.87625" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
d="m -179.57291,443.31377 52,0"
id="path3795"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:20px;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="-167.57291"
y="438.31375"
id="text4241"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4243"
x="-167.57291"
y="438.31375">12</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
d="m -72.57291,456.31377 0,25"
id="path4265"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:20px;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="-67.572906"
y="473.31375"
id="text4451"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4453"
x="-67.572906"
y="473.31375">6</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -0,0 +1,183 @@
<?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="198.70314"
height="159.68738"
id="svg2"
version="1.1"
inkscape:version="0.48.1 r9760"
sodipodi:docname="cube_stacking.svg"
inkscape:export-filename="/home/andrew/mc/overviewer/docs/design/cubepositionimgs/cube_stacking.png"
inkscape:export-xdpi="144.41595"
inkscape:export-ydpi="144.41595">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.8284271"
inkscape:cx="48.782895"
inkscape:cy="101.25197"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
showguides="true"
inkscape:snap-global="true"
inkscape:window-width="1920"
inkscape:window-height="1003"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
showborder="false"
inkscape:guide-bbox="true">
<inkscape:grid
type="xygrid"
id="grid3755"
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"
transform="translate(-33.675018,-237.79787)">
<text
xml:space="preserve"
style="font-size:20px;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="179.47775"
y="272.98526"
id="text4396-7"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4398-45"
x="179.47775"
y="272.98526">12</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 192.0422,258.29789 0,-19.99994"
id="path4400-5"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 187.0422,238.2979 10,0"
id="path4402-7"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 192.0422,290.98525 0,-16.68735"
id="path4406-4"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 187.0422,290.98523 10,0"
id="path4408-91"
inkscape:connector-curvature="0" />
<g
id="g3832"
transform="translate(-165,167)">
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="rect3021-2"
d="m 417.85207,40.096489 0,59.181324 -59.18132,0"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)" />
<path
inkscape:connector-curvature="0"
id="path3041"
d="m 232.47775,150.98525 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-4"
d="m 338.47775,150.98525 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-0"
d="m 285.47775,176.98525 0,53"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g4838"
transform="translate(-297.99998,125.53302)">
<path
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1, 1;stroke-dashoffset:0;marker-start:none"
d="m 471.51075,192.25175 -53.033,-26.2665 -53.03301,26.2665"
id="rect3021-2-1-5"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" />
<g
id="g3832-0"
transform="translate(133,-11.000002)">
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="rect3021-8"
width="59.181324"
height="59.181324"
x="299.48941"
y="-19.084835"
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)" />
<path
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
d="m 417.85207,40.096489 0,59.181324 -59.18132,0"
id="rect3021-2-1"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 232.47775,150.98525 0,52"
id="path3041-02"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 338.47775,150.98525 0,52"
id="path3041-4-2"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 285.47775,176.98525 0,53"
id="path3041-0-9"
inkscape:connector-curvature="0" />
</g>
</g>
<rect
style="fill:none;stroke:#00ff02;stroke-width:0.5;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
id="rect4847"
width="106"
height="105.71874"
x="67.477753"
y="290.98526" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@@ -0,0 +1,490 @@
<?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="436.54492"
height="484.69528"
id="svg2"
version="1.1"
inkscape:version="0.48.1 r9760"
sodipodi:docname="cube_stack128.svg"
inkscape:export-filename="/home/andrew/mc/overviewer/docs/design/cuberenderimgs/cube_stack128.png"
inkscape:export-xdpi="90.016075"
inkscape:export-ydpi="90.016075">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.4142136"
inkscape:cx="194.46598"
inkscape:cy="191.56651"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
showguides="true"
inkscape:snap-global="true"
inkscape:window-width="1920"
inkscape:window-height="1003"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
showborder="false"
inkscape:guide-bbox="true">
<inkscape:grid
type="xygrid"
id="grid3755"
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"
transform="translate(144.30527,-229.28993)">
<path
sodipodi:type="arc"
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="path8485"
sodipodi:cx="185"
sodipodi:cy="305.95663"
sodipodi:rx="5"
sodipodi:ry="5"
d="m 190,305.95663 c 0,2.76143 -2.23858,5 -5,5 -2.76142,0 -5,-2.23857 -5,-5 0,-2.76142 2.23858,-5 5,-5 2.76142,0 5,2.23858 5,5 z"
transform="matrix(0.5,0,0,0.5,-5.055293,308.5069)" />
<path
sodipodi:type="arc"
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="path8485-1"
sodipodi:cx="185"
sodipodi:cy="305.95663"
sodipodi:rx="5"
sodipodi:ry="5"
d="m 190,305.95663 c 0,2.76143 -2.23858,5 -5,5 -2.76142,0 -5,-2.23857 -5,-5 0,-2.76142 2.23858,-5 5,-5 2.76142,0 5,2.23858 5,5 z"
transform="matrix(0.5,0,0,0.5,-5.055293,323.5069)" />
<path
sodipodi:type="arc"
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="path8485-1-5"
sodipodi:cx="185"
sodipodi:cy="305.95663"
sodipodi:rx="5"
sodipodi:ry="5"
d="m 190,305.95663 c 0,2.76143 -2.23858,5 -5,5 -2.76142,0 -5,-2.23857 -5,-5 0,-2.76142 2.23858,-5 5,-5 2.76142,0 5,2.23858 5,5 z"
transform="matrix(0.5,0,0,0.5,-5.055293,338.5069)" />
<g
id="g3832"
transform="translate(-198.53304,165.96697)">
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="rect3021-2"
d="m 417.85207,40.096489 0,59.181324 -59.18132,0"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)" />
<path
inkscape:connector-curvature="0"
id="path3041"
d="m 232.47775,150.98525 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-4"
d="m 338.47775,150.98525 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-0"
d="m 285.47775,176.98525 0,53"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g4838"
transform="translate(-331.53302,124.49999)">
<g
id="g3832-0"
transform="translate(133,-11.000002)">
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="rect3021-8"
width="59.181324"
height="59.181324"
x="299.48941"
y="-19.084835"
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)" />
<path
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
d="m 417.85207,40.096489 0,59.181324 -59.18132,0"
id="rect3021-2-1"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 232.47775,150.98525 0,52"
id="path3041-02"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 338.47775,150.98525 0,52"
id="path3041-4-2"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 285.47775,176.98525 0,53"
id="path3041-0-9"
inkscape:connector-curvature="0" />
</g>
</g>
<g
id="g3832-5"
transform="translate(-198.53304,215.96697)">
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="rect3021-2-7"
d="m 417.85207,40.096489 0,59.181324 -59.18132,0"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)" />
<path
inkscape:connector-curvature="0"
id="path3041-41"
d="m 232.47775,150.98525 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-4-8"
d="m 338.47775,150.98525 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-0-5"
d="m 285.47775,176.98525 0,53"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g3832-9"
transform="translate(-198.53306,433.49997)">
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="rect3021-2-75"
d="m 417.85207,40.096489 0,59.181324 -59.18132,0"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)" />
<path
inkscape:connector-curvature="0"
id="path3041-3"
d="m 232.47775,150.98525 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-4-88"
d="m 338.47775,150.98525 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-0-3"
d="m 285.47775,176.98525 0,53"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g4838-1"
transform="translate(-331.53303,392.03299)">
<g
id="g3832-0-9"
transform="translate(133,-11.000002)">
<rect
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="rect3021-8-6"
width="59.181324"
height="59.181324"
x="299.48941"
y="-19.084835"
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)" />
<path
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
d="m 417.85207,40.096489 0,59.181324 -59.18132,0"
id="rect3021-2-1-4"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 232.47775,150.98525 0,52"
id="path3041-02-3"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 338.47775,150.98525 0,52"
id="path3041-4-2-3"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 285.47775,176.98525 0,53"
id="path3041-0-9-3"
inkscape:connector-curvature="0" />
</g>
</g>
<g
id="g3832-5-8"
transform="translate(-198.53306,483.49997)">
<path
sodipodi:nodetypes="ccc"
inkscape:connector-curvature="0"
id="rect3021-2-7-6"
d="m 417.85207,40.096489 0,59.181324 -59.18132,0"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1.12123179;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
transform="matrix(0.89611053,0.44383096,-0.89611053,0.44383096,0,0)" />
<path
inkscape:connector-curvature="0"
id="path3041-41-0"
d="m 232.47775,150.98525 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-4-8-4"
d="m 338.47775,150.98525 0,52"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3041-0-5-8"
d="m 285.47775,176.98525 0,53"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<path
style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1, 2;stroke-dashoffset:0"
d="m 33.944724,419.01824 0,113"
id="path3362"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1, 2;stroke-dashoffset:0"
d="m 139.94472,419.01824 0,113"
id="path3362-1"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:20px;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="-57.055267"
y="244.48524"
id="text3228"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3230"
x="-57.055267"
y="244.48524">Y Offset</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -58.80527,249.23523 80,0"
id="path3232"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:20px;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="-27.411713"
y="294.48523"
id="text3234"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3236"
x="-27.411713"
y="294.48523">0</tspan></text>
<text
xml:space="preserve"
style="font-size:20px;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="-33.881439"
y="339.48523"
id="text3238"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3240"
x="-33.881439"
y="339.48523">12</tspan></text>
<text
xml:space="preserve"
style="font-size:20px;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="-33.954681"
y="404.48523"
id="text3242"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3244"
x="-33.954681"
y="404.48523">24</tspan></text>
<text
xml:space="preserve"
style="font-size:20px;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="-142.30527"
y="244.48524"
id="text3246"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3248"
x="-142.30527"
y="244.48524">Block #</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -143.80527,249.23523 80,0"
id="path3232-6"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:20px;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="-99.0914"
y="294.48523"
id="text3234-6"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3236-0"
x="-99.0914"
y="294.48523">0</tspan></text>
<text
xml:space="preserve"
style="font-size:20px;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="-99.272057"
y="339.48523"
id="text3289"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3291"
x="-99.272057"
y="339.48523">1</tspan></text>
<text
xml:space="preserve"
style="font-size:20px;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="-98.827728"
y="399.48523"
id="text3293"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3295"
x="-98.827728"
y="399.48523">2</tspan></text>
<text
xml:space="preserve"
style="font-size:20px;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="-112.0748"
y="664.48523"
id="text3297"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3299"
x="-112.0748"
y="664.48523">127</tspan></text>
<text
xml:space="preserve"
style="font-size:20px;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="-112.29941"
y="618.48523"
id="text3301"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3303"
x="-112.29941"
y="618.48523">126</tspan></text>
<text
xml:space="preserve"
style="font-size:20px;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="-112.05527"
y="564.48523"
id="text3305"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3307"
x="-112.05527"
y="564.48523">125</tspan></text>
<text
xml:space="preserve"
style="font-size:20px;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="-46.952728"
y="564.48523"
id="text3309"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3311"
x="-46.952728"
y="564.48523">1500</tspan></text>
<text
xml:space="preserve"
style="font-size:20px;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="-46.615807"
y="618.48523"
id="text3313"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3315"
x="-46.615807"
y="618.48523">1512</tspan></text>
<text
xml:space="preserve"
style="font-size:20px;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="-47.055267"
y="664.48523"
id="text3317"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3319"
x="-47.055267"
y="664.48523">1524</tspan></text>
<text
xml:space="preserve"
style="font-size:20px;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="152.142"
y="483.9852"
id="text3321"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3323"
x="152.142"
y="483.9852">12*128=1536</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 172.142,454.98522 0,-191.00001"
id="path3325"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 172.142,494.9852 0,192"
id="path3327"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 162.142,263.98521 20,0"
id="path3329"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 162.142,686.98521 20,0"
id="path3331"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -15,6 +15,10 @@ Overviewer development.
So let's get started!
.. note::
This page is still under construction
.. contents::
Background Info
@@ -195,10 +199,145 @@ This is done at the end of :func:`textures._build_block`
Other Cube Types
----------------
Many block types are not rendered as cubes. Fences, rails, doors, torches, and
many other types of blocks have custom rendering routines.
Chunk Rendering
===============
.. This goes over the rendering of a chunk
So now that each type of cube is rendered and cached in global variables within
the :mod:`textures` module, the next step is to use the data from a chunk of
the world to arrange these cubes on an image, rendering an entire chunk.
How big is a chunk going to be? A chunk is 16 by 16 blocks across, 128 blocks
high. The diagonal of a 16 by 16 grid is 16 squares. Observe.
This is the top-down view of a single chunk. It is essentially a 16 by 16 grid,
extending 128 units into the page.
.. image:: cuberenderimgs/chunk_topdown.png
:alt: A 16x16 square grid
Rendered at the appropriate perspective, we'll have something like this
(continued down for 128 layers).
.. image:: cuberenderimgs/chunk_perspective.png
:alt: Perspective rendering of the two top layers of a chunk.
Each of those cubes shown is where one of the pre-rendered cubes gets pasted.
This happens from back to front, bottom to top, so that the chunk gets drawn
correctly. Obviously if a cube in the back is pasted on the image after the
cubes in the front, it will be drawn on top of everything.
Cube Positioning
----------------
A single cube is drawn in a 24 by 24 square. Before we can construct a chunk out
of individual cubes, we must figure out how to position neighboring cubes.
First, to review, these are the measurements of a cube:
.. image:: cubepositionimgs/cube_measurements.png
:alt: The measurements of a cube
* The cube is bounded by a 24 by 24 pixel square.
* The side vertical edges are 12 pixels high.
* The top (and bottom) face of the cube takes 12 vertical pixels (and 24
horizontal pixels).
* The edges of the top and bottom of the cube take up 6 vertical pixels and 12
horizontal pixels each.
Two cubes that are neighbors after projection to the image (diagonally
neighboring in the world) have a horizontal offset of 24 pixels from each other,
as shown below on the left. This is mostly trivial, since the images don't end
up overlapping at all. Two cubes in the same configuration but rotated 90
degrees have some overlap, and are only vertically offset by 12 pixels, as shown
on the right.
.. image:: cubepositionimgs/cube_horizontal_offset.png
:alt: Two cubes horizontally positioned are offset by 24 pixels on the X axis.
Now for something slightly less trivial: two cubes that are stacked on top of
each other in the world. One is rendered lower on the vertical axis of the
image, but by how much?
.. image:: cubepositionimgs/cube_stacking.png
:alt: Two cubes stacked are offset in the image by 12 pixels.
Interestingly enough, due to the projection, this is exactly the same offset as
the situation above for diagonally neighboring cubes. The cube outlined in green
is drawn 12 pixels below the other one. Only the order that the cubes are drawn
is changed.
And finally, what about cubes that are next to each other in the world, or
diagonally next to each other in the image?
.. image:: cubepositionimgs/cube_neighbors.png
:alt: Cubes that are neighbors are offset by 12 on the X and 6 on the Y
The cube outlined in green is offset on the horizontal axis by half the cube
width, or 12 pixels. It is offset on the vertical axis by half the width of the
cube's top, or 6 pixels. For the other 3 directions this could go, the
directions of the offsets are changed, but the amounts are the same.
The size of a chunk
-------------------
Now that we know how to place cubes relative to each other, we can begin to
construct a chunk.
Since the cube images are 24 by 24 pixels, and the diagonal of the 16 by 16 grid
is 16 squares, the width of one rendered chunk will be 384 pixels. Just
considering the top layer of the chunk:
.. image:: cuberenderimgs/chunk_width.png
:alt: Illustrating the width of a single chunk
Since cubes next to each other in the same "diagonal row" are offset by 24
pixels, this is trivially calculated.
The height is a bit more tricky to calculate. Let's start by calculating the
height of a single stack of 128 cubes.
If the top of a stack of cubes is at Y value 0, the 128th cube down must be
drawn (128-1)*12=1524 pixels below. However, that's not the end of the story.
The bottom cube has a height of 24 pixels, so the height of a rendered stack of
128 cube is 1548 pixels.
.. image:: cuberenderimgs/cube_stack128.png
:alt: A stack of 128 cubes takes 1560 vertical pixels to draw.
You can also calculate this by looking at the sides of the cubes, which don't
overlap at all. They are 12 pixels each, times 128 cubes in the stack, gives
1536 pixels. Add in the 6 pixels for the top cube and the 6 pixels for the
bottom cube to get the total height of 1548 pixels.
So what about the entire chunk? Let's take a look at the top and bottom few
layers of a chunk.
.. image:: cuberenderimgs/chunk_height.png
:alt: The highest and lowest positioned cubes in a chunk
Let's let the red cubes represent the stack from above. The one on the top we'll
define as position 0, with our vertical axis running positively downward (as is
the case in a lot of imaging library coordinate systems) Therefore, the bottom
red cube is at vertical offset 1524 below.
The green cube at the bottom most tip is the cube with the lowest vertical
placement on the image, so its offset plus 24 pixels for its height will be the
chunk height. Since cubes in that configuration are 12 pixels lower, add 15*12
pixels to get the offset of the lowest green cube: 1704.
So the total size of a chunk in pixels is 384 wide by 1704 tall. That's pretty
tall!
.. note::
The original code had an incorrect height for a chunk, but it turns out not
to matter, since the chunk image will either have some blank space or be
slightly cut off. Now that chunks are rendered directly to tiles, it matters
even less, but this is still important for calculating some later things.
Tile Rendering
==============