Text on a Plane


    May 01 2007 | 2:19 pm
    Hello list,
    I posted an issue concerning text in jitter the other day, but unfortunately I didnt find what I was looking for. Anyway, I have this new issue and please check this patch to see what am I doing wrong. I want to extract the text displayed in the monitor to the main window, but I cant do it.
    Can someone have a look?
    Cheers
    max v2;

    • May 01 2007 | 8:07 pm
      Use the [drawto "context-name"] message to draw to the destination you wish.
      max v2;
    • May 02 2007 | 5:26 pm
      "Enough is enough. I've had it with this mother@#ing text on this
      mother@*ing plane."
      Lolz.
      barry
      Stavros wrote:
      > Hello list,
      > I posted an issue concerning text in jitter the other day, but unfortunately I didnt find what I was looking for. Anyway, I have this new issue and please check this patch to see what am I doing wrong. I want to extract the text displayed in the monitor to the main window, but I cant do it.
      >
      > Can someone have a look?
      > Cheers
      >
      >
      > max v2;
      > #N vpatcher 433 172 1329 764;
      > #P origin 94 222;
      > #P window setfont "Sans Serif" 9.;
      > #P message 223 280 92 196617 text This is a text;
      > #P newex 646 94 60 196617 loadmess 1;
      > #P newex 66 180 60 196617 loadmess 1;
      > #P message 188 431 98 196617 scale 0.55 -0.39 0.;
      > #P flonum 698 333 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 657 333 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 617 333 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P newex 592 360 85 196617 pak scale 1. 1. 1.;
      > #P newex 103 401 48 196617 loadbang;
      > #P message 103 431 81 196617 position 0. 0. 0.;
      > #P newex 467 359 90 196617 prepend position;
      > #P flonum 467 328 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 539 328 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 503 328 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P newex 467 343 61 196617 pak 0. 0. 0.;
      > #P newex 301 359 82 196617 prepend rotate;
      > #P flonum 415 328 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 377 328 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 339 328 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 301 328 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P newex 301 343 73 196617 pak 0. 0. 0. 0.;
      > #P message 188 344 103 196617 texture centre , bang;
      > #P window linecount 2;
      > #P newex 188 390 325 196617 jit.gl.videoplane screen @depth_enable 0 @blend_enable 1 @automatic 0 @dim 2 2 @scale 0.5 0.5 0.5 @depth_enable 0 @color 1. 1. 1. 0.7;
      > #B color 5;
      > #P window linecount 1;
      > #P message 211 255 80 196617 drawto monitor;
      > #P newex 568 271 162 196617 jit.gl.texture v001 @name centre;
      > #B color 5;
      > #P newex 211 231 48 196617 loadbang;
      > #P newex 223 81 75 196617 loadmess 0.25;
      > #P newex 188 100 74 196617 loadmess -0.6;
      > #P newex 330 57 60 196617 loadmess 2;
      > #P flonum 379 120 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P newex 340 140 74 196617 pak scale 1. 1.;
      > #P flonum 340 120 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 440 78 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 403 78 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 367 78 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P newex 331 97 99 196617 pak color 1. 0. 0. 1.;
      > #P flonum 330 78 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P flonum 274 121 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P newex 227 141 104 196617 pak position -0.9 0.6;
      > #P flonum 227 121 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P newex 568 231 55 196617 jit.matrix;
      > #P newex 658 167 43 196617 jit.qball;
      > #B color 5;
      > #P newex 658 187 50 196617 t b erase;
      > #P toggle 658 124 15 0;
      > #P newex 658 146 46 196617 metro 2;
      > #P newex 658 210 103 196617 jit.gl.render monitor;
      > #B color 5;
      > #P message 544 127 71 196617 name monitor;
      > #P user jit.pwindow 567 149 86 79 0 1 0 0 1 0;
      > #X name monitor;
      > #P message 227 183 75 196617 drawto screen;
      > #P newex 331 210 147 196617 jit.gl.text2d @color 0. 0. 0. 1.;
      > #B color 5;
      > #P toggle 89 217 31 0;
      > #P newex 89 314 98 196617 jit.gl.render screen;
      > #B color 5;
      > #P newex 89 278 58 196617 t b b erase;
      > #P newex 89 252 51 196617 qmetro 2;
      > #P message 612 520 68 196617 fullscreen $1;
      > #P toggle 595 520 15 0;
      > #P newex 637 495 35 196617 sel 27;
      > #P newex 595 495 40 196617 key;
      > #P number 642 406 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P number 607 406 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
      > #P newex 592 428 85 196617 pak size 160 120;
      > #P newex 592 455 91 196617 jit.window screen;
      > #B color 5;
      > #P connect 59 0 11 0;
      > #P connect 11 0 8 0;
      > #P connect 8 0 9 0;
      > #P connect 9 0 10 0;
      > #P connect 9 2 10 0;
      > #P fasten 53 0 52 0 108 424 108 424;
      > #P fasten 9 1 40 0 118 304 193 304;
      > #P connect 58 0 39 0;
      > #P connect 52 0 39 0;
      > #P connect 40 0 39 0;
      > #P fasten 46 0 39 0 306 383 193 383;
      > #P fasten 51 0 39 0 472 383 193 383;
      > #P fasten 54 0 39 0 597 383 193 383;
      > #P fasten 53 0 58 0 108 424 193 424;
      > #P connect 36 0 38 0;
      > #P connect 36 0 61 0;
      > #P fasten 34 0 22 0 193 119 232 119;
      > #P fasten 35 0 24 0 228 98 279 98;
      > #P fasten 22 0 23 1 232 138 279 138;
      > #P connect 42 0 41 0;
      > #P connect 41 0 46 0;
      > #P fasten 24 0 23 2 279 138 326 138;
      > #P connect 43 0 41 1;
      > #P connect 33 0 25 0;
      > #P connect 38 0 12 0;
      > #P fasten 13 0 12 0 232 204 336 204;
      > #P fasten 31 0 12 0 345 177 336 177;
      > #P fasten 23 0 12 0 232 177 336 177;
      > #P connect 26 0 12 0;
      > #P connect 61 0 12 0;
      > #P connect 44 0 41 2;
      > #P fasten 25 0 26 1 335 95 358 95;
      > #P connect 45 0 41 3;
      > #P fasten 30 0 31 1 345 137 377 137;
      > #P fasten 27 0 26 2 372 95 380 95;
      > #P fasten 28 0 26 3 408 95 402 95;
      > #P fasten 32 0 31 2 384 137 409 137;
      > #P fasten 29 0 26 4 445 95 424 95;
      > #P connect 50 0 47 0;
      > #P connect 47 0 51 0;
      > #P connect 48 0 47 1;
      > #P connect 49 0 47 2;
      > #P fasten 15 0 14 0 549 146 573 146;
      > #P connect 14 0 21 0;
      > #P connect 21 0 37 0;
      > #P connect 1 0 0 0;
      > #P fasten 7 0 0 0 617 541 586 541 586 450 597 450;
      > #P fasten 5 0 6 0 642 517 600 517;
      > #P fasten 6 0 7 0 611 535 611 520;
      > #P connect 55 0 54 1;
      > #P fasten 2 0 1 1 612 424 634 424;
      > #P fasten 4 0 5 0 636 512 636 497;
      > #P fasten 56 0 54 2 662 354 647 354;
      > #P connect 60 0 18 0;
      > #P connect 18 0 17 0;
      > #P connect 17 0 20 0;
      > #P connect 20 0 19 0;
      > #P connect 19 0 16 0;
      > #P fasten 19 1 16 0 703 207 663 207;
      > #P fasten 3 0 1 2 647 424 671 424;
      > #P fasten 57 0 54 3 703 354 672 354;
      > #P pop;
      >
      >
      --
      barry threw
      composition : sound : programming
      http://www.barrythrew.com
      bthrew(at)gmail(dot)com
      857-544-3967
      And I know not if, save in this, such gift be allowed to man,
      That out of three sounds he frame, not a fourth sound, but a star.
      -Robert Browning
    • May 03 2007 | 7:17 pm