new to max question about the patch in make magazine

Jan 17, 2008 at 1:28am

new to max question about the patch in make magazine

Hello, sorry for my english, I am really new to max I was trying to use the patch from “make magazine” to detect two points with the webcam and use that to scratch two quicktime movies.
the problem is that the patch is not really working, it has a problem with one part, I saw another person in this forum asking the same thing but he did not get any answer. the problem with the patch is somehow jitscissor, the max window just says mismatch dim, i was trying to change things around and I did try jitsplit and this allow to see the second screen but it allows you to track only one point,
I do really appreciate the help I imagine it is such a stupid thing but I just started with max, thanks.

the patch is this.

max v2;
#N vpatcher 14 42 1184 671;
#P origin 12 20;
#P window setfont “Sans Serif” 9.;
#P window linecount 3;
#P comment 580 558 100 196617 Double-click to select MIDI output device;
#P comment 194 558 100 196617 Double-click to select MIDI output device;
#P window linecount 1;
#P comment 372 23 170 196617 Dots represent points being tracked.;
#B frgb 255 255 255;
#P window linecount 14;
#P user com 543 206 429 196617 333;
#K set 0 21345 28016 27749 8301 28532 26991 28192 29810 24931 27497 28263 8308 28448 19785 17481 8304 24948 25448 8292 25974 25964 28528 25956 8290 31008 20581 29797 29216 19305 29294 8294 28530 8269 24939 25888 19809 26465 31337 28261 8227 13344 26740 29808 14895 12141 24939 25978 26990 25902 25455 27951 12340 12132 27001 24417 26994 29539 29281 29795 26671 3341 21608 26995 8311 28530 27424 26995 8300 26979 25966 29541 25632 30062 25701 29216 29800 25888 17266 25953 29801 30309 8259 28525 28015 28275 8257 29812 29289 25205 29801 28526 8268 26979 25966 29541 11808 21615 8310 26981 30496;
#K set 100 24864 25455 28793 8303 26144 29800 26995 8300 26979 25966 29541 11296 30313 29545 29728 26740 29808 14895 12131 29285 24948 26998 25955 28525 28015 28275 11887 29287 12140 26979 25966 29541 29487 25209 12082 11829 12064 28530 8307 25966 25632 24864 27749 29812 25970 8308 28448 17266 25953 29801 30309 8259 28525 28015 28275 11296 13620 13088 18543 30561 29284 8275 29810 25957 29740 8245 29800 8262 27759 28530 11296 21345 28192 18034 24942 25449 29539 28460 8259 24940 26982 28530 28265 24876 8249 13361 12341 11296 21843 16686 3341 21608 24942 27507 8308 28448 19045 24942 11597 24946;
#K set 200 25376 20581 27756 25972 26981 29216 26223 29216 25462 11882 26996 8289 28260 8307 24941 28780 25888 25455 25701 11789 26740 29808 14895 12151 30583 11881 24941 24947 11873 25390 27248 12158 27247 30305 28208 12847 25462 12045 3412 28448 28001 27493 8308 26725 8301 28531 29728 30067 25888 28518 8308 26729 29472 28769 29795 26668 8293 25705 29728 24942 25632 24932 24944 29728 26996 8309 29545 28263 8259 31075 27753 28263 8231 14132 8269 24952 12109 21328 8289 28260 8266 26996 29797 29243 8202 25701 28015 8310 25970 29545 28526 29472 24950 24937 27745 25196 25888 24948 8311 30583;
#K set 300 11875 31075 27753 28263 14132 11875 28525 8205 3395 28525 28005 28276 29472 30565 27747 28525 25888 24948 8304 25972 25970 16483 29285 24948 25956 26983 26996 24940 28021 29545 25390 25455 27904;
#K end;
#P window linecount 1;
#P comment 436 439 69 196617 X as MIDI data;
#P newex 392 533 50 196617 ctlout 1 1;
#P hidden newex 581 460 40 196617 change;
#P comment 624 439 69 196617 Y as MIDI data;
#P number 581 439 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 474 407 133 196617 expr 128 – ($i1 * 1.067);
#P hidden newex 394 408 83 196617 expr $i1 * 0.8;
#P number 580 507 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 580 486 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 622 507 100 196617 MIDI Channel;
#P comment 622 486 100 196617 Controller#;
#P newex 581 533 61 196617 ctlout 7 1;
#P number 392 507 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 392 486 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 394 460 40 196617 change;
#P number 396 439 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 433 507 100 196617 MIDI Channel;
#P comment 433 486 100 196617 Controller#;
#P window linecount 2;
#P comment 392 558 114 196617 Double-click to select MIDI output device;
#P window linecount 1;
#P comment 50 439 69 196617 X as MIDI data;
#P newex 6 533 50 196617 ctlout 1 1;
#P hidden newex 195 460 40 196617 change;
#P comment 238 439 69 196617 Y as MIDI data;
#P number 195 439 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 87 412 133 196617 expr 128 – ($i1 * 1.067);
#P hidden newex 9 412 83 196617 expr $i1 * 0.8;
#P number 197 507 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 197 486 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 239 507 100 196617 MIDI Channel;
#P comment 239 486 100 196617 Controller#;
#P newex 195 533 61 196617 ctlout 7 1;
#P number 10 507 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 10 486 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 8 460 40 196617 change;
#P number 9 439 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 52 507 100 196617 MIDI Channel;
#P comment 52 486 100 196617 Controller#;
#N vpatcher 126 129 403 364;
#P window setfont “Sans Serif” 9.;
#P hidden newex 109 188 104 196617 bgcolor 210 210 195;
#P outlet 96 146 15 0;
#P outlet 25 146 15 0;
#P inlet 25 33 15 0;
#P newex 96 119 28 196617 pack;
#P newex 25 119 28 196617 pack;
#P newex 106 80 53 196617 cycle 4;
#P newex 25 80 53 196617 cycle 4;
#P newex 25 56 91 196617 unpack;
#P connect 5 0 0 0;
#P connect 0 0 1 0;
#P connect 1 0 3 0;
#P connect 3 0 6 0;
#P fasten 2 0 3 1 111 110 48 110;
#P fasten 1 2 4 0 58 106 101 106;
#P connect 4 0 7 0;
#P connect 0 1 2 0;
#P fasten 2 2 4 1 139 108 119 108;
#P pop;
#P hidden newobj 192 222 61 196617 p cycle_list;
#P hidden newex 646 39 44 196617 loadbang;
#P hidden message 623 78 18 196617 11;
#P hidden message 691 78 14 196617 5;
#P hidden newex 623 106 58 196617 s tolerance;
#P hidden newex 691 105 62 196617 s dispersion;
#P user jit.pwindow 373 43 162 122 0 1 0 0 1 0;
#P hidden message 119 285 69 196617 dispersion $1;
#P hidden newex 119 261 62 196617 r dispersion;
#P hidden message 52 286 65 196617 tolerance $1;
#P number 54 377 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 9 377 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 9 343 55 196617 unpack 0 0;
#P hidden newex 9 318 85 196617 cv.jit.trackgroup;
#P hidden newex 52 262 58 196617 r tolerance;
#P window linecount 2;
#P comment 105 372 69 196617 Coordinates of first point.;
#P number 252 374 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 207 374 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P hidden message 294 262 20 196617 12;
#P hidden newex 294 234 45 196617 loadbang;
#P hidden message 280 289 50 196617 offset $1;
#P hidden newex 207 342 55 196617 unpack 0 0;
#P hidden newex 207 317 85 196617 cv.jit.trackgroup;
#P window linecount 2;
#P comment 296 371 83 196617 Coordinates of second point.;
#P window linecount 1;
#P hidden newex 413 309 62 196617 jit.op @op +;
#P hidden newex 430 279 105 196617 jit.op @op * @val 0.6;
#P hidden newex 430 259 64 196617 jit.matrix in;
#P hidden newex 413 238 27 196617 t l b;
#P hidden newex 413 213 86 196617 jit.op @op +;
#N vpatcher 40 55 433 409;
#P window setfont “Sans Serif” 9.;
#P hidden newex 247 241 104 196617 bgcolor 210 210 195;
#P outlet 60 268 15 0;
#P inlet 60 38 15 0;
#P newex 60 244 55 196617 jit.hsl2rgb;
#P newex 60 108 53 196617 t l l l l;
#P newex 60 219 53 196617 jit.pack;
#P newex 203 156 105 196617 jit.op @op * @val 0.5;
#P newex 88 156 105 196617 jit.op @op * @val 0.5;
#P newex 60 85 99 196617 jit.op @op != @val 0;
#P newex 60 60 158 196617 cv.jit.trackpoints @size 160 120;
#P connect 7 0 0 0;
#P connect 0 0 1 0;
#P connect 1 0 5 0;
#P connect 5 0 4 0;
#P connect 4 0 6 0;
#P connect 6 0 8 0;
#P fasten 2 0 4 1 93 205 79 205;
#P connect 5 2 2 0;
#P fasten 5 1 4 2 79 198 93 198;
#P fasten 3 0 4 3 208 191 107 191;
#P connect 5 3 3 0;
#P pop;
#P hidden newobj 490 188 75 196617 p paint_points2;
#N vpatcher 40 55 433 409;
#P window setfont “Sans Serif” 9.;
#P hidden newex 247 241 104 196617 bgcolor 210 210 195;
#P outlet 60 268 15 0;
#P inlet 60 38 15 0;
#P newex 60 244 55 196617 jit.hsl2rgb;
#P newex 60 108 53 196617 t l l l l;
#P newex 60 219 53 196617 jit.pack;
#P newex 203 156 105 196617 jit.op @op * @val 0.5;
#P newex 88 156 112 196617 jit.op @op * @val 0.15;
#P newex 60 85 99 196617 jit.op @op != @val 0;
#P newex 60 60 158 196617 cv.jit.trackpoints @size 160 120;
#P connect 7 0 0 0;
#P connect 0 0 1 0;
#P connect 1 0 5 0;
#P connect 5 0 4 0;
#P connect 4 0 6 0;
#P connect 6 0 8 0;
#P fasten 2 0 4 1 93 205 79 205;
#P connect 5 2 2 0;
#P fasten 5 1 4 2 79 198 93 198;
#P fasten 3 0 4 3 208 191 107 191;
#P connect 5 3 3 0;
#P pop;
#P hidden newobj 413 189 75 196617 p paint_points1;
#P hidden newex 9 216 122 196617 jit.scissors @columns 2;
#P hidden newex 9 186 118 196617 cv.jit.track @npoints 24;
#P hidden newex 192 194 60 196617 route mouse;
#P comment 188 23 170 196617 Click inside image to select points.;
#B frgb 255 255 255;
#P user jit.pwindow 188 44 162 122 0 1 0 0 1 0;
#P user panel 179 15 367 157;
#X brgb 140 140 140;
#X frgb 0 0 0;
#X border 0;
#X rounded 20;
#X shadow 0;
#X done;
#P hidden newex 9 150 64 196617 jit.rgb2luma;
#P hidden newex 9 117 138 196617 jit.matrix in 4 char 160 120;
#P message 80 79 44 196617 settings;
#P comment 31 25 105 196617 ON/OFF;
#P message 93 48 31 196617 close;
#P message 62 48 28 196617 open;
#P toggle 9 24 15 0;
#P hidden newex 9 48 49 196617 qmetro 2;
#P hidden newex 9 78 54 196617 jit.qt.grab;
#P user panel 1 14 162 94;
#X brgb 78 238 26;
#X frgb 0 0 0;
#X border 0;
#X rounded 20;
#X shadow 0;
#X done;
#P window linecount 2;
#P comment 6 558 114 196617 Double-click to select MIDI output device;
#P user panel 2 369 374 33;
#X brgb 210 210 195;
#X frgb 140 140 140;
#X border 1;
#X rounded 20;
#X shadow 0;
#X done;
#P user panel 2 434 731 161;
#X brgb 78 238 26;
#X frgb 0 0 0;
#X border 0;
#X rounded 20;
#X shadow 0;
#X done;
#P hidden connect 53 0 66 0;
#P hidden connect 52 0 53 0;
#P hidden connect 6 0 5 0;
#P hidden fasten 8 0 4 0 98 70 14 70;
#P hidden fasten 7 0 4 0 67 70 14 70;
#P hidden connect 5 0 4 0;
#P hidden connect 10 0 4 0;
#P hidden connect 4 0 11 0;
#P hidden connect 11 0 12 0;
#P hidden connect 12 0 17 0;
#P hidden connect 36 1 17 0;
#P hidden connect 27 1 17 0;
#P hidden connect 17 0 18 0;
#P hidden connect 18 0 36 0;
#P hidden fasten 40 0 36 0 57 311 14 311;
#P hidden fasten 42 0 36 0 124 311 14 311;
#P hidden connect 36 0 37 0;
#P hidden connect 37 0 38 0;
#P hidden connect 38 0 61 0;
#P hidden connect 61 0 52 0;
#P hidden connect 54 0 66 1;
#P hidden connect 55 0 66 2;
#P hidden connect 35 0 40 0;
#P hidden connect 37 1 39 0;
#P hidden fasten 49 0 36 1 197 301;
#P hidden connect 39 0 62 0;
#P hidden connect 41 0 42 0;
#P hidden fasten 11 0 14 0 14 143 173 143 173 40 194 40;
#P hidden fasten 14 1 16 0 344 184;
#P hidden connect 16 0 49 0;
#P hidden connect 62 0 63 0;
#P hidden connect 63 0 65 0;
#P hidden connect 65 0 56 0;
#P hidden fasten 18 1 27 0 63 250 212 250;
#P hidden connect 29 0 27 0;
#P hidden fasten 42 0 27 0 124 310 212 310;
#P hidden fasten 40 0 27 0 57 310 212 310;
#P hidden connect 27 0 28 0;
#P hidden connect 28 0 32 0;
#P hidden connect 59 0 56 1;
#P hidden connect 60 0 56 2;
#P hidden connect 28 1 33 0;
#P hidden connect 31 0 29 0;
#P hidden fasten 49 1 27 1 248 300;
#P hidden connect 30 0 31 0;
#P hidden fasten 25 0 43 0 418 338 369 338 369 40 379 40;
#P hidden connect 72 0 85 0;
#P hidden connect 32 0 80 0;
#P hidden connect 71 0 72 0;
#P hidden connect 80 0 71 0;
#P hidden connect 73 0 85 1;
#P hidden fasten 18 0 19 0 14 239 170 239 170 183 418 183;
#P hidden connect 19 0 21 0;
#P hidden connect 21 0 22 0;
#P hidden connect 22 0 25 0;
#P hidden connect 22 1 23 0;
#P hidden connect 23 0 24 0;
#P hidden connect 74 0 85 2;
#P hidden fasten 24 0 25 1 435 302 470 302;
#P hidden connect 33 0 81 0;
#P hidden connect 20 0 21 1;
#P hidden fasten 18 1 20 0 63 246 176 246 176 181 495 181;
#P hidden connect 81 0 82 0;
#P hidden connect 82 0 84 0;
#P hidden connect 84 0 75 0;
#P hidden connect 78 0 75 1;
#P hidden connect 48 0 47 0;
#P hidden connect 47 0 45 0;
#P hidden connect 79 0 75 2;
#P hidden connect 48 0 46 0;
#P hidden connect 46 0 44 0;
#P pop;

