File: ev_pano_stitch.pd

package info (click to toggle)
pd-extendedview 0.5~repack-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 10,728 kB
  • sloc: makefile: 20; sh: 1
file content (230 lines) | stat: -rw-r--r-- 7,263 bytes parent folder | download | duplicates (2)
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
#N canvas 109 22 1006 756 10;
#X obj 432 147 alpha;
#X obj 432 578 translateXYZ 0 0 0;
#X obj 432 66 inlet;
#X text 432 38 inlet 1: gemlist;
#X obj 502 556 r /ev/pano/stitch/\$1/shift/y;
#X obj 467 536 r /ev/pano/stitch/\$1/shift/x;
#X obj 477 93 r /ev/pano/stitch/\$1/state;
#X obj 432 115 spigot 1;
#X obj 432 774 rectangle 1 0.75;
#X obj 525 751 /;
#X obj 541 718 t b f;
#X text 58 537 creation argument: id;
#N canvas 289 55 792 790 glsl 0;
#X obj 78 339 glsl_vertex;
#X msg 32 338 print;
#X obj 78 626 glsl_program;
#X obj 163 555 pack 0 0;
#X msg 30 476 print;
#X obj 163 511 change;
#X obj 150 358 change;
#X msg 163 579 link \$1 \$2;
#X msg 32 620 print;
#X obj 77 490 glsl_fragment;
#X floatatom 163 535 2 0 0 0 ID - -;
#X floatatom 150 381 2 0 0 0 ID - -;
#X obj 181 600 print linking;
#X obj 15 21 inlet;
#X obj 78 662 outlet;
#X obj 577 95 inlet;
#X obj 15 44 route bang;
#X obj 255 11 gemhead 1;
#X msg 255 33 1;
#X obj 255 57 change;
#X obj 255 81 t b;
#X obj 157 647 change;
#X obj 157 668 t b;
#X obj 158 690 outlet;
#X obj 90 426 symbol;
#X obj 90 401 t b;
#X msg 287 598 0;
#X obj 15 65 t b b b;
#X msg 118 307 open ev_pano_stitch.vert;
#X msg 90 453 open ev_pano_stitch.frag;
#X connect 0 0 9 0;
#X connect 0 1 6 0;
#X connect 1 0 0 0;
#X connect 2 0 14 0;
#X connect 2 1 21 0;
#X connect 3 0 7 0;
#X connect 4 0 9 0;
#X connect 5 0 10 0;
#X connect 6 0 11 0;
#X connect 6 0 25 0;
#X connect 7 0 2 0;
#X connect 7 0 12 0;
#X connect 8 0 2 0;
#X connect 9 0 2 0;
#X connect 9 1 5 0;
#X connect 10 0 3 0;
#X connect 11 0 3 1;
#X connect 13 0 16 0;
#X connect 15 0 2 0;
#X connect 16 0 27 0;
#X connect 16 1 0 0;
#X connect 17 0 18 0;
#X connect 18 0 19 0;
#X connect 19 0 20 0;
#X connect 20 0 28 0;
#X connect 21 0 22 0;
#X connect 22 0 23 0;
#X connect 24 0 29 0;
#X connect 25 0 24 0;
#X connect 26 0 21 0;
#X connect 27 0 26 0;
#X connect 27 1 10 0;
#X connect 27 2 28 0;
#X connect 28 0 0 0;
#X connect 29 0 9 0;
#X restore 432 232 pd glsl;
#X obj 450 191 loadbang;
#X obj 432 490 pix_texture;
#X obj 495 513 s /ev/pano/stitch/\$1/texture_id;
#X obj 432 272 pix_info 0 0 0;
#X obj 32 18 cnv 15 920 16 empty empty EXTENDED_VIEW_Panoramic_Stitching_Module
2 8 0 14 -233017 -66577 0;
#X obj 32 522 cnv 15 360 50 empty empty inlets/outlets 5 12 0 12 -233017
-66577 0;
#X text 37 542 Inlet 1: GEMlist;
#X obj 34 369 cnv 15 160 145 empty empty GUI_controls 5 8 0 12 -204800
-66577 0;
#X text 102 406 image in x/y;
#X text 36 421 shade: sets width of;
#X text 78 431 left softedge;
#X text 36 445 on/off: toggles state;
#N canvas 454 186 427 280 init 0;
#X obj 71 34 loadbang;
#X obj 71 58 list append \$1;
#X msg 71 85 \; /ev/pano/stitch/\$1/shade 0 \; /ev/pano/stitch/\$1/shift/x
0 \; /ev/pano/stitch/\$1/shift/y 0 \; /ev/pano/stitch/\$1/pillow 1.55
\; /ev/pano/stitch/\$1/state 1 \; /ev/pano/stitch/\$1/rotate 0 \;;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X restore 244 71 pd init;
#X obj 541 695 r /ev/pano/stitch/\$1/dimen/x;
#X obj 525 668 r /ev/pano/stitch/\$1/dimen/y;
#X obj 482 367 s /ev/pano/stitch/\$1/dimen/x;
#X obj 101 133 cnv 15 178 75 empty empty empty 20 12 0 14 -228856 -66577
0;
#X obj 257 138 vsl 15 63 -1 1 0 0 /ev/pano/stitch/\$1/shift/y /ev/pano/stitch/\$1/shift/y
y -10 3 0 10 -262130 -1 -1 3100 1;
#X obj 182 189 hsl 63 15 -2 2 0 0 /ev/pano/stitch/\$1/shift/x /ev/pano/stitch/\$1/shift/x
x -2 -8 0 10 -262130 -1 -1 3100 1;
#X obj 109 189 hsl 63 15 0 200 0 0 /ev/pano/stitch/\$1/shade /ev/pano/stitch/\$1/shade
shade -2 -8 0 10 -261234 -1 -1 0 1;
#X text 216 173 shift;
#X obj 106 136 tgl 15 0 /ev/pano/stitch/\$1/state /ev/pano/stitch/\$1/state
on/off 17 7 0 10 -4034 -1 -1 1 1;
#X obj 196 154 nbx 4 14 -1e+37 1e+37 0 0 /ev/pano/stitch/\$1/pillow
/ev/pano/stitch/\$1/pillow pillow -38 8 0 10 -262144 -1 -1 1 256;
#N canvas 235 134 626 252 storage_&_osc 0;
#X obj 323 78 osc_bi \$2 /ev/pano/stitch/\$1/shade;
#X obj 323 98 osc_bi \$2 /ev/pano/stitch/\$1/shift/x;
#X obj 323 118 osc_bi \$2 /ev/pano/stitch/\$1/shift/y;
#X obj 323 138 osc_bi \$2 /ev/pano/stitch/\$1/state;
#X obj 323 158 osc_bi \$2 /ev/pano/stitch/\$1/pillow;
#X obj 33 78 ds_reg \$2 /ev/pano/stitch/\$1/shade nomorph;
#X obj 33 98 ds_reg \$2 /ev/pano/stitch/\$1/shift/x nomorph;
#X obj 33 118 ds_reg \$2 /ev/pano/stitch/\$1/shift/y nomorph;
#X obj 33 138 ds_reg \$2 /ev/pano/stitch/\$1/state nomorph;
#X obj 33 158 ds_reg \$2 /ev/pano/stitch/\$1/pillow nomorph;
#X obj 33 178 ds_reg \$2 /ev/pano/stitch/\$1/rotate nomorph;
#X obj 323 178 osc_bi \$2 /ev/pano/stitch/\$1/rotate;
#X restore 103 66 pd storage_&_osc;
#X obj 432 806 outlet gemlist;
#X obj 196 136 nbx 4 14 -1e+37 1e+37 0 0 /ev/pano/stitch/\$1/rotate
/ev/pano/stitch/\$1/rotate rot -18 8 0 10 -262130 -1 -1 0 256;
#X obj 432 628 rotateXYZ 0 0 0;
#X obj 519 606 r /ev/pano/stitch/\$1/rotate;
#N canvas 60 131 903 544 shader-control 0;
#X obj 124 58 inlet;
#X obj 124 378 outlet;
#X msg 172 249 ShadeL \$1;
#X msg 350 253 dZ \$1;
#X obj 350 213 1.55;
#X obj 172 81 r /ev/pano/stitch/\$1/shade;
#X msg 521 262 sizeX \$1;
#X msg 586 262 sizeY \$1;
#X obj 521 81 r /ev/pano/stitch/\$1/dimen/x;
#X obj 586 102 r /ev/pano/stitch/\$1/dimen/y;
#X obj 350 81 r /ev/pano/stitch/\$1/pillow;
#X obj 521 233 f 640;
#X obj 586 233 f 480;
#X obj 124 100 t b;
#X obj 172 224 max 0.0001;
#X obj 172 193 f 0;
#X connect 0 0 13 0;
#X connect 2 0 1 0;
#X connect 3 0 1 0;
#X connect 4 0 3 0;
#X connect 5 0 15 0;
#X connect 6 0 1 0;
#X connect 7 0 1 0;
#X connect 8 0 11 0;
#X connect 9 0 12 0;
#X connect 10 0 4 0;
#X connect 11 0 6 0;
#X connect 12 0 7 0;
#X connect 13 0 15 0;
#X connect 13 0 4 0;
#X connect 13 0 11 0;
#X connect 13 0 12 0;
#X connect 14 0 2 0;
#X connect 15 0 14 0;
#X restore 499 232 pd shader-control;
#X text 187 542 Outlet 1: GEMlist;
#X text 37 460 pillow: correction factor;
#X obj 33 248 cnv 15 360 100 empty empty creation_arguments: 5 12 0
12 -162280 -1 0;
#X text 36 270 1st: the modules ID \, neccessary when used multiple
times in a patch and for the control parameters;
#X text 36 300 2nd: save domain;
#X text 36 395 shift x/y: translates;
#X msg 450 423 rectangle 1;
#X obj 450 400 loadbang;
#X obj 42 608 loadbang;
#X obj 42 665 print ev_pano_stitch;
#X msg 42 630 (c)2011-2012 Cyrille Henry | Peter Venus | Marian Weger
\, part of EXTENDED VIEW toolkit | gpl v3;
#X text 37 480 rot: rotate image;
#X obj 770 76 inlet texture_id;
#X obj 770 98 s /ev/pano/stitch/\$1/texture_id;
#X obj 495 465 r /ev/pano/stitch/\$1/texture_id;
#X obj 443 344 moses 0;
#X obj 455 314 moses 0;
#X obj 494 337 s /ev/pano/stitch/\$1/dimen/y;
#X text 37 555 Inlet 2: Texture ID;
#X connect 0 0 12 0;
#X connect 1 0 39 0;
#X connect 2 0 7 0;
#X connect 4 0 1 2;
#X connect 5 0 1 1;
#X connect 6 0 7 1;
#X connect 7 0 0 0;
#X connect 8 0 37 0;
#X connect 9 0 8 2;
#X connect 10 0 9 0;
#X connect 10 1 9 1;
#X connect 12 0 16 0;
#X connect 12 1 41 0;
#X connect 13 0 12 0;
#X connect 14 0 1 0;
#X connect 14 1 15 0;
#X connect 16 0 14 0;
#X connect 16 1 57 0;
#X connect 16 2 58 0;
#X connect 26 0 10 0;
#X connect 27 0 9 0;
#X connect 39 0 8 0;
#X connect 40 0 39 3;
#X connect 41 0 12 1;
#X connect 48 0 14 0;
#X connect 49 0 48 0;
#X connect 50 0 52 0;
#X connect 52 0 51 0;
#X connect 54 0 55 0;
#X connect 56 0 14 1;
#X connect 57 1 28 0;
#X connect 58 1 59 0;
#X coords 0 -1 1 1 180 93 1 100 118;