-
Notifications
You must be signed in to change notification settings - Fork 0
/
DistanceAlpha.v4p
289 lines (289 loc) · 11.6 KB
/
DistanceAlpha.v4p
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
<!DOCTYPE PATCH SYSTEM "http://vvvv.org/versions/vvvv50beta35.dtd" >
<PATCH nodename="C:\Users\cloako\Documents\vvvv-sandbox\20170215_connecttriangle\DistanceAlpha.v4p" systemname="DistanceAlpha" filename="C:\Users\cloako\Documents\vvvv-sandbox\20170202_connectline\DistanceAlpha.v4p" scrollx="0" scrolly="-360">
<BOUNDS type="Window" left="10545" top="4185" width="8685" height="7425">
</BOUNDS>
<PACK Name="addonpack" Version="35.0.0">
</PACK>
<NODE systemname="Renderer (DX11 Buffer)" filename="%VVVV%\packs\dx11\nodes\plugins\VVVV.DX11.Nodes.dll" nodename="Renderer (DX11 Buffer)" componentmode="Hidden" id="28">
<BOUNDS type="Node" left="2055" top="3945" width="100" height="100">
</BOUNDS>
<PIN pinname="Buffers" visible="1">
</PIN>
<PIN pinname="Element Count" slicecount="1" visible="1" values="72">
</PIN>
<PIN pinname="Layer" visible="1" slicecount="1" values="||">
</PIN>
<PIN pinname="Stride" slicecount="1" visible="1" values="4">
</PIN>
<BOUNDS type="Box" left="2055" top="3945">
</BOUNDS>
<PIN pinname="Enabled" visible="1">
</PIN>
<PIN pinname="Appendable" slicecount="1" values="0">
</PIN>
<PIN pinname="Reset Counter" slicecount="1" values="0">
</PIN>
<PIN pinname="Query" visible="1">
</PIN>
</NODE>
<NODE nodename="IOBox (Node)" componentmode="InABox" id="27" systemname="IOBox (Node)">
<BOUNDS type="Box" left="840" top="5475" width="795" height="240">
</BOUNDS>
<BOUNDS type="Node" left="840" top="5475" width="0" height="0">
</BOUNDS>
<PIN pinname="Descriptive Name" slicecount="1" values="|Output Buffer|">
</PIN>
<PIN pinname="Input Node" visible="1" slicecount="1" values="||">
</PIN>
</NODE>
<NODE nodename="IOBox (Value Advanced)" componentmode="InABox" id="26" systemname="IOBox (Value Advanced)">
<BOUNDS type="Box" left="5595" top="1245" width="795" height="240">
</BOUNDS>
<BOUNDS type="Node" left="5595" top="1245" width="0" height="0">
</BOUNDS>
<PIN pinname="Y Input Value" slicecount="1" visible="1" values="64">
</PIN>
<PIN pinname="Units" slicecount="1" values="||">
</PIN>
<PIN pinname="Precision" slicecount="1" values="4">
</PIN>
<PIN pinname="Value Type" slicecount="1" values="Integer">
</PIN>
<PIN pinname="Y Output Value" visible="1">
</PIN>
<PIN pinname="Descriptive Name" slicecount="1" values="|Spread Count|">
</PIN>
</NODE>
<LINK srcnodeid="26" srcpinname="Y Output Value" dstnodeid="28" dstpinname="Element Count">
</LINK>
<NODE nodename="IOBox (Value Advanced)" componentmode="InABox" id="25" systemname="IOBox (Value Advanced)">
<BOUNDS type="Box" left="6780" top="1065" width="480" height="480">
</BOUNDS>
<BOUNDS type="Node" left="6780" top="1065" width="0" height="0">
</BOUNDS>
<PIN pinname="Y Input Value" slicecount="1" visible="1" values="1">
</PIN>
<PIN pinname="Units" slicecount="1" values="||">
</PIN>
<PIN pinname="Precision" slicecount="1" values="4">
</PIN>
<PIN pinname="Value Type" slicecount="1" values="Boolean">
</PIN>
<PIN pinname="Behavior" slicecount="1" values="Toggle">
</PIN>
<PIN pinname="Descriptive Name" slicecount="1" values="Enabled">
</PIN>
<PIN pinname="Y Output Value" visible="1">
</PIN>
<PIN pinname="X Input Value" slicecount="1" values="1">
</PIN>
</NODE>
<NODE nodename="IOBox (Value Advanced)" componentmode="InABox" id="24" systemname="IOBox (Value Advanced)">
<BOUNDS type="Box" left="2700" top="3570" width="435" height="240">
</BOUNDS>
<BOUNDS type="Node" left="2700" top="3570" width="0" height="0">
</BOUNDS>
<PIN pinname="Y Input Value" slicecount="1" visible="1" values="4">
</PIN>
<PIN pinname="Units" slicecount="1" values="||">
</PIN>
<PIN pinname="Precision" slicecount="1" values="4">
</PIN>
<PIN pinname="Value Type" slicecount="1" values="Integer">
</PIN>
</NODE>
<LINK srcnodeid="24" srcpinname="Y Output Value" dstnodeid="28" dstpinname="Stride">
</LINK>
<LINK srcnodeid="25" srcpinname="Y Output Value" dstnodeid="28" dstpinname="Enabled">
</LINK>
<NODE nodename="IOBox (Node)" componentmode="InABox" id="23" systemname="IOBox (Node)">
<BOUNDS type="Box" left="2040" top="1185" width="795" height="240">
</BOUNDS>
<BOUNDS type="Node" left="2040" top="1185" width="0" height="0">
</BOUNDS>
<PIN pinname="Input Node" slicecount="1" visible="1" values="||">
</PIN>
<PIN pinname="Descriptive Name" slicecount="1" values="|3D Buffer|">
</PIN>
<PIN pinname="Output Node" visible="1">
</PIN>
</NODE>
<NODE nodename="IOBox (Value Advanced)" componentmode="InABox" id="34">
<BOUNDS type="Box" left="3030" top="1140" width="795" height="720">
</BOUNDS>
<BOUNDS type="Node" left="3030" top="1140" width="0" height="0">
</BOUNDS>
<PIN pinname="Y Input Value" slicecount="3" visible="1" values="0,0,0">
</PIN>
<PIN pinname="Units" slicecount="1" values="||">
</PIN>
<PIN pinname="Precision" slicecount="1" values="4">
</PIN>
<PIN pinname="Vector Size" slicecount="1" values="3">
</PIN>
<PIN pinname="Rows" slicecount="1" values="3">
</PIN>
<PIN pinname="Descriptive Name" slicecount="1" values="cameraPositionXYZ">
</PIN>
</NODE>
<NODE nodename="IOBox (Value Advanced)" componentmode="InABox" id="35">
<BOUNDS type="Box" left="4560" top="1155" width="795" height="240">
</BOUNDS>
<BOUNDS type="Node" left="4560" top="1155" width="0" height="0">
</BOUNDS>
<PIN pinname="Y Input Value" slicecount="1" visible="1" values="0">
</PIN>
<PIN pinname="Units" slicecount="1" values="||">
</PIN>
<PIN pinname="Precision" slicecount="1" values="4">
</PIN>
<PIN pinname="Descriptive Name" slicecount="1" values="maxDepth">
</PIN>
</NODE>
<NODE systemname="DistanceAlpha_CS (DX11.Effect)" filename="DistanceAlpha_CS.fx" nodename="DistanceAlpha_CS (DX11.Effect)" componentmode="Hidden" id="29">
<BOUNDS type="Node" left="2370" top="3030" width="100" height="100">
</BOUNDS>
<PIN pinname="Technique" slicecount="1" values="Distance">
</PIN>
<PIN pinname="verticesBuffer" visible="1" slicecount="1" values="||">
</PIN>
<PIN pinname="srcIndexBuffer" visible="1" slicecount="1" values="||">
</PIN>
<PIN pinname="dstIndexBuffer" visible="1" slicecount="1" values="||">
</PIN>
<PIN pinname="Enabled" visible="1">
</PIN>
<PIN pinname="Geometry" visible="1" slicecount="1" values="||">
</PIN>
<PIN pinname="Layer" visible="1">
</PIN>
<PIN pinname="maxDistance" visible="1" slicecount="1" values="0">
</PIN>
<PIN pinname="threadCount" visible="1">
</PIN>
<PIN pinname="Color" visible="1" slicecount="1" values="|1.00000,1.00000,1.00000,1.00000|">
</PIN>
<PIN pinname="gamma" visible="1" slicecount="1" values="0">
</PIN>
<PIN pinname="vertexBuffer" visible="1" slicecount="1" values="||">
</PIN>
<PIN pinname="indexBuffer" visible="1" slicecount="1" values="||">
</PIN>
<PIN pinname="cameraPositionXYZ" visible="1">
</PIN>
<PIN pinname="maxDepth" visible="1">
</PIN>
<PIN pinname="Query" visible="1">
</PIN>
<PIN pinname="vertexCount" visible="1">
</PIN>
</NODE>
<LINK srcnodeid="23" srcpinname="Output Node" dstnodeid="29" dstpinname="verticesBuffer">
</LINK>
<LINK srcnodeid="25" srcpinname="Y Output Value" dstnodeid="29" dstpinname="Enabled">
</LINK>
<LINK srcnodeid="29" srcpinname="Layer" dstnodeid="28" dstpinname="Layer">
</LINK>
<LINK srcnodeid="26" srcpinname="Y Output Value" dstnodeid="29" dstpinname="threadCount">
</LINK>
<LINK srcnodeid="23" srcpinname="Output Node" dstnodeid="29" dstpinname="vertexBuffer">
</LINK>
<LINK srcnodeid="34" srcpinname="Y Output Value" dstnodeid="29" dstpinname="cameraPositionXYZ">
</LINK>
<LINK srcnodeid="35" srcpinname="Y Output Value" dstnodeid="29" dstpinname="maxDepth">
</LINK>
<NODE systemname="DispatcherX (DX11.Drawer)" filename="%VVVV%\packs\dx11\nodes\plugins\VVVV.DX11.Nodes.dll" componentmode="Hidden" id="20" nodename="DispatcherX (DX11.Drawer)">
<BOUNDS type="Node" left="2685" top="2610" width="100" height="100">
</BOUNDS>
<BOUNDS type="Box" left="2685" top="2610" width="4800" height="3600">
</BOUNDS>
<BOUNDS type="Window" left="10185" top="9180" width="4950" height="5595">
</BOUNDS>
<PIN pinname="Geometry Out" visible="1">
</PIN>
<PIN pinname="Count" visible="1">
</PIN>
<PIN pinname="Argument Buffer" visible="1" slicecount="1" values="||">
</PIN>
<PIN pinname="Argument Resource Offset" slicecount="1" values="0">
</PIN>
<PIN pinname="Warp Size" slicecount="1" values="1">
</PIN>
<PIN pinname="Thread Group X" visible="1" slicecount="1" values="64">
</PIN>
<PIN pinname="Count X" visible="1">
</PIN>
</NODE>
<LINK srcnodeid="26" srcpinname="Y Output Value" dstnodeid="20" dstpinname="Count">
</LINK>
<LINK srcnodeid="20" srcpinname="Geometry Out" dstnodeid="29" dstpinname="Geometry">
</LINK>
<LINK srcnodeid="26" srcpinname="Y Output Value" dstnodeid="20" dstpinname="Count X">
</LINK>
<LINK srcnodeid="26" srcpinname="Y Output Value" dstnodeid="29" dstpinname="vertexCount">
</LINK>
<NODE systemname="Select (Value)" filename="%VVVV%\lib\nodes\plugins\VVVV.Nodes.dll" nodename="Select (Value)" componentmode="Hidden" id="36">
<BOUNDS type="Node" left="1095" top="2610" width="100" height="100">
</BOUNDS>
<PIN pinname="Input" visible="1">
</PIN>
<BOUNDS type="Box" left="1095" top="2610">
</BOUNDS>
<PIN pinname="Select" visible="1">
</PIN>
<PIN pinname="Output" visible="1">
</PIN>
</NODE>
<NODE nodename="IOBox (Value Advanced)" componentmode="InABox" id="37">
<BOUNDS type="Box" left="1095" top="2235" width="795" height="240">
</BOUNDS>
<BOUNDS type="Node" left="1095" top="2235" width="0" height="0">
</BOUNDS>
<PIN pinname="Y Input Value" slicecount="1" visible="1" values="1">
</PIN>
<PIN pinname="Units" slicecount="1" values="||">
</PIN>
<PIN pinname="Precision" slicecount="1" values="4">
</PIN>
</NODE>
<LINK srcnodeid="37" srcpinname="Y Output Value" dstnodeid="36" dstpinname="Input">
</LINK>
<LINK srcnodeid="26" srcpinname="Y Output Value" dstnodeid="36" dstpinname="Select">
</LINK>
<NODE systemname="DynamicBuffer (DX11.Buffer Value)" filename="%VVVV%\packs\dx11\nodes\plugins\VVVV.DX11.Nodes.dll" nodename="DynamicBuffer (DX11.Buffer Value)" componentmode="Hidden" id="38">
<BOUNDS type="Node" left="1095" top="3045" width="100" height="100">
</BOUNDS>
<PIN pinname="Data" visible="1">
</PIN>
<PIN pinname="Buffer" visible="1">
</PIN>
<BOUNDS type="Box" left="1095" top="3045">
</BOUNDS>
</NODE>
<LINK srcnodeid="36" srcpinname="Output" dstnodeid="38" dstpinname="Data">
</LINK>
<NODE systemname="Switch (Node Input)" filename="" nodename="Switch (Node Input)" componentmode="Hidden" id="39">
<BOUNDS type="Node" left="840" top="4845" width="100" height="100">
</BOUNDS>
<PIN pinname="Input" visible="1" slicecount="1" values="||">
</PIN>
<PIN pinname="Input 1" visible="1">
</PIN>
<PIN pinname="Input 2" visible="1">
</PIN>
<PIN pinname="Output" visible="1">
</PIN>
<PIN pinname="Switch" visible="1">
</PIN>
</NODE>
<LINK srcnodeid="38" srcpinname="Buffer" dstnodeid="39" dstpinname="Input">
</LINK>
<LINK srcnodeid="38" srcpinname="Buffer" dstnodeid="39" dstpinname="Input 1">
</LINK>
<LINK srcnodeid="28" srcpinname="Buffers" dstnodeid="39" dstpinname="Input 2" linkstyle="Bezier">
</LINK>
<LINK srcnodeid="39" srcpinname="Output" dstnodeid="27" dstpinname="Input Node">
</LINK>
<LINK srcnodeid="25" srcpinname="Y Output Value" dstnodeid="39" dstpinname="Switch">
</LINK>
</PATCH>