[jitter] Re: Please help- two movies in 1 window
jasch
j at jasch.ch
Wed Jun 13 04:31:49 MDT 2007
- Previous message: [jitter] Re: Please help- two movies in 1 window
- Next message: [jitter] Re: Please help- two movies in 1 window
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
and here's a version using OpenGL and GPU processing for optimal performance and scalability /*j /////////// #P window setfont "Sans Serif" 9.; #P window linecount 1; #N vpatcher 20 74 620 474; #P window setfont "Sans Serif" 9.; #P hidden newex 50 50 54 196617 onebang 1; #P hidden newex 50 71 44 196617 del 100; #P hidden newex 50 95 38 196617 del 10; #P hidden message 50 118 23 196617 0.1; #P hidden message 99 118 17 196617 1.; #P inlet 50 30 15 0; #P outlet 50 138 15 0; #P outlet 99 138 15 0; #P connect 2 0 7 0; #P connect 7 0 6 0; #P connect 6 0 5 0; #P hidden connect 5 0 4 0; #P lcolor 1; #P connect 4 0 1 0; #P connect 6 0 3 0; #P connect 3 0 0 0; #P pop; #P hidden newobj 437 166 60 196617 p init; #P flonum 590 357 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P objectname position_z[1]; #P flonum 276 357 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P objectname position_z[0]; #P comment 41 446 34 196617 store; #P user ubumenu 141 359 49 196617 0 1 1 0; #X add back; #X add front; #X prefix_set 0 0 <none> 0; #P objectname layer[0]; #P message 141 380 49 196617 layer \$1; #N vpatcher 20 74 620 474; #P outlet 82 208 15 0; #P window setfont "Sans Serif" 9.; #P message 82 182 133 196617 fullscreen \$1 \, fsmenubar 0; #P toggle 82 153 15 0; #P window linecount 1; #P newex 82 117 38 196617 sel 27; #P window linecount 0; #P newex 82 83 40 196617 key; #P connect 0 0 1 0; #P connect 1 0 2 0; #P connect 2 0 3 0; #P connect 3 0 4 0; #P pop; #P newobj 37 285 63 196617 p fullscreen; #P window linecount 2; #P message 785 263 97 196617 plane 3 \, lum2alpha 0 \, thresh 0 \, fade 1.; #P window linecount 1; #P message 758 228 71 196617 setall 1 1 1 1; #P newex 785 295 76 196617 prepend param; #P newex 503 324 175 196617 jit.gl.slab circ @file cc.alphaglue.jxs; #P flonum 720 357 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P objectname color_alpha[1]; #P flonum 663 357 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P objectname scale_y[1]; #P flonum 629 357 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P objectname scale_x[1]; #P flonum 556 357 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P objectname position_y[1]; #P flonum 522 357 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P objectname position_x[1]; #P message 407 379 84 196617 color 1. 1. 1. \$1; #P flonum 407 357 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P objectname color_alpha[0]; #P message 720 379 84 196617 color 1. 1. 1. \$1; #P newex 629 378 87 196617 pak scale 1. 1. 1.; #P flonum 350 357 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P objectname scale_y[0]; #P flonum 316 357 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P objectname scale_x[0]; #P newex 315 378 87 196617 pak scale 1. 1. 1.; #P newex 522 378 99 196617 pak position 0. 0. 0.; #P flonum 242 357 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P objectname position_y[0]; #P flonum 208 357 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P objectname position_x[0]; #P newex 207 378 99 196617 pak position 0. 0. 0.; #P newex 37 154 50 196617 t b erase; #P newex 37 305 79 196617 jit.window circ; #P window linecount 3; #P newex 37 190 89 196617 jit.gl.render circ @erase_color 0. 0. 0. 1.; #P flonum 110 461 35 9 1. 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 57 461 35 9 1 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0; #P button 40 461 15 0; #P window linecount 1; #P newex 40 479 66 196617 pack store 0; #P user ubumenu 119 479 77 196617 0 1 1 0; #X add read; #X add write; #X add storagewindow; #X add clientwindow; #X prefix_set 0 0 <none> 0; #X pattrmode 1; #P newex 40 501 67 196617 pattrstorage; #X client_rect 331 90 960 466; #X storage_rect 332 206 954 626; #P objectname u132000565; #P newex 110 501 53 196617 autopattr; #X prestore color_alpha[0] 1 0 1.; #X prestore color_alpha[1] 1 0 1.; #X prestore layer[0] 1 0 0; #X prestore position_x[0] 1 0 -0.22; #X prestore position_x[1] 1 0 0.64; #X prestore position_y[0] 1 0 0.; #X prestore position_y[1] 1 0 -0.49; #X prestore position_z[0] 1 0 -0.35; #X prestore position_z[1] 1 0 -1.71; #X prestore scale_x[0] 1 0 1.333333; #X prestore scale_x[1] 1 0 1.333333; #X prestore scale_y[0] 1 0 1.; #X prestore scale_y[1] 1 0 1.; #P objectname u590000585; #P flonum 695 184 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 656 184 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 576 184 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 521 184 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 193 404 224 196617 jit.gl.videoplane circ @blend_enable 1 @layer 1; #P newex 503 404 224 196617 jit.gl.videoplane circ @blend_enable 1 @layer 0; #P newex 521 225 27 196617 t b l; #P newex 636 203 81 196617 pak center 0. 0.; #P message 576 203 58 196617 feather \$1; #P message 521 203 53 196617 radius \$1; #P hidden newex 853 90 48 196617 loadbang; #P newex 210 225 27 196617 t b l; #P newex 210 252 129 196617 jit.matrix 4 char 320 240; #P flonum 384 184 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 345 184 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 325 201 81 196617 pak center 0. 0.; #P flonum 265 184 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 265 201 58 196617 feather \$1; #P flonum 210 184 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 210 201 53 196617 radius \$1; #P user jit.fpsgui 68 115 60 196617 0; #P message 206 113 30 196617 read; #P flonum 71 62 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 37 62 15 0; #P newex 37 80 51 196617 qmetro 2; #P newex 193 135 63 196617 jit.qt.movie; #P message 517 113 30 196617 read; #P newex 503 135 63 196617 jit.qt.movie; #P comment 110 446 36 196617 recall; #P newex 521 252 129 196617 jit.matrix 4 char 320 240; #P newex 210 278 98 196617 js js_circlemask.js; #P newex 521 278 98 196617 js js_circlemask.js; #P newex 193 324 175 196617 jit.gl.slab circ @file cc.alphaglue.jxs; #P connect 9 0 8 0; #P connect 8 0 42 0; #P connect 42 1 40 0; #P connect 42 0 40 0; #P connect 63 0 41 0; #P connect 37 0 36 0; #P fasten 35 1 34 0 157 498 45 498; #P fasten 39 0 34 0 115 498 45 498; #P connect 36 0 34 0; #P connect 8 0 12 0; #P connect 10 0 8 1; #P fasten 38 0 36 1 62 477 101 477; #P connect 65 0 64 0; #P fasten 8 0 7 0 42 104 198 104; #P fasten 11 0 7 0 211 132 198 132; #P fasten 60 0 0 0 790 318 198 318; #P lcolor 6; #P connect 7 0 0 0; #P fasten 43 0 28 0 212 398 198 398; #P fasten 47 0 28 0 320 398 198 398; #P fasten 53 0 28 0 412 398 198 398; #P fasten 0 0 28 0 198 366 198 366; #P fasten 64 0 28 0 146 400 198 400; #P hidden connect 69 1 14 0; #P lcolor 1; #P connect 14 0 13 0; #P fasten 17 0 21 0 330 219 215 219; #P fasten 15 0 21 0 270 219 215 219; #P fasten 13 0 21 0 215 223 215 223; #P fasten 61 0 20 0 763 246 215 246; #P lcolor 2; #P connect 21 0 20 0; #P connect 20 0 2 0; #P connect 21 1 2 0; #P connect 44 0 43 1; #P hidden connect 69 0 16 0; #P lcolor 1; #P connect 16 0 15 0; #P connect 45 0 43 2; #P connect 67 0 43 3; #P connect 48 0 47 1; #P fasten 2 0 0 1 215 306 363 306; #P connect 18 0 17 1; #P connect 49 0 47 2; #P connect 19 0 17 2; #P connect 52 0 53 0; #P hidden fasten 7 0 69 0 198 159 442 159; #P lcolor 1; #P fasten 8 0 5 0 42 104 508 104; #P fasten 6 0 5 0 522 130 508 130; #P connect 5 0 59 0; #P fasten 60 0 59 0 790 321 508 321; #P lcolor 6; #P fasten 46 0 27 0 527 398 508 398; #P fasten 50 0 27 0 634 398 508 398; #P fasten 51 0 27 0 725 398 508 398; #P fasten 59 0 27 0 508 367 508 367; #P hidden connect 69 1 29 0; #P lcolor 1; #P connect 29 0 23 0; #P fasten 23 0 26 0 526 225 526 225; #P fasten 24 0 26 0 581 221 526 221; #P fasten 25 0 26 0 641 221 526 221; #P fasten 61 0 3 0 763 248 526 248; #P lcolor 2; #P connect 26 0 3 0; #P connect 3 0 1 0; #P connect 26 1 1 0; #P connect 54 0 46 1; #P hidden connect 69 0 30 0; #P lcolor 1; #P connect 30 0 24 0; #P connect 55 0 46 2; #P connect 68 0 46 3; #P connect 56 0 50 1; #P fasten 1 0 59 1 526 306 673 306; #P connect 31 0 25 1; #P connect 57 0 50 2; #P connect 32 0 25 2; #P connect 58 0 51 0; #P hidden fasten 22 0 61 0 858 114 763 114; #P lcolor 1; #P hidden fasten 22 0 62 0 858 114 790 114; #P lcolor 1; #P connect 62 0 60 0; #P window clipboard copycount 70;
- Previous message: [jitter] Re: Please help- two movies in 1 window
- Next message: [jitter] Re: Please help- two movies in 1 window
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