#35414
Jan 17, 2008 at 6:46am

Ty
Sent from my BlackBerry device on the Rogers Wireless Network

—–Original Message—–
From: anxo

Date: Thu, 17 Jan 2008 02:28:07
Subject: [jitter] new to max question about the patch in make magazine

Hello, sorry for my english, I am really new to max I was trying to use the patch from “make magazine” to detect two points with the webcam and use that to scratch two quicktime movies.
the problem is that the patch is not really working, it has a problem with one part, I saw another person in this forum asking the same thing but he did not get any answer. the problem with the patch is somehow jitscissor, the max window just says mismatch dim, i was trying to change things around and I did try jitsplit and this allow to see the second screen but it allows you to track only one point,
I do really appreciate the help I imagine it is such a stupid thing but I just started with max, thanks.

the patch is this.

max v2;
#N vpatcher 14 42 1184 671;
#P origin 12 20;
#P window setfont “Sans Serif” 9.;
#P window linecount 3;
#P comment 580 558 100 196617 Double-click to select MIDI output device;
#P comment 194 558 100 196617 Double-click to select MIDI output device;
#P window linecount 1;
#P comment 372 23 170 196617 Dots represent points being tracked.;
#B frgb 255 255 255;
#P window linecount 14;
#P user com 543 206 429 196617 333;
#K set 0 21345 28016 27749 8301 28532 26991 28192 29810 24931 27497 28263 8308 28448 19785 17481 8304 24948 25448 8292 25974 25964 28528 25956 8290 31008 20581 29797 29216 19305 29294 8294 28530 8269 24939 25888 19809 26465 31337 28261 8227 13344 26740 29808 14895 12141 24939 25978 26990 25902 25455 27951 12340 12132 27001 24417 26994 29539 29281 29795 26671 3341 21608 26995 8311 28530 27424 26995 8300 26979 25966 29541 25632 30062 25701 29216 29800 25888 17266 25953 29801 30309 8259 28525 28015 28275 8257 29812 29289 25205 29801 28526 8268 26979 25966 29541 11808 21615 8310 26981 30496;
#K set 100 24864 25455 28793 8303 26144 29800 26995 8300 26979 25966 29541 11296 30313 29545 29728 26740 29808 14895 12131 29285 24948 26998 25955 28525 28015 28275 11887 29287 12140 26979 25966 29541 29487 25209 12082 11829 12064 28530 8307 25966 25632 24864 27749 29812 25970 8308 28448 17266 25953 29801 30309 8259 28525 28015 28275 11296 13620 13088 18543 30561 29284 8275 29810 25957 29740 8245 29800 8262 27759 28530 11296 21345 28192 18034 24942 25449 29539 28460 8259 24940 26982 28530 28265 24876 8249 13361 12341 11296 21843 16686 3341 21608 24942 27507 8308 28448 19045 24942 11597 24946;
#K set 200 25376 20581 27756 25972 26981 29216 26223 29216 25462 11882 26996 8289 28260 8307 24941 28780 25888 25455 25701 11789 26740 29808 14895 12151 30583 11881 24941 24947 11873 25390 27248 12158 27247 30305 28208 12847 25462 12045 3412 28448 28001 27493 8308 26725 8301 28531 29728 30067 25888 28518 8308 26729 29472 28769 29795 26668 8293 25705 29728 24942 25632 24932 24944 29728 26996 8309 29545 28263 8259 31075 27753 28263 8231 14132 8269 24952 12109 21328 8289 28260 8266 26996 29797 29243 8202 25701 28015 8310 25970 29545 28526 29472 24950 24937 27745 25196 25888 24948 8311 30583;
#K set 300 11875 31075 27753 28263 14132 11875 28525 8205 3395 28525 28005 28276 29472 30565 27747 28525 25888 24948 8304 25972 25970 16483 29285 24948 25956 26983 26996 24940 28021 29545 25390 25455 27904;
#K end;
#P window linecount 1;
#P comment 436 439 69 196617 X as MIDI data;
#P newex 392 533 50 196617 ctlout 1 1;
#P hidden newex 581 460 40 196617 change;
#P comment 624 439 69 196617 Y as MIDI data;
#P number 581 439 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 474 407 133 196617 expr 128 – ($i1 * 1.067);
#P hidden newex 394 408 83 196617 expr $i1 * 0.8;
#P number 580 507 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 580 486 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 622 507 100 196617 MIDI Channel;
#P comment 622 486 100 196617 Controller#;
#P newex 581 533 61 196617 ctlout 7 1;
#P number 392 507 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 392 486 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 394 460 40 196617 change;
#P number 396 439 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 433 507 100 196617 MIDI Channel;
#P comment 433 486 100 196617 Controller#;
#P window linecount 2;
#P comment 392 558 114 196617 Double-click to select MIDI output device;
#P window linecount 1;
#P comment 50 439 69 196617 X as MIDI data;
#P newex 6 533 50 196617 ctlout 1 1;
#P hidden newex 195 460 40 196617 change;
#P comment 238 439 69 196617 Y as MIDI data;
#P number 195 439 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 87 412 133 196617 expr 128 – ($i1 * 1.067);
#P hidden newex 9 412 83 196617 expr $i1 * 0.8;
#P number 197 507 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 197 486 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 239 507 100 196617 MIDI Channel;
#P comment 239 486 100 196617 Controller#;
#P newex 195 533 61 196617 ctlout 7 1;
#P number 10 507 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 10 486 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 8 460 40 196617 change;
#P number 9 439 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 52 507 100 196617 MIDI Channel;
#P comment 52 486 100 196617 Controller#;
#N vpatcher 126 129 403 364;
#P window setfont “Sans Serif” 9.;
#P hidden newex 109 188 104 196617 bgcolor 210 210 195;
#P outlet 96 146 15 0;
#P outlet 25 146 15 0;
#P inlet 25 33 15 0;
#P newex 96 119 28 196617 pack;
#P newex 25 119 28 196617 pack;
#P newex 106 80 53 196617 cycle 4;
#P newex 25 80 53 196617 cycle 4;
#P newex 25 56 91 196617 unpack;
#P connect 5 0 0 0;
#P connect 0 0 1 0;
#P connect 1 0 3 0;
#P connect 3 0 6 0;
#P fasten 2 0 3 1 111 110 48 110;
#P fasten 1 2 4 0 58 106 101 106;
#P connect 4 0 7 0;
#P connect 0 1 2 0;
#P fasten 2 2 4 1 139 108 119 108;
#P pop;
#P hidden newobj 192 222 61 196617 p cycle_list;
#P hidden newex 646 39 44 196617 loadbang;
#P hidden message 623 78 18 196617 11;
#P hidden message 691 78 14 196617 5;
#P hidden newex 623 106 58 196617 s tolerance;
#P hidden newex 691 105 62 196617 s dispersion;
#P user jit.pwindow 373 43 162 122 0 1 0 0 1 0;
#P hidden message 119 285 69 196617 dispersion $1;
#P hidden newex 119 261 62 196617 r dispersion;
#P hidden message 52 286 65 196617 tolerance $1;
#P number 54 377 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 9 377 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 9 343 55 196617 unpack 0 0;
#P hidden newex 9 318 85 196617 cv.jit.trackgroup;
#P hidden newex 52 262 58 196617 r tolerance;
#P window linecount 2;
#P comment 105 372 69 196617 Coordinates of first point.;
#P number 252 374 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 207 374 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P hidden message 294 262 20 196617 12;
#P hidden newex 294 234 45 196617 loadbang;
#P hidden message 280 289 50 196617 offset $1;
#P hidden newex 207 342 55 196617 unpack 0 0;
#P hidden newex 207 317 85 196617 cv.jit.trackgroup;
#P window linecount 2;
#P comment 296 371 83 196617 Coordinates of second point.;
#P window linecount 1;
#P hidden newex 413 309 62 196617 jit.op @op +;
#P hidden newex 430 279 105 196617 jit.op @op * @val 0.6;
#P hidden newex 430 259 64 196617 jit.matrix in;
#P hidden newex 413 238 27 196617 t l b;
#P hidden newex 413 213 86 196617 jit.op @op +;
#N vpatcher 40 55 433 409;
#P window setfont “Sans Serif” 9.;
#P hidden newex 247 241 104 196617 bgcolor 210 210 195;
#P outlet 60 268 15 0;
#P inlet 60 38 15 0;
#P newex 60 244 55 196617 jit.hsl2rgb;
#P newex 60 108 53 196617 t l l l l;
#P newex 60 219 53 196617 jit.pack;
#P newex 203 156 105 196617 jit.op @op * @val 0.5;
#P newex 88 156 105 196617 jit.op @op * @val 0.5;
#P newex 60 85 99 196617 jit.op @op != @val 0;
#P newex 60 60 158 196617 cv.jit.trackpoints @size 160 120;
#P connect 7 0 0 0;
#P connect 0 0 1 0;
#P connect 1 0 5 0;
#P connect 5 0 4 0;
#P connect 4 0 6 0;
#P connect 6 0 8 0;
#P fasten 2 0 4 1 93 205 79 205;
#P connect 5 2 2 0;
#P fasten 5 1 4 2 79 198 93 198;
#P fasten 3 0 4 3 208 191 107 191;
#P connect 5 3 3 0;
#P pop;
#P hidden newobj 490 188 75 196617 p paint_points2;
#N vpatcher 40 55 433 409;
#P window setfont “Sans Serif” 9.;
#P hidden newex 247 241 104 196617 bgcolor 210 210 195;
#P outlet 60 268 15 0;
#P inlet 60 38 15 0;
#P newex 60 244 55 196617 jit.hsl2rgb;
#P newex 60 108 53 196617 t l l l l;
#P newex 60 219 53 196617 jit.pack;
#P newex 203 156 105 196617 jit.op @op * @val 0.5;
#P newex 88 156 112 196617 jit.op @op * @val 0.15;
#P newex 60 85 99 196617 jit.op @op != @val 0;
#P newex 60 60 158 196617 cv.jit.trackpoints @size 160 120;
#P connect 7 0 0 0;
#P connect 0 0 1 0;
#P connect 1 0 5 0;
#P connect 5 0 4 0;
#P connect 4 0 6 0;
#P connect 6 0 8 0;
#P fasten 2 0 4 1 93 205 79 205;
#P connect 5 2 2 0;
#P fasten 5 1 4 2 79 198 93 198;
#P fasten 3 0 4 3 208 191 107 191;
#P connect 5 3 3 0;
#P pop;
#P hidden newobj 413 189 75 196617 p paint_points1;
#P hidden newex 9 216 122 196617 jit.scissors @columns 2;
#P hidden newex 9 186 118 196617 cv.jit.track @npoints 24;
#P hidden newex 192 194 60 196617 route mouse;
#P comment 188 23 170 196617 Click inside image to select points.;
#B frgb 255 255 255;
#P user jit.pwindow 188 44 162 122 0 1 0 0 1 0;
#P user panel 179 15 367 157;
#X brgb 140 140 140;
#X frgb 0 0 0;
#X border 0;
#X rounded 20;
#X shadow 0;
#X done;
#P hidden newex 9 150 64 196617 jit.rgb2luma;
#P hidden newex 9 117 138 196617 jit.matrix in 4 char 160 120;
#P message 80 79 44 196617 settings;
#P comment 31 25 105 196617 ON/OFF;
#P message 93 48 31 196617 close;
#P message 62 48 28 196617 open;
#P toggle 9 24 15 0;
#P hidden newex 9 48 49 196617 qmetro 2;
#P hidden newex 9 78 54 196617 jit.qt.grab;
#P user panel 1 14 162 94;
#X brgb 78 238 26;
#X frgb 0 0 0;
#X border 0;
#X rounded 20;
#X shadow 0;
#X done;
#P window linecount 2;
#P comment 6 558 114 196617 Double-click to select MIDI output device;
#P user panel 2 369 374 33;
#X brgb 210 210 195;
#X frgb 140 140 140;
#X border 1;
#X rounded 20;
#X shadow 0;
#X done;
#P user panel 2 434 731 161;
#X brgb 78 238 26;
#X frgb 0 0 0;
#X border 0;
#X rounded 20;
#X shadow 0;
#X done;
#P hidden connect 53 0 66 0;
#P hidden connect 52 0 53 0;
#P hidden connect 6 0 5 0;
#P hidden fasten 8 0 4 0 98 70 14 70;
#P hidden fasten 7 0 4 0 67 70 14 70;
#P hidden connect 5 0 4 0;
#P hidden connect 10 0 4 0;
#P hidden connect 4 0 11 0;
#P hidden connect 11 0 12 0;
#P hidden connect 12 0 17 0;
#P hidden connect 36 1 17 0;
#P hidden connect 27 1 17 0;
#P hidden connect 17 0 18 0;
#P hidden connect 18 0 36 0;
#P hidden fasten 40 0 36 0 57 311 14 311;
#P hidden fasten 42 0 36 0 124 311 14 311;
#P hidden connect 36 0 37 0;
#P hidden connect 37 0 38 0;
#P hidden connect 38 0 61 0;
#P hidden connect 61 0 52 0;
#P hidden connect 54 0 66 1;
#P hidden connect 55 0 66 2;
#P hidden connect 35 0 40 0;
#P hidden connect 37 1 39 0;
#P hidden fasten 49 0 36 1 197 301;
#P hidden connect 39 0 62 0;
#P hidden connect 41 0 42 0;
#P hidden fasten 11 0 14 0 14 143 173 143 173 40 194 40;
#P hidden fasten 14 1 16 0 344 184;
#P hidden connect 16 0 49 0;
#P hidden connect 62 0 63 0;
#P hidden connect 63 0 65 0;
#P hidden connect 65 0 56 0;
#P hidden fasten 18 1 27 0 63 250 212 250;
#P hidden connect 29 0 27 0;
#P hidden fasten 42 0 27 0 124 310 212 310;
#P hidden fasten 40 0 27 0 57 310 212 310;
#P hidden connect 27 0 28 0;
#P hidden connect 28 0 32 0;
#P hidden connect 59 0 56 1;
#P hidden connect 60 0 56 2;
#P hidden connect 28 1 33 0;
#P hidden connect 31 0 29 0;
#P hidden fasten 49 1 27 1 248 300;
#P hidden connect 30 0 31 0;
#P hidden fasten 25 0 43 0 418 338 369 338 369 40 379 40;
#P hidden connect 72 0 85 0;
#P hidden connect 32 0 80 0;
#P hidden connect 71 0 72 0;
#P hidden connect 80 0 71 0;
#P hidden connect 73 0 85 1;
#P hidden fasten 18 0 19 0 14 239 170 239 170 183 418 183;
#P hidden connect 19 0 21 0;
#P hidden connect 21 0 22 0;
#P hidden connect 22 0 25 0;
#P hidden connect 22 1 23 0;
#P hidden connect 23 0 24 0;
#P hidden connect 74 0 85 2;
#P hidden fasten 24 0 25 1 435 302 470 302;
#P hidden connect 33 0 81 0;
#P hidden connect 20 0 21 1;
#P hidden fasten 18 1 20 0 63 246 176 246 176 181 495 181;
#P hidden connect 81 0 82 0;
#P hidden connect 82 0 84 0;
#P hidden connect 84 0 75 0;
#P hidden connect 78 0 75 1;
#P hidden connect 48 0 47 0;
#P hidden connect 47 0 45 0;
#P hidden connect 79 0 75 2;
#P hidden connect 48 0 46 0;
#P hidden connect 46 0 44 0;
#P pop;

