Forums > Jitter

usedstdm nightmare!

December 2, 2006 | 3:37 pm

This seems really stupid!

Im trying to select a part of a matrix, effect an area of the matrix and then output it back with the effected part mixed in . This patch works if I edit the matrix attributes directly in the object but doesnt if I try to send the same attributes as messages it doesnt do anything , I thinks its because of the usesrcdim usesdestdim flags but I cant think of a way around not using them!

Help!

max v2;
#N vpatcher 65 44 1275 850;
#P origin 25 28;
#P window setfont "Sans Serif" 9.;
#P number 931 227 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 884 228 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 837 229 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 790 230 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 722 229 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 675 230 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 628 231 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 581 232 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user jit.pwindow 354 513 249 200 0 1 0 0 1 0;
#P number 428 182 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 448 204 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P message 434 220 54 196617 y_step $1;
#P number 391 204 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 391 221 54 196617 x_step $1;
#P newex 314 262 42 196617 jit.plur;
#P newex 461 291 189 196617 pak dstdimstart 10 10 dstdimend 50 50;
#P newex 720 291 191 196617 pak srcdimstart 10 10 srcdimend 50 50;
#P window linecount 3;
#P newex 489 393 200 196617 jit.matrix tmp2 4 char 320 240 @dstdimstart 80 0 @dstdimend 300 180 @usedstdim 1;
#P window linecount 2;
#P newex 490 335 220 196617 jit.matrix tmp4 4 char 320 240 @srcdimstart 80 0 @srcdimend 300 180 @usesrcdim 1;
#P number 176 22 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P message 176 45 43 196617 time $1;
#P button -5 64 15 0;
#P flonum 123 23 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 123 44 42 196617 rate $1;
#P message 92 44 28 196617 read;
#P flonum 63 23 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 29 23 15 0;
#P newex 29 43 44 196617 metro 2;
#P newex 29 91 103 196617 jit.qt.movie 320 240;
#P newex 29 365 162 196617 jit.matrix tmp2 4 char 320 240;
#P connect 3 0 2 0;
#P fasten 2 0 1 0 34 73 34 73;
#P fasten 6 0 1 0 128 70 34 70;
#P fasten 5 0 1 0 97 70 34 70;
#P fasten 8 0 1 0 0 85 34 85;
#P fasten 9 0 1 0 181 75 34 75;
#P fasten 1 0 0 0 34 148 34 148;
#P connect 4 0 2 1;
#P connect 7 0 6 0;
#P connect 10 0 9 0;
#P connect 1 0 15 0;
#P connect 16 0 15 0;
#P connect 18 0 15 0;
#P connect 12 0 21 0;
#P connect 20 0 17 0;
#P connect 17 0 16 0;
#P connect 19 0 18 0;
#P connect 20 0 19 0;
#P connect 14 0 12 0;
#P connect 11 0 12 0;
#P connect 13 0 11 0;
#P connect 15 0 11 0;
#P connect 22 0 14 1;
#P connect 23 0 14 2;
#P connect 24 0 14 4;
#P connect 25 0 14 5;
#P connect 26 0 13 1;
#P connect 27 0 13 2;
#P connect 28 0 13 4;
#P connect 29 0 13 5;
#P pop;


December 2, 2006 | 6:18 pm


December 2, 2006 | 6:46 pm


December 3, 2006 | 2:28 pm

Thanks, i was being stupid then! so simple mmm!


Viewing 4 posts - 1 through 4 (of 4 total)