Forums > Jitter

Bigger Matrixes limit Help!!

October 16, 2006 | 3:33 am

I’ve tried with both the text object in max and and now the jit.textfile from jitter. The max text object is definetly limited to 256 characters.

I’ve tried the jit.textfile object into a matrix but I am still running into truncated end of lines. Can the matrix be made larger or am I at the limit.

Or is a different approach needed?

Here’s an example wheere one gets the (line truncated)

#P window setfont "Sans Serif" 12.;
#P window linecount 1;
#P comment 420 166 100 196620 This one not OK;
#P window setfont "Sans Serif" 20.;
#P comment 27 42 206 196628 Remove Html tags;
#P button 94 322 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 112 322 20 196617 t b;
#P newex 169 293 65 196617 route matrix;
#P newex 124 270 55 196617 unpack 0 s;
#P newex 124 247 75 196617 route download;
#P newex 343 392 58 196617 print dump;
#P newex 190 423 212 196617 jit.print @title substitution @info 1 @mode 2;
#P message 35 138 220 196617 download http://www.cycling74.com/ matrix;
#P message 32 168 371 196617 download http://www.cycling74.com/story/2006/2/17/153427/406 matrix;
#P newex 139 322 160 196617 jit.textfile @title Searchwebpage;
#P newex 57 274 30 196617 print;
#P newex 29 250 38 196617 jit.uldl;
#B color 5;
#P newex 139 358 214 196617 jit.str.regexp @re /(< .*?>)/ @substitute " ";
#P window setfont "Sans Serif" 12.;
#P window linecount 2;
#P comment 28 74 261 196620 Problem: Long lines become truncated (line truncated);
#P window linecount 1;
#P comment 364 135 100 196620 This one OK;
#P connect 7 0 3 0;
#P connect 6 0 3 0;
#P connect 3 1 4 0;
#P connect 13 0 14 0;
#P connect 12 0 13 0;
#P connect 3 1 10 0;
#P connect 10 0 11 0;
#P connect 13 0 5 0;
#P fasten 3 0 5 0 34 295 144 295;
#P connect 5 0 2 0;
#P connect 11 1 12 0;
#P connect 2 1 8 0;
#P connect 2 4 9 0;
#P window clipboard copycount 17;


October 16, 2006 | 4:08 am

yes its limited, there are other ways. check this path that uses matrix and
fill to stuff text into gl.text3d based one of the recipes. also there is
the mxj queue object that i couldn’t find its limit.