#120687
Jan 17, 2008 at 10:12am

sorry i did not understand if this was a message, an answer or something

#120688
Jan 17, 2008 at 4:33pm

cv.jit.trackpoints is not a valid cv object (not on my latest windows
cv.jitpackage anyways).
i would contact peter for clarifying this. but that is a start

On Jan 17, 2008 12:12 PM, anxo < angelvcu@yahoo.com> wrote:

>
> sorry i did not understand if this was a message, an answer or something
>

#120689
Jan 17, 2008 at 4:36pm

don’t contact peter(!), this patch is two years old. get a cv.jit package
that fits. probably the first one.

On Jan 17, 2008 6:33 PM, yair reshef wrote:

> cv.jit.trackpoints is not a valid cv object (not on my latest windows
> cv.jit package anyways).
> i would contact peter for clarifying this. but that is a start
>
>
> On Jan 17, 2008 12:12 PM, anxo < angelvcu@yahoo.com> wrote:
>
> >
> > sorry i did not understand if this was a message, an answer or something
> >
> >
>
>

#120690
Jan 19, 2008 at 6:18pm

to clear up any confusion, the patch from MAKE mag. requires an object that does not come with the jitter collection.

in order to install the required objects:

1.
click on the link below.

http://www.iamas.ac.jp/~jovan02/cv/download.html

