[PD] GEM two channel video key

Drew Browning browningdrb at yahoo.com
Tue Aug 7 03:22:36 CEST 2007


Thanks! That was it.
Drew

----- Original Message ----
From: Roman Haefeli <reduzierer at yahoo.de>
To: Drew Browning <browningdrb at yahoo.com>
Cc: pd-list at iem.at
Sent: Monday, August 6, 2007 7:52:49 PM
Subject: Re: [PD] GEM two channel video key

[pix_snap2tex] isn't the way to go here, because it stores the result
already in the the texture buffer. but you still want to process the
'captured' image with pix-objects. that means you want to use a
[pix_snap] instead of [pix_snap2tex].

roman



On Mon, 2007-08-06 at 17:28 -0700, Drew Browning wrote:
> I'm trying to create a 2 channel video key in GEM. I would like to use
> a moving geo (circle) as the source of the key and 2 movie clips for
> each side of the key (or one clip processed differently). Searching
> the archive I've gathered that I need to use pix_snap2tex to get the
> geo to be seen as a pix. Then I should be able to use pix_compare,
> pix_chroma_key, pix_mask, etc. However, I can't get any of these
> objects to work after using pix_snap2tex. Any suggestions would be
> appreciated. Below is one of my attempts.
> 
> Drew
> 
> #N canvas 640 2 644 546 10;
> #X obj 39 153 t b;
> #X msg 39 173 snap;
> #X msg 52 205 0 0;
> #X obj 31 132 gemhead 10;
> #X obj 329 43 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
> ;
> #X obj 329 139 translateXYZ;
> #X floatatom 395 120 5 0 0 0 - - -;
> #X obj 329 159 circle;
> #X msg 117 205 512 512;
> #X obj 31 368 pix_alpha;
> #X obj 19 34 gemwin;
> #X msg 19 10 create \, 1;
> #X msg 85 10 destroy;
> #X obj 150 11 loadbang;
> #X obj 370 204 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
> 1;
> #X floatatom 410 310 5 0 10000 1 frame# - -;
> #X msg 406 289 auto \$1;
> #X obj 408 270 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
> 1;
> #X obj 419 349 bng 15 250 50 0 empty empty end_reached 20 7 0 10
> -262144
> -1 -1;
> #X obj 433 328 t f;
> #X obj 370 384 pix_motionblur;
> #X obj 370 408 pix_texture;
> #X floatatom 475 371 5 0 1 0 - - -;
> #X msg 78 36 dimen 512 512;
> #X obj 31 451 pix_texture;
> #X obj 31 230 pix_snap2tex;
> #X obj 31 112 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
> 1;
> #X obj 31 473 square 4;
> #X obj 329 62 gemhead 5;
> #X obj 370 226 gemhead 2;
> #X msg 494 390 0.9;
> #X obj 31 431 pix_compare;
> #X msg 47 409 direction \$1;
> #X obj 47 391 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
> ;
> #X msg 56 303 1;
> #X msg 94 303 0.8;
> #X msg 74 349 0;
> #X obj 31 269 alpha;
> #X msg 105 348 1;
> #X msg 378 249 open homer.avi;
> #X obj 370 328 pix_movie;
> #X obj 370 429 square 4;
> #X obj 31 327 colorRGB 1 0.8 1;
> #X msg 82 205 -5 0;
> #X obj 394 39 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
> 1;
> #X obj 395 78 counter -20 20 3;
> #X obj 395 99 / 10;
> #X obj 394 57 metro 50;
> #X obj 206 204 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
> 1;
> #X floatatom 246 310 5 0 10000 1 frame# - -;
> #X msg 242 289 auto \$1;
> #X obj 244 270 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
> 1;
> #X obj 255 349 bng 15 250 50 0 empty empty end_reached 20 7 0 10
> -262144
> -1 -1;
> #X obj 269 328 t f;
> #X msg 214 249 open homer.avi;
> #X obj 206 328 pix_movie;
> #X obj 206 226 gemhead 10;
> #X connect 0 0 1 0;
> #X connect 1 0 25 0;
> #X connect 2 0 25 1;
> #X connect 3 0 0 0;
> #X connect 3 0 25 0;
> #X connect 4 0 28 0;
> #X connect 5 0 7 0;
> #X connect 6 0 5 1;
> #X connect 8 0 25 2;
> #X connect 9 0 31 0;
> #X connect 11 0 10 0;
> #X connect 12 0 10 0;
> #X connect 13 0 23 0;
> #X connect 13 0 8 0;
> #X connect 13 0 43 0;
> #X connect 13 0 30 0;
> #X connect 13 0 17 0;
> #X connect 13 0 39 0;
> #X connect 13 0 44 0;
> #X connect 13 0 54 0;
> #X connect 13 0 51 0;
> #X connect 14 0 29 0;
> #X connect 15 0 40 1;
> #X connect 16 0 40 0;
> #X connect 17 0 16 0;
> #X connect 19 0 40 1;
> #X connect 20 0 21 0;
> #X connect 21 0 41 0;
> #X connect 22 0 20 1;
> #X connect 23 0 10 0;
> #X connect 24 0 27 0;
> #X connect 25 0 37 0;
> #X connect 26 0 3 0;
> #X connect 28 0 5 0;
> #X connect 29 0 40 0;
> #X connect 30 0 20 1;
> #X connect 31 0 24 0;
> #X connect 32 0 31 0;
> #X connect 33 0 32 0;
> #X connect 34 0 42 1;
> #X connect 34 0 42 2;
> #X connect 34 0 42 3;
> #X connect 35 0 42 2;
> #X connect 36 0 9 2;
> #X connect 37 0 42 0;
> #X connect 38 0 9 2;
> #X connect 39 0 40 0;
> #X connect 40 0 20 0;
> #X connect 40 2 18 0;
> #X connect 40 2 19 0;
> #X connect 42 0 9 0;
> #X connect 43 0 25 1;
> #X connect 44 0 47 0;
> #X connect 45 0 46 0;
> #X connect 46 0 6 0;
> #X connect 47 0 45 0;
> #X connect 48 0 56 0;
> #X connect 49 0 55 1;
> #X connect 50 0 55 0;
> #X connect 51 0 50 0;
> #X connect 53 0 55 1;
> #X connect 54 0 55 0;
> #X connect 55 0 31 1;
> #X connect 55 2 52 0;
> #X connect 55 2 53 0;
> #X connect 56 0 55 0;
> 
> 
> 
> 
> ______________________________________________________________________
> Be a better Heartthrob. Get better relationship answers from someone
> who knows.
> Yahoo! Answers - Check it out. 
> 
> 
> 
> 
> ______________________________________________________________________
> Shape Yahoo! in your own image. Join our Network Research Panel today!
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




    
        
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de







       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070806/e5830239/attachment.htm>


More information about the Pd-list mailing list