r500/diagrams/simplified_particle_data_flow.svg
2025-11-13 10:56:28 -06:00

333 lines
9.4 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generated by graphviz version 12.2.1 (20241206.2353)
-->
<!-- Pages: 1 -->
<svg
width="378.63464pt"
height="91.165062pt"
viewBox="0 0 379.01428 91.344521"
version="1.1"
id="svg15"
sodipodi:docname="simplified_particle_data_flow.svg"
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs15" />
<sodipodi:namedview
id="namedview15"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="pt"
inkscape:zoom="2.469657"
inkscape:cx="252.26175"
inkscape:cy="36.847222"
inkscape:window-width="2048"
inkscape:window-height="1124"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="node1-2" />
<g
id="graph0"
class="graph"
transform="translate(3.816959,87.344522)">
<g
id="node2"
class="node"
transform="translate(0,32.254074)">
<title
id="title7">write</title>
<text
text-anchor="start"
x="289.12"
y="-102.95"
font-family="Helvetica, Arial, sans-serif"
font-weight="bold"
font-size="14px"
id="text8">write buffer</text>
</g>
<polygon
fill="#ffffff"
stroke="none"
points="375.38,4 -4,4 -4,-123.25 375.38,-123.25 "
id="polygon1"
transform="matrix(1,0,0,0.71783514,0,1.1286594)" />
<!-- read -->
<g
id="node1"
class="node"
transform="translate(-3.0428371,27.081251)">
<title
id="title1">read</title>
<text
text-anchor="start"
x="48.986347"
y="-102.95"
font-family="Helvetica, Arial, sans-serif"
font-weight="bold"
font-size="14px"
id="text1"
style="line-height:0"><tspan
style="line-height:1.25;text-align:center;text-anchor:middle"
sodipodi:role="line"
id="tspan23"
x="48.986347"
y="-102.95">read buffer</tspan><tspan
sodipodi:role="line"
x="48.986347"
y="-90.287735"
id="tspan17"
style="font-size:10.0197px;line-height:1;text-align:center;text-anchor:middle">(texture sample)</tspan></text>
<text
xml:space="preserve"
style="font-size:10.0197px;line-height:1.25;font-family:Monospace;-inkscape-font-specification:Monospace;text-align:center;text-anchor:middle;stroke-width:0.751476"
x="44.38129"
y="-87.754082"
id="text18"><tspan
sodipodi:role="line"
id="tspan18"
style="stroke-width:0.751476"
x="47.387688"
y="-87.754082"> </tspan></text>
</g>
<!-- shader -->
<g
id="node3"
class="node"
transform="translate(0,32.254074)">
<title
id="title2">shader</title>
<text
text-anchor="start"
x="131"
y="-102.95"
font-family="Helvetica, Arial, sans-serif"
font-weight="bold"
font-size="14px"
id="text2">fragment shader</text>
</g>
<!-- read&#45;&gt;shader -->
<!-- particle_stateA -->
<g
id="node4"
class="node">
<title
id="title3">particle_stateA</title>
<polygon
fill="none"
stroke="#000000"
points="59,-55.5 59,-4 16,-4 16,-55.5 "
id="polygon3" />
<text
text-anchor="start"
x="21"
y="-24.32"
font-family="Helvetica, Arial, sans-serif"
font-size="14px"
id="text3">state</text>
<polygon
fill="#76ee00"
stroke="none"
points="76.5,-55.5 76.5,-29.75 59,-29.75 59,-55.5 "
id="polygon4" />
<polygon
fill="none"
stroke="#000000"
points="76.5,-55.5 76.5,-29.75 59,-29.75 59,-55.5 "
id="polygon5" />
<text
text-anchor="start"
x="64"
y="-37.200001"
font-family="Helvetica, Arial, sans-serif"
font-size="14px"
id="text5">a</text>
<polygon
fill="#c1cdcd"
stroke="none"
points="76.5,-29.75 76.5,-4 59,-4 59,-29.75 "
id="polygon6" />
<polygon
fill="none"
stroke="#000000"
points="76.5,-29.75 76.5,-4 59,-4 59,-29.75 "
id="polygon7" />
<text
text-anchor="start"
x="64"
y="-11.45"
font-family="Helvetica, Arial, sans-serif"
font-size="14px"
id="text7">b</text>
</g>
<!-- read&#45;&gt;particle_stateA -->
<!-- write -->
<!-- particle_stateB -->
<g
id="node5"
class="node">
<title
id="title8">particle_stateB</title>
<polygon
fill="#c1cdcd"
stroke="none"
points="309.38,-55.5 309.38,-29.75 291.88,-29.75 291.88,-55.5 "
id="polygon8" />
<polygon
fill="none"
stroke="#000000"
points="309.38,-55.5 309.38,-29.75 291.88,-29.75 291.88,-55.5 "
id="polygon9" />
<text
text-anchor="start"
x="296.88"
y="-37.200001"
font-family="Helvetica, Arial, sans-serif"
font-size="14px"
id="text9">a</text>
<polygon
fill="none"
stroke="#000000"
points="348.62,-55.5 348.62,-4 309.38,-4 309.38,-55.5 "
id="polygon10" />
<text
text-anchor="start"
x="314.38"
y="-24.32"
font-family="Helvetica, Arial, sans-serif"
font-size="14px"
id="text10">state</text>
<polygon
fill="#76ee00"
stroke="none"
points="309.38,-29.75 309.38,-4 291.88,-4 291.88,-29.75 "
id="polygon11" />
<polygon
fill="none"
stroke="#000000"
points="309.38,-29.75 309.38,-4 291.88,-4 291.88,-29.75 "
id="polygon12" />
<text
text-anchor="start"
x="296.88"
y="-11.45"
font-family="Helvetica, Arial, sans-serif"
font-size="14px"
id="text12">b</text>
</g>
<!-- write&#45;&gt;particle_stateB -->
<!-- shader&#45;&gt;write -->
<!-- simulation -->
<g
id="node6"
class="node">
<title
id="title12">simulation</title>
<ellipse
fill="none"
stroke="#000000"
cx="184.25"
cy="-29.75"
rx="63.82"
ry="27.93"
id="ellipse12" />
<text
text-anchor="middle"
x="184.25"
y="-32.200001"
font-family="Helvetica, Arial, sans-serif"
font-size="14px"
id="text13">arbitrary</text>
<text
text-anchor="middle"
x="184.25"
y="-16.450001"
font-family="Helvetica, Arial, sans-serif"
font-size="14px"
id="text14">computation</text>
</g>
<!-- shader&#45;&gt;simulation -->
<!-- particle_stateA&#45;&gt;simulation -->
<g
id="edge6"
class="edge">
<title
id="title14">particle_stateA:src-&gt;simulation:w</title>
<path
fill="none"
stroke="#000000"
d="m 77.5,-42.62 c 15.41,0 20.75,7.7 31.59,11.19"
id="path14" />
<polygon
fill="#000000"
stroke="#000000"
points="108.53,-27.98 109.56,-34.9 118.94,-29.97 "
id="polygon14" />
</g>
<!-- simulation&#45;&gt;particle_stateB -->
<g
id="edge7"
class="edge">
<title
id="title15">simulation:e-&gt;particle_stateB:dst</title>
<path
fill="none"
stroke="#000000"
d="m 248.07,-29.75 c 15.36,0 20.68,7.7 31.5,11.19"
id="path15" />
<polygon
fill="#000000"
stroke="#000000"
points="278.97,-15.11 280,-22.03 289.38,-17.1 "
id="polygon15" />
</g>
<g
id="node1-2"
class="node"
transform="translate(273.90725,26.773649)">
<title
id="title1-9">read</title>
<text
text-anchor="start"
x="48.986347"
y="-102.95"
font-family="Helvetica, Arial, sans-serif"
font-weight="bold"
font-size="14px"
id="text1-1"
style="line-height:0"><tspan
style="line-height:1.25;text-align:center;text-anchor:middle"
sodipodi:role="line"
id="tspan23-2"
x="48.986347"
y="-102.95">write buffer</tspan><tspan
sodipodi:role="line"
x="48.986351"
y="-90.287735"
id="tspan17-7"
style="font-size:10.0197px;line-height:1;text-align:center;text-anchor:middle">(render target)</tspan></text>
<text
xml:space="preserve"
style="font-size:10.0197px;line-height:1.25;font-family:Monospace;-inkscape-font-specification:Monospace;text-align:center;text-anchor:middle;stroke-width:0.751476"
x="44.38129"
y="-87.754082"
id="text18-0"><tspan
sodipodi:role="line"
id="tspan18-9"
style="stroke-width:0.751476"
x="47.387688"
y="-87.754082"> </tspan></text>
</g>
</g>
</svg>