2.
download the proper file

3.
follow the instructions in the readMe-installation file

4.
restart max

#120691
Jan 19, 2008 at 7:28pm

I am able to open the patch in Max 4.5, but not 4.6…. I have successfully opened the patch in 4.6 by removing the jit.scissors object from the patch (I have not looked closely enough at the patch to know what the jit.scissors object does for this particular patch, although it seems to be working fine without it).

#P outlet 189 -74 15 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 3;
#P comment 647 510 100 196617 Double-click to select MIDI output device;
#P comment 261 510 100 196617 Double-click to select MIDI output device;
#P window linecount 1;
#P comment 439 -25 170 196617 Dots represent points being tracked.;
#B frgb 255 255 255;
#P window linecount 14;
#P user com 610 158 429 196617 333;
#K set 0 21345 28016 27749 8301 28532 26991 28192 29810 24931 27497 28263 8308 28448 19785 17481 8304 24948 25448 8292 25974 25964 28528 25956 8290 31008 20581 29797 29216 19305 29294 8294 28530 8269 24939 25888 19809 26465 31337 28261 8227 13344 26740 29808 14895 12141 24939 25978 26990 25902 25455 27951 12340 12132 27001 24417 26994 29539 29281 29795 26671 3341 21608 26995 8311 28530 27424 26995 8300 26979 25966 29541 25632 30062 25701 29216 29800 25888 17266 25953 29801 30309 8259 28525 28015 28275 8257 29812 29289 25205 29801 28526 8268 26979 25966 29541 11808 21615 8310 26981 30496;
#K set 100 24864 25455 28793 8303 26144 29800 26995 8300 26979 25966 29541 11296 30313 29545 29728 26740 29808 14895 12131 29285 24948 26998 25955 28525 28015 28275 11887 29287 12140 26979 25966 29541 29487 25209 12082 11829 12064 28530 8307 25966 25632 24864 27749 29812 25970 8308 28448 17266 25953 29801 30309 8259 28525 28015 28275 11296 13620 13088 18543 30561 29284 8275 29810 25957 29740 8245 29800 8262 27759 28530 11296 21345 28192 18034 24942 25449 29539 28460 8259 24940 26982 28530 28265 24876 8249 13361 12341 11296 21843 16686 3341 21608 24942 27507 8308 28448 19045 24942 11597 24946;
#K set 200 25376 20581 27756 25972 26981 29216 26223 29216 25462 11882 26996 8289 28260 8307 24941 28780 25888 25455 25701 11789 26740 29808 14895 12151 30583 11881 24941 24947 11873 25390 27248 12158 27247 30305 28208 12847 25462 12045 3412 28448 28001 27493 8308 26725 8301 28531 29728 30067 25888 28518 8308 26729 29472 28769 29795 26668 8293 25705 29728 24942 25632 24932 24944 29728 26996 8309 29545 28263 8259 31075 27753 28263 8231 14132 8269 24952 12109 21328 8289 28260 8266 26996 29797 29243 8202 25701 28015 8310 25970 29545 28526 29472 24950 24937 27745 25196 25888 24948 8311 30583;
#K set 300 11875 31075 27753 28263 14132 11875 28525 8205 3395 28525 28005 28276 29472 30565 27747 28525 25888 24948 8304 25972 25970 16483 29285 24948 25956 26983 26996 24940 28021 29545 25390 25455 27904;
#K end;
#P window linecount 1;
#P comment 503 391 69 196617 X as MIDI data;
#P newex 459 485 50 196617 ctlout 1 1;
#P hidden newex 648 412 40 196617 change;
#P comment 691 391 69 196617 Y as MIDI data;
#P number 648 391 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 541 359 133 196617 expr 128 – ($i1 * 1.067);
#P hidden newex 461 360 83 196617 expr $i1 * 0.8;
#P number 647 459 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 647 438 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 689 459 100 196617 MIDI Channel;
#P comment 689 438 100 196617 Controller#;
#P newex 648 485 61 196617 ctlout 7 1;
#P number 459 459 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 459 438 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 461 412 40 196617 change;
#P number 463 391 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 500 459 100 196617 MIDI Channel;
#P comment 500 438 100 196617 Controller#;
#P window linecount 2;
#P comment 459 510 114 196617 Double-click to select MIDI output device;
#P window linecount 1;
#P comment 117 391 69 196617 X as MIDI data;
#P newex 73 485 50 196617 ctlout 1 1;
#P hidden newex 262 412 40 196617 change;
#P comment 305 391 69 196617 Y as MIDI data;
#P number 262 391 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 154 364 133 196617 expr 128 – ($i1 * 1.067);
#P hidden newex 76 364 83 196617 expr $i1 * 0.8;
#P number 264 459 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 264 438 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 306 459 100 196617 MIDI Channel;
#P comment 306 438 100 196617 Controller#;
#P newex 262 485 61 196617 ctlout 7 1;
#P number 77 459 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 77 438 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 75 412 40 196617 change;
#P number 76 391 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 119 459 100 196617 MIDI Channel;
#P comment 119 438 100 196617 Controller#;
#N vpatcher 126 129 403 364;
#P window setfont “Sans Serif” 9.;
#P hidden newex 109 188 104 196617 bgcolor 210 210 195;
#P outlet 96 146 15 0;
#P outlet 25 146 15 0;
#P inlet 25 33 15 0;
#P newex 96 119 28 196617 pack;
#P newex 25 119 28 196617 pack;
#P newex 106 80 53 196617 cycle 4;
#P newex 25 80 53 196617 cycle 4;
#P newex 25 56 91 196617 unpack;
#P connect 5 0 0 0;
#P connect 0 0 1 0;
#P connect 1 0 3 0;
#P connect 3 0 6 0;
#P fasten 2 0 3 1 111 110 48 110;
#P fasten 1 2 4 0 58 106 101 106;
#P connect 4 0 7 0;
#P connect 0 1 2 0;
#P fasten 2 2 4 1 139 108 119 108;
#P pop;
#P hidden newobj 259 174 61 196617 p cycle_list;
#P hidden newex 713 -9 44 196617 loadbang;
#P hidden message 690 30 18 196617 11;
#P hidden message 758 30 14 196617 5;
#P hidden newex 690 58 58 196617 s tolerance;
#P hidden newex 758 57 62 196617 s dispersion;
#P user jit.pwindow 440 -5 162 122 0 1 0 0 1 0;
#P hidden message 186 237 69 196617 dispersion $1;
#P hidden newex 186 213 62 196617 r dispersion;
#P hidden message 119 238 65 196617 tolerance $1;
#P number 121 329 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 76 329 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 76 295 55 196617 unpack 0 0;
#P hidden newex 76 270 85 196617 cv.jit.trackgroup;
#P hidden newex 119 214 58 196617 r tolerance;
#P window linecount 2;
#P comment 172 324 69 196617 Coordinates of first point.;
#P number 319 326 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 274 326 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P hidden message 361 214 20 196617 12;
#P hidden newex 361 186 45 196617 loadbang;
#P hidden message 347 241 50 196617 offset $1;
#P hidden newex 274 294 55 196617 unpack 0 0;
#P hidden newex 274 269 85 196617 cv.jit.trackgroup;
#P window linecount 2;
#P comment 363 323 83 196617 Coordinates of second point.;
#P window linecount 1;
#P hidden newex 480 261 62 196617 jit.op @op +;
#P hidden newex 497 231 105 196617 jit.op @op * @val 0.6;
#P hidden newex 497 211 64 196617 jit.matrix in;
#P hidden newex 480 190 27 196617 t l b;
#P hidden newex 480 165 86 196617 jit.op @op +;
#N vpatcher 40 55 433 409;
#P window setfont “Sans Serif” 9.;
#P hidden newex 247 241 104 196617 bgcolor 210 210 195;
#P outlet 60 268 15 0;
#P inlet 60 38 15 0;
#P newex 60 244 55 196617 jit.hsl2rgb;
#P newex 60 108 53 196617 t l l l l;
#P newex 60 219 53 196617 jit.pack;
#P newex 203 156 105 196617 jit.op @op * @val 0.5;
#P newex 88 156 105 196617 jit.op @op * @val 0.5;
#P newex 60 85 99 196617 jit.op @op != @val 0;
#P newex 60 60 158 196617 cv.jit.trackpoints @size 160 120;
#P connect 7 0 0 0;
#P connect 0 0 1 0;
#P connect 1 0 5 0;
#P connect 5 0 4 0;
#P connect 4 0 6 0;
#P connect 6 0 8 0;
#P fasten 2 0 4 1 93 205 79 205;
#P connect 5 2 2 0;
#P fasten 5 1 4 2 79 198 93 198;
#P fasten 3 0 4 3 208 191 107 191;
#P connect 5 3 3 0;
#P pop;
#P hidden newobj 557 140 75 196617 p paint_points2;
#N vpatcher 40 55 433 409;
#P window setfont “Sans Serif” 9.;
#P hidden newex 247 241 104 196617 bgcolor 210 210 195;
#P outlet 60 268 15 0;
#P inlet 60 38 15 0;
#P newex 60 244 55 196617 jit.hsl2rgb;
#P newex 60 108 53 196617 t l l l l;
#P newex 60 219 53 196617 jit.pack;
#P newex 203 156 105 196617 jit.op @op * @val 0.5;
#P newex 88 156 112 196617 jit.op @op * @val 0.15;
#P newex 60 85 99 196617 jit.op @op != @val 0;
#P newex 60 60 158 196617 cv.jit.trackpoints @size 160 120;
#P connect 7 0 0 0;
#P connect 0 0 1 0;
#P connect 1 0 5 0;
#P connect 5 0 4 0;
#P connect 4 0 6 0;
#P connect 6 0 8 0;
#P fasten 2 0 4 1 93 205 79 205;
#P connect 5 2 2 0;
#P fasten 5 1 4 2 79 198 93 198;
#P fasten 3 0 4 3 208 191 107 191;
#P connect 5 3 3 0;
#P pop;
#P hidden newobj 480 141 75 196617 p paint_points1;
#P hidden newex 76 138 118 196617 cv.jit.track @npoints 24;
#P hidden newex 259 146 60 196617 route mouse;
#P comment 255 -25 170 196617 Click inside image to select points.;
#B frgb 255 255 255;
#P user jit.pwindow 255 -4 162 122 0 1 0 0 1 0;
#P user panel 246 -33 367 157;
#X brgb 140 140 140;
#X frgb 0 0 0;
#X border 0;
#X rounded 20;
#X shadow 0;
#X done;
#P hidden newex 76 102 64 196617 jit.rgb2luma;
#P hidden newex 76 69 138 196617 jit.matrix in 4 char 160 120;
#P message 147 31 44 196617 settings;
#P comment 98 -23 105 196617 ON/OFF;
#P message 160 0 31 196617 close;
#P message 129 0 28 196617 open;
#P toggle 76 -24 15 0;
#P hidden newex 76 0 49 196617 qmetro 2;
#P hidden newex 76 30 54 196617 jit.qt.grab;
#P user panel 68 -34 162 94;
#X brgb 78 238 26;
#X frgb 0 0 0;
#X border 0;
#X rounded 20;
#X shadow 0;
#X done;
#P window linecount 2;
#P comment 73 510 114 196617 Double-click to select MIDI output device;
#P user panel 69 321 374 33;
#X brgb 210 210 195;
#X frgb 140 140 140;
#X border 1;
#X rounded 20;
#X shadow 0;
#X done;
#P user panel 69 386 731 161;
#X brgb 78 238 26;
#X frgb 0 0 0;
#X border 0;
#X rounded 20;
#X shadow 0;
#X done;
#P hidden connect 52 0 65 0;
#P hidden connect 51 0 52 0;
#P hidden connect 6 0 5 0;
#P hidden fasten 8 0 4 0 165 22 81 22;
#P hidden fasten 7 0 4 0 134 22 81 22;
#P hidden connect 5 0 4 0;
#P hidden connect 10 0 4 0;
#P hidden connect 4 0 11 0;
#P hidden connect 12 0 17 0;
#P hidden connect 35 1 17 0;
#P hidden connect 26 1 17 0;
#P hidden fasten 39 0 35 0 124 263 81 263;
#P hidden fasten 39 0 26 0 124 262 279 262;
#P hidden connect 35 0 36 0;
#P hidden connect 36 0 37 0;
#P hidden connect 37 0 60 0;
#P hidden connect 60 0 51 0;
#P hidden connect 53 0 65 1;
#P hidden connect 54 0 65 2;
#P hidden connect 34 0 39 0;
#P hidden connect 36 1 38 0;
#P hidden fasten 48 0 35 1 264 253;
#P hidden connect 38 0 61 0;
#P hidden connect 40 0 41 0;
#P hidden fasten 11 0 14 0 81 95 240 95 240 -8 261 -8;
#P hidden connect 11 0 12 0;
#P hidden fasten 14 1 16 0 411 136;
#P hidden connect 16 0 48 0;
#P hidden connect 61 0 62 0;
#P hidden connect 62 0 64 0;
#P hidden connect 64 0 55 0;
#P hidden connect 28 0 26 0;
#P hidden fasten 41 0 26 0 191 262 279 262;
#P hidden fasten 41 0 35 0 191 263 81 263;
#P hidden connect 26 0 27 0;
#P hidden connect 27 0 31 0;
#P hidden connect 58 0 55 1;
#P hidden connect 59 0 55 2;
#P hidden connect 27 1 32 0;
#P hidden connect 30 0 28 0;
#P hidden fasten 48 1 26 1 315 252;
#P hidden connect 29 0 30 0;
#P hidden fasten 24 0 42 0 485 290 436 290 436 -8 446 -8;
#P hidden connect 71 0 84 0;
#P hidden connect 31 0 79 0;
#P hidden connect 70 0 71 0;
#P hidden connect 79 0 70 0;
#P hidden connect 72 0 84 1;
#P hidden connect 18 0 20 0;
#P hidden connect 20 0 21 0;
#P hidden connect 21 0 24 0;
#P hidden connect 21 1 22 0;
#P hidden connect 22 0 23 0;
#P hidden connect 73 0 84 2;
#P hidden fasten 23 0 24 1 502 254 537 254;
#P hidden connect 32 0 80 0;
#P hidden connect 19 0 20 1;
#P hidden connect 80 0 81 0;
#P hidden connect 81 0 83 0;
#P hidden connect 83 0 74 0;
#P hidden connect 77 0 74 1;
#P hidden connect 46 0 44 0;
#P hidden connect 78 0 74 2;
#P hidden connect 47 0 45 0;
#P hidden connect 47 0 46 0;
#P hidden connect 45 0 43 0;
#P connect 17 0 18 0;
#P connect 17 0 26 0;
#P connect 17 0 35 0;
#P window clipboard copycount 91;