max v2;
#N vpatcher 5 40 749 826;
#P origin 0 -148;
#P window setfont "Sans Serif" 12.;
#P window linecount 1;
#P comment 234 420 100 9109516 next line pls;
#P window linecount 4;
#P comment 212 502 100 9109516 ths is to combat some garbeld text , del
anything bellow char 32;
#P button 177 244 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 144 450 31 9109513 delay;
#P newex 160 420 57 9109513 t bang 5000;
#P newex 100 420 57 9109513 t bang 2000;
#P newex 160 396 65 9109513 split 26 50;
#P newex 100 396 58 9109513 split 0 25;
#P newex 46 435 42 9109513 t l clear;
#P newex 46 404 34 9109513 thresh;
#P newex 46 465 56 9109513 jit.fill foo 0;
#P newex 100 544 111 9109513 jit.matrix foo 1 char 25 2;
#P newex 100 520 109 9109513 jit.op @op max @val 32;
#P message 111 611 279 9109513 font X_Haim , align 1 , leadscale 2 ,
position 0. -0.68 , scale -0.1 0.1;
#P newex 100 496 111 9109513 jit.matrix foo 1 char 25 2;
#P newex 127 370 29 9109513 zl len;
#P newex 47 318 44 9109513 zl slice 4;
#P message 132 248 32 9109513 query;
#N counter 1 3;
#X flags 0 0;
#P newobj 140 220 66 9109513 counter 1 3;
#P newex 47 270 30 9109513 spell;
#P newex 47 295 34 9109513 thresh;
#P message 87 222 45 9109513 line $1;
#P newex 47 246 80 9109513 text dorontext.txt;
#B color 5;
#P message 47 223 37 9109513 read;
#P message 65 348 61 9109513 refer xfont;
#N coll xfont;
#T flags 1 0;
#T 32 32;
#T 46 46;
#T 41 40;
#T 40 41;
#T 45 45;
#T -32 224;
#T -31 225;
#T -30 226;
#T -29 227;
#T -28 228;
#T -27 229;
#T -26 230;
#T -25 231;
#T -24 232;
#T -23 233;
#T -22 234;
#T -21 235;
#T -20 236;
#T -19 237;
#T -18 238;
#T -17 239;
#T -16 240;
#T -15 241;
#T -14 242;
#T -13 243;
#T -12 244;
#T -11 245;
#T -10 246;
#T -9 247;
#T -8 248;
#T -7 249;
#T -6 250;
#P newobj 46 372 53 9109513 coll;
#P newex 39 347 21 9109513 iter;
#P newex 100 634 166 9109513 jit.gl.text3d screen1 @color 1. 1. 1. 1.;
#B color 5;
#P window setfont "Sans Serif" 12.;
#P window linecount 7;
#P comment 218 222 100 9109516 the refer xfont is for messy conversion
between hebrew fonts and max world , im not sure its needed;
#P fasten 12 1 2 0 86 340 44 340;
#P fasten 4 0 3 0 70 369 51 369;
#P fasten 2 0 3 0 44 369 51 369;
#P connect 3 0 19 0;
#P connect 19 0 20 0;
#P connect 20 0 18 0;
#P fasten 11 0 6 0 129 264 129 242 52 242;
#P fasten 5 0 6 0 52 243 52 243;
#P fasten 7 0 6 0 92 242 52 242;
#P connect 6 0 9 0;
#P connect 9 0 8 0;
#P fasten 8 0 12 0 52 315 52 315;
#P fasten 10 0 7 0 145 242 136 242 136 220 92 220;
#P connect 13 0 21 0;
#P connect 21 0 23 0;
#P fasten 18 0 14 0 51 490 105 490;
#P fasten 20 1 14 0 83 461 105 461;
#P fasten 14 0 16 0 105 520 105 520;
#P connect 16 0 17 0;
#P connect 17 0 1 0;
#P fasten 15 0 1 0 116 631 105 631;
#P fasten 12 1 13 0 86 340 132 340;
#P fasten 25 0 10 0 231 469 231 212 145 212;
#P fasten 26 0 25 0 182 446 149 446;
#P connect 23 0 25 0;
#P connect 24 0 25 0;
#P connect 13 0 22 0;
#P connect 22 0 24 0;
#P connect 23 1 25 1;
#P connect 24 1 25 1;
#P connect 10 2 26 0;
#P fasten 6 2 10 4 122 271 205 271 205 219 201 219;
#P pop;

2006/10/16, dave :
>
>
> I’ve tried with both the text object in max and and now the jit.textfilefrom jitter. The max text object is definetly limited to 256 characters.
>
> I’ve tried the jit.textfile object into a matrix but I am still running
> into truncated end of lines. Can the matrix be made larger or am I at the
> limit.
>
> Or is a different approach needed?
>
> Here’s an example wheere one gets the (line truncated)
>
> #P window setfont "Sans Serif" 12.;
> #P window linecount 1;
> #P comment 420 166 100 196620 This one not OK;
> #P window setfont "Sans Serif" 20.;
> #P comment 27 42 206 196628 Remove Html tags;
> #P button 94 322 15 0;
> #P window setfont "Sans Serif" 9.;
> #P newex 112 322 20 196617 t b;
> #P newex 169 293 65 196617 route matrix;
> #P newex 124 270 55 196617 unpack 0 s;
> #P newex 124 247 75 196617 route download;
> #P newex 343 392 58 196617 print dump;
> #P newex 190 423 212 196617 jit.print @title substitution @info 1 @mode 2;
> #P message 35 138 220 196617 download http://www.cycling74.com/ matrix;
> #P message 32 168 371 196617 download
> http://www.cycling74.com/story/2006/2/17/153427/406 matrix;
> #P newex 139 322 160 196617 jit.textfile @title Searchwebpage;
> #P newex 57 274 30 196617 print;
> #P newex 29 250 38 196617 jit.uldl;
> #B color 5;
> #P newex 139 358 214 196617 jit.str.regexp @re /(< .*?>)/ @substitute " ";
> #P window setfont "Sans Serif" 12.;
> #P window linecount 2;
> #P comment 28 74 261 196620 Problem: Long lines become truncated (line
> truncated);
> #P window linecount 1;
> #P comment 364 135 100 196620 This one OK;
> #P connect 7 0 3 0;
> #P connect 6 0 3 0;
> #P connect 3 1 4 0;
> #P connect 13 0 14 0;
> #P connect 12 0 13 0;
> #P connect 3 1 10 0;
> #P connect 10 0 11 0;
> #P connect 13 0 5 0;
> #P fasten 3 0 5 0 34 295 144 295;
> #P connect 5 0 2 0;
> #P connect 11 1 12 0;
> #P connect 2 1 8 0;
> #P connect 2 4 9 0;
> #P window clipboard copycount 17;
>
>


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