jit.matrixset index maximum?

Feb 27, 2006 at 7:50pm

jit.matrixset index maximum?

I am trying to collect and store an arbitrary number of pictures (100 or so) in a jit.matrixset object and recall them at random. the matrixset object is only recalling about 20 or so before it no longer stores new pictures.

am i working with the wrong object or is my patch not right?

max v2;
#N vpatcher 20 74 1127 838;
#P window setfont “Sans Serif” 9.;
#P message 301 54 28 196617 stop;
#P flonum 333 33 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 333 54 42 196617 rate $1;
#P message 270 54 28 196617 read;
#P flonum 239 33 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 205 33 15 0;
#P newex 205 53 44 196617 metro 2;
#P newex 205 92 103 196617 jit.qt.movie 320 240;
#P button 474 40 15 0;
#P toggle 433 61 15 0;
#P newex 433 81 64 196617 metro 1000;
#N counter;
#X flags 0 0;
#P newobj 433 105 66 196617 counter;
#P number 629 58 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 606 38 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 561 39 15 0;
#P newex 561 59 55 196617 metro 100;
#P newex 561 80 40 196617 drunk;
#P number 561 106 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 127 50 30 196617 open;
#P flonum 67 31 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 33 31 15 0;
#P newex 33 50 44 196617 metro 2;
#P message 85 50 33 196617 close;
#P number 561 136 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 561 160 82 196617 outputmatrix $1;
#P number 433 136 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 433 160 45 196617 index $1;
#P toggle 35 151 15 0;
#P message 35 175 42 196617 thru $1;
#P newex 23 201 155 196617 jit.matrixset 16 4 char 320 240;
#B color 5;
#P newex 23 124 98 196617 jit.qt.grab 320 240;
#P user jit.pwindow 22 254 322 242 0 1 0 0 1 0;
#P connect 10 0 1 0;
#P connect 9 0 1 0;
#P connect 13 0 1 0;
#P fasten 5 0 2 0 438 194 28 194;
#P fasten 7 0 2 0 566 194 28 194;
#P fasten 3 0 2 0 40 194 28 194;
#P fasten 1 0 2 0 28 172 28 172;
#P fasten 24 0 2 0 210 193 28 193;
#P connect 2 0 0 0;
#P connect 11 0 10 0;
#P connect 4 0 3 0;
#P connect 12 0 10 1;
#P connect 26 0 25 0;
#P fasten 31 0 24 0 306 85 210 85;
#P fasten 28 0 24 0 275 85 210 85;
#P fasten 29 0 24 0 338 85 210 85;
#P fasten 25 0 24 0 210 85 210 85;
#P connect 27 0 25 1;
#P connect 30 0 29 0;
#P connect 22 0 21 0;
#P connect 21 0 20 0;
#P connect 20 0 6 0;
#P connect 6 0 5 0;
#P connect 23 0 20 3;
#P connect 17 0 16 0;
#P connect 16 0 15 0;
#P connect 15 0 14 0;
#P connect 14 0 8 0;
#P fasten 8 0 7 0 566 155 566 155;
#P connect 6 0 15 1;
#P fasten 19 0 15 2 634 78 596 78;
#P connect 18 0 16 1;
#P pop;

#24637
Feb 27, 2006 at 8:24pm

You can set the max with matrixcount $1, like in the help file.

Good luck,

Maarten

#71620

You must be logged in to reply to this topic.