#120692
Jan 19, 2008 at 7:46pm

well oliver was it worth it? :)

On Jan 19, 2008 9:29 PM, oliver

wrote:

>
> I am able to open the patch in Max 4.5, but not 4.6…. I have
> successfully opened the patch in 4.6 by removing the jit.scissors object
> from the patch (I have not looked closely enough at the patch to know what
> the jit.scissors object does for this particular patch, although it seems
> to be working fine without it).
>
> #P outlet 189 -74 15 0;
> #P window setfont “Sans Serif” 9.;
> #P window linecount 3;
> #P comment 647 510 100 196617 Double-click to select MIDI output device;
> #P comment 261 510 100 196617 Double-click to select MIDI output device;
> #P window linecount 1;
> #P comment 439 -25 170 196617 Dots represent points being tracked.;
> #B frgb 255 255 255;
> #P window linecount 14;
> #P user com 610 158 429 196617 333;
> #K set 0 21345 28016 27749 8301 28532 26991 28192 29810 24931 27497 28263
> 8308 28448 19785 17481 8304 24948 25448 8292 25974 25964 28528 25956 8290
> 31008 20581 29797 29216 19305 29294 8294 28530 8269 24939 25888 19809 26465
> 31337 28261 8227 13344 26740 29808 14895 12141 24939 25978 26990 25902 25455
> 27951 12340 12132 27001 24417 26994 29539 29281 29795 26671 3341 21608 26995
> 8311 28530 27424 26995 8300 26979 25966 29541 25632 30062 25701 29216 29800
> 25888 17266 25953 29801 30309 8259 28525 28015 28275 8257 29812 29289 25205
> 29801 28526 8268 26979 25966 29541 11808 21615 8310 26981 30496;
> #K set 100 24864 25455 28793 8303 26144 29800 26995 8300 26979 25966 29541
> 11296 30313 29545 29728 26740 29808 14895 12131 29285 24948 26998 25955
> 28525 28015 28275 11887 29287 12140 26979 25966 29541 29487 25209 12082
> 11829 12064 28530 8307 25966 25632 24864 27749 29812 25970 8308 28448 17266
> 25953 29801 30309 8259 28525 28015 28275 11296 13620 13088 18543 30561 29284
> 8275 29810 25957 29740 8245 29800 8262 27759 28530 11296 21345 28192 18034
> 24942 25449 29539 28460 8259 24940 26982 28530 28265 24876 8249 13361 12341
> 11296 21843 16686 3341 21608 24942 27507 8308 28448 19045 24942 11597 24946;
> #K set 200 25376 20581 27756 25972 26981 29216 26223 29216 25462 11882
> 26996 8289 28260 8307 24941 28780 25888 25455 25701 11789 26740 29808 14895
> 12151 30583 11881 24941 24947 11873 25390 27248 12158 27247 30305 28208
> 12847 25462 12045 3412 28448 28001 27493 8308 26725 8301 28531 29728 30067
> 25888 28518 8308 26729 29472 28769 29795 26668 8293 25705 29728 24942 25632
> 24932 24944 29728 26996 8309 29545 28263 8259 31075 27753 28263 8231 14132
> 8269 24952 12109 21328 8289 28260 8266 26996 29797 29243 8202 25701 28015
> 8310 25970 29545 28526 29472 24950 24937 27745 25196 25888 24948 8311 30583;
> #K set 300 11875 31075 27753 28263 14132 11875 28525 8205 3395 28525 28005
> 28276 29472 30565 27747 28525 25888 24948 8304 25972 25970 16483 29285 24948
> 25956 26983 26996 24940 28021 29545 25390 25455 27904;
> #K end;
> #P window linecount 1;
> #P comment 503 391 69 196617 X as MIDI data;
> #P newex 459 485 50 196617 ctlout 1 1;
> #P hidden newex 648 412 40 196617 change;
> #P comment 691 391 69 196617 Y as MIDI data;
> #P number 648 391 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P hidden newex 541 359 133 196617 expr 128 – ($i1 * 1.067);
> #P hidden newex 461 360 83 196617 expr $i1 * 0.8;
> #P number 647 459 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P number 647 438 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P comment 689 459 100 196617 MIDI Channel;
> #P comment 689 438 100 196617 Controller#;
> #P newex 648 485 61 196617 ctlout 7 1;
> #P number 459 459 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P number 459 438 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P hidden newex 461 412 40 196617 change;
> #P number 463 391 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P comment 500 459 100 196617 MIDI Channel;
> #P comment 500 438 100 196617 Controller#;
> #P window linecount 2;
> #P comment 459 510 114 196617 Double-click to select MIDI output device;
> #P window linecount 1;
> #P comment 117 391 69 196617 X as MIDI data;
> #P newex 73 485 50 196617 ctlout 1 1;
> #P hidden newex 262 412 40 196617 change;
> #P comment 305 391 69 196617 Y as MIDI data;
> #P number 262 391 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P hidden newex 154 364 133 196617 expr 128 – ($i1 * 1.067);
> #P hidden newex 76 364 83 196617 expr $i1 * 0.8;
> #P number 264 459 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P number 264 438 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P comment 306 459 100 196617 MIDI Channel;
> #P comment 306 438 100 196617 Controller#;
> #P newex 262 485 61 196617 ctlout 7 1;
> #P number 77 459 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P number 77 438 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P hidden newex 75 412 40 196617 change;
> #P number 76 391 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P comment 119 459 100 196617 MIDI Channel;
> #P comment 119 438 100 196617 Controller#;
> #N vpatcher 126 129 403 364;
> #P window setfont “Sans Serif” 9.;
> #P hidden newex 109 188 104 196617 bgcolor 210 210 195;
> #P outlet 96 146 15 0;
> #P outlet 25 146 15 0;
> #P inlet 25 33 15 0;
> #P newex 96 119 28 196617 pack;
> #P newex 25 119 28 196617 pack;
> #P newex 106 80 53 196617 cycle 4;
> #P newex 25 80 53 196617 cycle 4;
> #P newex 25 56 91 196617 unpack;
> #P connect 5 0 0 0;
> #P connect 0 0 1 0;
> #P connect 1 0 3 0;
> #P connect 3 0 6 0;
> #P fasten 2 0 3 1 111 110 48 110;
> #P fasten 1 2 4 0 58 106 101 106;
> #P connect 4 0 7 0;
> #P connect 0 1 2 0;
> #P fasten 2 2 4 1 139 108 119 108;
> #P pop;
> #P hidden newobj 259 174 61 196617 p cycle_list;
> #P hidden newex 713 -9 44 196617 loadbang;
> #P hidden message 690 30 18 196617 11;
> #P hidden message 758 30 14 196617 5;
> #P hidden newex 690 58 58 196617 s tolerance;
> #P hidden newex 758 57 62 196617 s dispersion;
> #P user jit.pwindow 440 -5 162 122 0 1 0 0 1 0;
> #P hidden message 186 237 69 196617 dispersion $1;
> #P hidden newex 186 213 62 196617 r dispersion;
> #P hidden message 119 238 65 196617 tolerance $1;
> #P number 121 329 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P number 76 329 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P hidden newex 76 295 55 196617 unpack 0 0;
> #P hidden newex 76 270 85 196617 cv.jit.trackgroup;
> #P hidden newex 119 214 58 196617 r tolerance;
> #P window linecount 2;
> #P comment 172 324 69 196617 Coordinates of first point.;
> #P number 319 326 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P number 274 326 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P window linecount 1;
> #P hidden message 361 214 20 196617 12;
> #P hidden newex 361 186 45 196617 loadbang;
> #P hidden message 347 241 50 196617 offset $1;
> #P hidden newex 274 294 55 196617 unpack 0 0;
> #P hidden newex 274 269 85 196617 cv.jit.trackgroup;
> #P window linecount 2;
> #P comment 363 323 83 196617 Coordinates of second point.;
> #P window linecount 1;
> #P hidden newex 480 261 62 196617 jit.op @op +;
> #P hidden newex 497 231 105 196617 jit.op @op * @val 0.6;
> #P hidden newex 497 211 64 196617 jit.matrix in;
> #P hidden newex 480 190 27 196617 t l b;
> #P hidden newex 480 165 86 196617 jit.op @op +;
> #N vpatcher 40 55 433 409;
> #P window setfont “Sans Serif” 9.;
> #P hidden newex 247 241 104 196617 bgcolor 210 210 195;
> #P outlet 60 268 15 0;
> #P inlet 60 38 15 0;
> #P newex 60 244 55 196617 jit.hsl2rgb;
> #P newex 60 108 53 196617 t l l l l;
> #P newex 60 219 53 196617 jit.pack;
> #P newex 203 156 105 196617 jit.op @op * @val 0.5;
> #P newex 88 156 105 196617 jit.op @op * @val 0.5;
> #P newex 60 85 99 196617 jit.op @op != @val 0;
> #P newex 60 60 158 196617 cv.jit.trackpoints @size 160 120;
> #P connect 7 0 0 0;
> #P connect 0 0 1 0;
> #P connect 1 0 5 0;
> #P connect 5 0 4 0;
> #P connect 4 0 6 0;
> #P connect 6 0 8 0;
> #P fasten 2 0 4 1 93 205 79 205;
> #P connect 5 2 2 0;
> #P fasten 5 1 4 2 79 198 93 198;
> #P fasten 3 0 4 3 208 191 107 191;
> #P connect 5 3 3 0;
> #P pop;
> #P hidden newobj 557 140 75 196617 p paint_points2;
> #N vpatcher 40 55 433 409;
> #P window setfont “Sans Serif” 9.;
> #P hidden newex 247 241 104 196617 bgcolor 210 210 195;
> #P outlet 60 268 15 0;
> #P inlet 60 38 15 0;
> #P newex 60 244 55 196617 jit.hsl2rgb;
> #P newex 60 108 53 196617 t l l l l;
> #P newex 60 219 53 196617 jit.pack;
> #P newex 203 156 105 196617 jit.op @op * @val 0.5;
> #P newex 88 156 112 196617 jit.op @op * @val 0.15;
> #P newex 60 85 99 196617 jit.op @op != @val 0;
> #P newex 60 60 158 196617 cv.jit.trackpoints @size 160 120;
> #P connect 7 0 0 0;
> #P connect 0 0 1 0;
> #P connect 1 0 5 0;
> #P connect 5 0 4 0;
> #P connect 4 0 6 0;
> #P connect 6 0 8 0;
> #P fasten 2 0 4 1 93 205 79 205;
> #P connect 5 2 2 0;
> #P fasten 5 1 4 2 79 198 93 198;
> #P fasten 3 0 4 3 208 191 107 191;
> #P connect 5 3 3 0;
> #P pop;
> #P hidden newobj 480 141 75 196617 p paint_points1;
> #P hidden newex 76 138 118 196617 cv.jit.track @npoints 24;
> #P hidden newex 259 146 60 196617 route mouse;
> #P comment 255 -25 170 196617 Click inside image to select points.;
> #B frgb 255 255 255;
> #P user jit.pwindow 255 -4 162 122 0 1 0 0 1 0;
> #P user panel 246 -33 367 157;
> #X brgb 140 140 140;
> #X frgb 0 0 0;
> #X border 0;
> #X rounded 20;
> #X shadow 0;
> #X done;
> #P hidden newex 76 102 64 196617 jit.rgb2luma;
> #P hidden newex 76 69 138 196617 jit.matrix in 4 char 160 120;
> #P message 147 31 44 196617 settings;
> #P comment 98 -23 105 196617 ON/OFF;
> #P message 160 0 31 196617 close;
> #P message 129 0 28 196617 open;
> #P toggle 76 -24 15 0;
> #P hidden newex 76 0 49 196617 qmetro 2;
> #P hidden newex 76 30 54 196617 jit.qt.grab;
> #P user panel 68 -34 162 94;
> #X brgb 78 238 26;
> #X frgb 0 0 0;
> #X border 0;
> #X rounded 20;
> #X shadow 0;
> #X done;
> #P window linecount 2;
> #P comment 73 510 114 196617 Double-click to select MIDI output device;
> #P user panel 69 321 374 33;
> #X brgb 210 210 195;
> #X frgb 140 140 140;
> #X border 1;
> #X rounded 20;
> #X shadow 0;
> #X done;
> #P user panel 69 386 731 161;
> #X brgb 78 238 26;
> #X frgb 0 0 0;
> #X border 0;
> #X rounded 20;
> #X shadow 0;
> #X done;
> #P hidden connect 52 0 65 0;
> #P hidden connect 51 0 52 0;
> #P hidden connect 6 0 5 0;
> #P hidden fasten 8 0 4 0 165 22 81 22;
> #P hidden fasten 7 0 4 0 134 22 81 22;
> #P hidden connect 5 0 4 0;
> #P hidden connect 10 0 4 0;
> #P hidden connect 4 0 11 0;
> #P hidden connect 12 0 17 0;
> #P hidden connect 35 1 17 0;
> #P hidden connect 26 1 17 0;
> #P hidden fasten 39 0 35 0 124 263 81 263;
> #P hidden fasten 39 0 26 0 124 262 279 262;
> #P hidden connect 35 0 36 0;
> #P hidden connect 36 0 37 0;
> #P hidden connect 37 0 60 0;
> #P hidden connect 60 0 51 0;
> #P hidden connect 53 0 65 1;
> #P hidden connect 54 0 65 2;
> #P hidden connect 34 0 39 0;
> #P hidden connect 36 1 38 0;
> #P hidden fasten 48 0 35 1 264 253;
> #P hidden connect 38 0 61 0;
> #P hidden connect 40 0 41 0;
> #P hidden fasten 11 0 14 0 81 95 240 95 240 -8 261 -8;
> #P hidden connect 11 0 12 0;
> #P hidden fasten 14 1 16 0 411 136;
> #P hidden connect 16 0 48 0;
> #P hidden connect 61 0 62 0;
> #P hidden connect 62 0 64 0;
> #P hidden connect 64 0 55 0;
> #P hidden connect 28 0 26 0;
> #P hidden fasten 41 0 26 0 191 262 279 262;
> #P hidden fasten 41 0 35 0 191 263 81 263;
> #P hidden connect 26 0 27 0;
> #P hidden connect 27 0 31 0;
> #P hidden connect 58 0 55 1;
> #P hidden connect 59 0 55 2;
> #P hidden connect 27 1 32 0;
> #P hidden connect 30 0 28 0;
> #P hidden fasten 48 1 26 1 315 252;
> #P hidden connect 29 0 30 0;
> #P hidden fasten 24 0 42 0 485 290 436 290 436 -8 446 -8;
> #P hidden connect 71 0 84 0;
> #P hidden connect 31 0 79 0;
> #P hidden connect 70 0 71 0;
> #P hidden connect 79 0 70 0;
> #P hidden connect 72 0 84 1;
> #P hidden connect 18 0 20 0;
> #P hidden connect 20 0 21 0;
> #P hidden connect 21 0 24 0;
> #P hidden connect 21 1 22 0;
> #P hidden connect 22 0 23 0;
> #P hidden connect 73 0 84 2;
> #P hidden fasten 23 0 24 1 502 254 537 254;
> #P hidden connect 32 0 80 0;
> #P hidden connect 19 0 20 1;
> #P hidden connect 80 0 81 0;
> #P hidden connect 81 0 83 0;
> #P hidden connect 83 0 74 0;
> #P hidden connect 77 0 74 1;
> #P hidden connect 46 0 44 0;
> #P hidden connect 78 0 74 2;
> #P hidden connect 47 0 45 0;
> #P hidden connect 47 0 46 0;
> #P hidden connect 45 0 43 0;
> #P connect 17 0 18 0;
> #P connect 17 0 26 0;
> #P connect 17 0 35 0;
> #P window clipboard copycount 91;
>
>

