XML Feeds

.

[jitter] Re: GPU & alphablending : how to ?

karl-otto von oertzen karrrlo at yahoo.com
Sun Feb 3 10:16:09 MST 2008


yes it took me a while too to get around it ,
Vade's tutorials ( http://abstrakt.vade.info/?p=147 ) and Andrew Benson's receipes have been really helpfull to get some of the openGL magic :)

hope this helps in the meantime :

#P window setfont "Sans Serif" 9.;
#P window linecount 2;
#P comment 819 293 267 196617 tweek these for blending yourkeying your black and white image;
#P window linecount 1;
#P newex 584 259 48 196617 loadbang;
#P newex 584 279 206 196617 t 0.01 0.8 0.;
#P toggle 707 363 15 0;
#P flonum 778 303 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 685 303 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 584 302 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 778 323 100 196617 prepend param fade;
#P newex 685 323 91 196617 prepend param tol;
#P newex 584 323 100 196617 prepend param luma;
#P comment 384 64 267 196617 your background;
#P user jit.fpsgui 30 140 60 196617 0;
#P message 30 243 68 196617 fullscreen \$1;
#P toggle 30 221 15 0;
#P newex 30 201 35 196617 sel 27;
#P newex 30 181 40 196617 key;
#P flonum 723 363 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 635 384 99 196617 pak color 1. 1. 1. 0.;
#P newex 30 265 160 196617 jit.window obama @size 640 480;
#P newex 284 117 66 196617 t b b b b b;
#P newex 384 364 245 196617 jit.gl.slab obama @file co.lumakey.jxs @automatic 0;
#P message 384 267 102 196617 read countdown.mov;
#P newex 384 404 350 196617 jit.gl.videoplane obama @transform_reset 2 @automatic 0 @blend_enable 1;
#P newex 384 320 155 196617 jit.qt.movie @adapt 1 @unique 1;
#P message 384 79 83 196617 read dishes.mov;
#P newex 384 191 350 196617 jit.gl.videoplane obama @transform_reset 2 @automatic 0 @blend_enable 1;
#P newex 384 157 155 196617 jit.qt.movie @adapt 1 @unique 1;
#P newex 29 120 209 196617 jit.gl.render obama @erase_color 0. 0. 0. 1.;
#P newex 29 90 61 196617 t b b erase;
#P toggle 29 29 15 0;
#P newex 29 57 51 196617 qmetro 2;
#P comment 383 229 267 196617 on top : your mask;
#P connect 29 0 25 0;
#P connect 29 1 26 0;
#P connect 29 2 27 0;
#P connect 30 0 29 0;
#P hidden connect 28 0 15 0;
#P connect 27 0 24 0;
#P connect 26 0 23 0;
#P connect 25 0 22 0;
#P fasten 24 0 11 0 783 352 389 352;
#P fasten 23 0 11 0 690 352 389 352;
#P fasten 22 0 11 0 589 352 389 352;
#P connect 8 0 11 0;
#P connect 12 1 11 0;
#P connect 11 0 9 0;
#P connect 4 0 20 0;
#P fasten 3 1 12 0 59 112 289 112;
#P fasten 14 0 9 0 640 401 389 401;
#P connect 12 0 9 0;
#P connect 5 0 6 0;
#P connect 12 3 6 0;
#P connect 19 0 13 0;
#P connect 18 0 19 0;
#P connect 17 0 18 0;
#P connect 16 0 17 0;
#P connect 12 2 8 0;
#P connect 12 4 5 0;
#P connect 3 2 4 0;
#P connect 3 0 4 0;
#P connect 1 0 3 0;
#P connect 15 0 14 4;
#P connect 10 0 8 0;
#P connect 7 0 5 0;
#P connect 2 0 1 0;
#P window clipboard copycount 32;

--
karrrlo



More information about the jitter mailing list