Forums > Jitter

Tannenbaum Jit.mxform2d

April 17, 2008 | 2:55 am

This is my patch so far, having a bit of trouble hooking up the full screen so I can crop it black around the edges with the jit.mxform2d.

Any ideas would be much appreciated.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 920 501 48 196617 loadbang;
#P message 899 521 14 196617 1;
#P comment 563 431 100 196617 Upwards!;
#P comment 498 401 100 196617 To the right!;
#P comment 557 473 17 196617 tx;
#P comment 557 445 14 196617 c;
#P comment 557 417 14 196617 a;
#P comment 621 473 17 196617 ty;
#P comment 621 445 14 196617 d;
#P comment 621 417 14 196617 b;
#P comment 684 473 14 196617 w;
#P comment 684 445 14 196617 v;
#P newex 638 392 45 196617 * 0.001;
#P flonum 638 374 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 710 420 45 196617 * 0.001;
#P flonum 710 402 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 526 367 15 0;
#P hidden newex 566 353 45 196617 loadbang;
#P newex 365 480 20 196617 t b;
#P hidden message 595 375 14 196617 0;
#P newex 510 554 82 196617 prepend mxform;
#P newex 510 534 131 196617 pak 0. 0. 0. 0. 0. 0. 0. 0. 0.;
#P message 287 567 31 196617 clear;
#P number 875 547 35 9 0 4 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 875 568 71 196617 boundmode $1;
#P hidden message 566 375 14 196617 1;
#P flonum 638 471 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 575 471 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 511 471 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 638 443 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 575 443 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 511 443 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 638 416 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 575 416 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 511 416 45 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 820 569 50 196617 interp $1;
#P toggle 820 549 15 0;
#P number 742 549 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 674 549 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 742 569 62 196617 offset_y $1;
#P message 674 569 62 196617 offset_x $1;
#P newex 354 434 69 196617 jit.mxform2d;
#B color 5;
#P comment 684 417 14 196617 u;
#P newex 653 230 137 196617 jit.matrix cheer 7 float32 3;
#P newex 511 230 137 196617 jit.matrix cheer 7 float32 3;
#P message 502 162 144 196617 exprfill 1 snorm[0]*0.5 , bang;
#P newex 522 33 52 196617 random 7;
#P user ubumenu 522 58 100 196617 0 1 1 0;
#X add G r a v e s i d e;
#X add D e a t h;
#X add T r a n s f o r m a t i o n;
#X add T r a ces;
#X add E m b o d i m e n t;
#X add Darkness;
#X prefix_set 0 0 0;
#P newex 420 32 52 196617 random 7;
#P user ubumenu 420 58 100 196617 0 1 1 0;
#X add G r a v e s i d e;
#X add D e a t h;
#X add T r a n s f o r m a t i o n;
#X add T r a ces;
#X add E m b o d i m e n t;
#X add Darkness;
#X prefix_set 0 0
0;
#P button 299 32 15 0;
#P toggle 318 -38 15 0;
#P newex 318 -20 64 196617 metro 2500;
#P newex 318 30 52 196617 random 7;
#P message 92 380 68 196617 fullscreen $1;
#P toggle 75 380 15 0;
#P newex 117 355 35 196617 sel 27;
#P newex 75 355 40 196617 key;
#P user panel 64 341 101 67;
#X brgb 1 177 181;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P window linecount 2;
#P comment 168 373 100 196617 Full Screen Toggle- ‘Esc’;
#P user panel 60 336 210 107;
#X brgb 252 175 129;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P user jit.fpsgui 41 202 60 196617 0;
#P user ubumenu 318 58 100 196617 0 1 1 0;
#X add G r a v e s i d e;
#X add D e a t h;
#X add T r a n s f o r m a t i o n;
#X add T r a ces;
#X add E m b o d i m e n t;
#X add Darkness;
#X prefix_set 0 0
0;
#P window linecount 1;
#P newex 55 60 31 196617 dac~;
#P newex 21 263 265 196617 jit.gl.handle xmas @inherit_transform 1 @auto_rotate 1;
#N vpatcher 212 523 1057 969;
#P origin 0 33;
#P window setfont "Sans Serif" 9.;
#P hidden newex 590 66 48 196617 loadbang;
#P message 456 341 69 196617 0.1 0.2 0.4;
#P newex 642 375 53 196617 sel 0 1 2;
#P newex 640 436 96 196617 prepend jit_matrix;
#P message 677 407 35 196617 text3;
#P hidden newex 335 362 48 196617 loadbang;
#P hidden message 335 385 43 196617 size 12;
#P newex 524 373 84 196617 vexpr $f1*180.;
#P message 524 397 83 196617 rotate $5 $6 $7;
#P message 431 373 90 196617 position $1 $2 $3;
#P newex 410 373 20 196617 t b;
#P newex 410 341 41 196617 jit.iter;
#P newex 384 464 360 196617 jit.gl.text2d xmas @automatic o @scale 2. 2. 2. @color 0. 0. 0. 1. @align 1;
#P inlet 384 323 15 0;
#P inlet 410 323 15 0;
#P message 321 174 52 196617 0.1 0.3 1;
#P newex 507 208 53 196617 sel 0 1 2;
#P newex 505 269 96 196617 prepend jit_matrix;
#P message 542 240 35 196617 text2;
#P hidden newex 200 195 48 196617 loadbang;
#P hidden message 200 218 43 196617 size 12;
#P newex 389 206 84 196617 vexpr $f1*180.;
#P message 389 230 83 196617 rotate $5 $6 $7;
#P message 296 206 90 196617 position $1 $2 $3;
#P newex 275 206 20 196617 t b;
#P newex 275 174 41 196617 jit.iter;
#P newex 249 297 360 196617 jit.gl.text2d xmas @automatic o @scale 2. 2. 2. @color 0. 0. 0. 1. @align 1;
#P inlet 249 156 15 0;
#P inlet 275 156 15 0;
#P newex 308 40 53 196617 sel 0 1 2;
#P newex 306 101 96 196617 prepend jit_matrix;
#P message 307 72 35 196617 text1;
#P hidden newex 1 27 48 196617 loadbang;
#P hidden message 1 50 43 196617 size 12;
#P newex 190 38 84 196617 vexpr $f1*180.;
#P message 190 62 83 196617 rotate $5 $6 $7;
#P message 97 38 90 196617 position $1 $2 $3;
#P newex 76 38 20 196617 t b;
#P newex 76 6 41 196617 jit.iter;
#P newex 50 129 360 196617 jit.gl.text2d xmas @automatic o @scale 2. 2. 2. @color 0. 0. 0. 1. @align 1;
#P inlet 50 -12 15 0;
#P inlet 76 -12 15 0;
#P hidden connect 9 0 8 0;
#P fasten 4 0 2 0 81 63 55 63;
#P fasten 5 0 2 0 102 72 55 72;
#P fasten 6 0 2 0 195 104 55 104;
#P connect 1 0 2 0;
#P hidden connect 8 0 2 0;
#P connect 11 0 2 0;
#P connect 0 0 3 0;
#P connect 3 0 4 0;
#P fasten 3 0 5 0 81 31 102 31;
#P fasten 3 0 7 0 81 31 195 31;
#P connect 7 0 6 0;
#P hidden connect 22 0 21 0;
#P connect 24 0 15 0;
#P hidden connect 21 0 15 0;
#P connect 14 0 15 0;
#P fasten 19 0 15 0 394 272 254 272;
#P fasten 18 0 15 0 301 240 254 240;
#P fasten 17 0 15 0 280 231 254 231;
#P connect 13 0 16 0;
#P connect 16 0 17 0;
#P connect 26 0 18 0;
#P connect 10 0 11 0;
#P connect 12 0 10 0;
#P fasten 3 1 12 0 96 27 313 27;
#P connect 41 0 26 0;
#P hidden connect 36 0 35 0;
#P fasten 31 0 29 0 415 398 389 398;
#P fasten 32 0 29 0 436 407 389 407;
#P fasten 33 0 29 0 529 439 389 439;
#P connect 28 0 29 0;
#P hidden connect 35 0 29 0;
#P connect 38 0 29 0;
#P fasten 16 0 20 0 280 199 394 199;
#P connect 20 0 19 0;
#P connect 27 0 30 0;
#P connect 30 0 31 0;
#P connect 40 0 32 0;
#P connect 41 0 40 0;
#P connect 23 0 24 0;
#P fasten 16 1 25 0 295 195 512 195;
#P fasten 30 0 34 0 415 366 529 366;
#P connect 34 0 33 0;
#P fasten 25 1 23 0 547 239;
#P connect 37 0 38 0;
#P fasten 30 1 39 0 430 362 647 362;
#P connect 39 2 37 0;
#P pop;
#P newobj 432 314 73 196617 p render_text;
#N vpatcher 214 692 964 961;
#P window setfont "Sans Serif" 9.;
#P newex 516 221 83 196617 jit.matrix text3;
#P newex 291 220 83 196617 jit.matrix text2;
#P newex 50 222 83 196617 jit.matrix text1;
#P inlet 489 22 15 0;
#P message 634 108 62 196617 0.6 , 0. 800;
#P newex 634 126 40 196617 line 0.;
#P newex 516 199 64 196617 jit.op @op +;
#P newex 634 50 56 196617 qlim 1000;
#P newex 516 91 95 196617 jit.str.fromsymbol;
#P inlet 264 23 15 0;
#P message 409 109 68 196617 0.6 , 0. 1500;
#P newex 409 127 40 196617 line 0.;
#P newex 291 200 64 196617 jit.op @op +;
#P newex 409 51 56 196617 qlim 3500;
#P newex 291 92 95 196617 jit.str.fromsymbol;
#P inlet 23 19 15 0;
#P message 168 105 68 196617 0.6 , 0. 1500;
#P newex 168 123 40 196617 line 0.;
#P newex 50 196 64 196617 jit.op @op +;
#P newex 168 47 56 196617 qlim 2000;
#P newex 50 88 95 196617 jit.str.fromsymbol;
#P fasten 5 0 0 0 28 86 55 86;
#P connect 0 0 2 0;
#P connect 2 0 18 0;
#P fasten 3 0 2 1 173 173 109 173;
#P fasten 5 0 1 0 28 43 173 43;
#P connect 1 0 4 0;
#P connect 4 0 3 0;
#P fasten 11 0 6 0 269 90 296 90;
#P connect 6 0 8 0;
#P connect 8 0 19 0;
#P fasten 9 0 8 1 414 177 350 177;
#P fasten 11 0 7 0 269 47 414 47;
#P connect 7 0 10 0;
#P connect 10 0 9 0;
#P fasten 17 0 12 0 494 89 521 89;
#P connect 12 0 14 0;
#P connect 14 0 20 0;
#P fasten 15 0 14 1 639 176 575 176;
#P fasten 17 0 13 0 494 46 639 46;
#P connect 13 0 16 0;
#P connect 16 0 15 0;
#P pop 1;
#P newobj 300 230 37 196617 p text;
#P newex 47 479 195 196617 jit.window xmas @fsaa 1 @size 600 600;
#P toggle 1 28 15 0;
#P newex 4 161 109 196617 t erase b b b b;
#P newex 1 300 306 196617 jit.gl.render xmas @blend_enable 1 @erase_color 1. 1. 1. 1.;
#P newex 1 60 51 196617 qmetro 5;
#P comment 19 28 100 196617 1. Turn it on.;
#P newex 363 230 137 196617 jit.matrix cheer 7 float32 3;
#P connect 2 0 4 0;
#P connect 19 0 6 0;
#P connect 73 0 57 0;
#P connect 73 0 72 0;
#P hidden connect 57 0 48 0;
#P hidden connect 57 0 54 0;
#P hidden connect 56 0 48 0;
#P hidden fasten 56 0 54 0 571 372 600 372;
#P hidden connect 54 0 42 0;
#P hidden connect 54 0 45 0;
#P hidden connect 54 0 40 0;
#P hidden connect 54 0 46 0;
#P hidden connect 54 0 41 0;
#P hidden connect 54 0 44 0;
#P hidden connect 48 0 39 0;
#P hidden connect 48 0 43 0;
#P hidden connect 48 0 47 0;
#P fasten 51 0 32 0 292 593 359 593;
#P fasten 34 0 32 0 747 593 359 593;
#P fasten 33 0 32 0 679 593 359 593;
#P fasten 38 0 32 0 825 593 359 593;
#P fasten 49 0 32 0 880 593 359 593;
#P fasten 53 0 32 0 515 587 359 587;
#P hidden connect 39 0 52 0;
#P fasten 55 0 52 0 370 533 515 533;
#P connect 52 0 53 0;
#P hidden connect 40 0 52 1;
#P hidden connect 41 0 52 2;
#P hidden connect 42 0 52 3;
#P hidden connect 43 0 52 4;
#P hidden connect 44 0 52 5;
#P hidden connect 45 0 52 6;
#P hidden connect 46 0 52 7;
#P hidden connect 47 0 52 8;
#P connect 60 0 61 0;
#P connect 61 0 41 0;
#P fasten 59 0 44 0 715 440 643 440;
#P connect 35 0 33 0;
#P connect 58 0 59 0;
#P connect 36 0 34 0;
#P connect 37 0 38 0;
#P connect 72 0 50 0;
#P connect 50 0 49 0;
#P connect 4 3 0 0;
#P connect 4 3 29 0;
#P connect 4 3 30 0;
#P connect 28 0 0 0;
#P connect 28 0 29 0;
#P connect 28 0 30 0;
#P connect 27 0 26 0;
#P connect 21 0 23 0;
#P connect 21 0 20 0;
#P fasten 21 0 25 0 323 14 425 14;
#P fasten 21 0 27 0 323 9 527 9;
#P connect 30 0 8 5;
#P connect 29 0 8 3;
#P connect 0 0 8 1;
#P connect 25 0 24 0;
#P connect 26 1 7 2;
#P connect 4 2 7 0;
#P connect 4 2 7 1;
#P connect 4 2 7 2;
#P connect 20 0 11 0;
#P connect 22 0 21 0;
#P connect 24 1 7 1;
#P fasten 11 1 7 0 368 219 305 219;
#P fasten 16 0 17 0 116 372 116 357;
#P fasten 18 0 19 0 91 395 91 380;
#P fasten 17 0 18 0 122 377 80 377;
#P connect 5 0 2 0;
#P fasten 5 0 10 0 6 53 60 53;
#P connect 3 0 12 0;
#P connect 4 0 3 0;
#P fasten 4 1 3 0 33 119 6 119;
#P fasten 9 0 3 0 26 291 6 291;
#P window clipboard copycount 74;


April 17, 2008 | 4:13 pm

Hi,
You’re not going to be able to solve this without gaining a more
thorough knowledge of Jitter, OpenGL, and the various objects and
techniques used in the original patch. My advice would be to set this
project aside for a minute and go read the OpenGL section of the Jitter
tutorials.

I will give you one hint: jit.mxform2d will never work for what you are
aiming to do (think jit.gl.*).

Best of luck,
Andrew B.


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