#120693
Jan 19, 2008 at 11:59pm

Hello I was the person who ask the question before, I am sorry I am totally new to max I opened it for the first time a couple of weeks ago.
I was doing some research this last two days and I found in this forum the solution to the problem, the problem is jit.scissors I found this:
“cv.jit.track was changed in version 1.5 to output 1-dimension matrices. This was done to standardize output and make it work with other objects. jit.scissors does not work with 1-dim matrices.

It’s true that cv.jit.trackgroup is “obsolete”. A better way to achieve robust tracking now is with cv.jit.features and the “roi” attribute.

To make the old robust tracking patch work with the new cv.jit.track, you need to add [jit.dimmap @map 0 -1] between cv.jit.track and jit.scissors.”

I tried this and this works I just include in the patch jit.dimmap @map 0-1

the problem with the solution of just getting rid of jit.scissors is that it would not allow to tracker two points at the same time.

the best solution is to add jit.dimmap @map 0 1 well but anyway I was trying to track the movement of two hands and it does not do a great job it looses the tracking points from one hand to another.

Anyway thanks a lot for all the help it is my first time here in this forum and I am sure that I will be coming all the time.
I do have another question because this is not working great, I was thinking to activate something with color , I saw in the forum a patch that measures the amount of red, but it need to be a huge amount, how it would be possible to activate something when the camera perceives just something red to bang something with the color red.
Again sorry for my english and thanks for all the responses.
I was trying also to open cv.jit.features as I found in the forum to see how it works but I am unable to two extract 4 x, y points out of it
Well thanks again

#120694

You must be logged in to reply to this topic.