Is it what you are looking for ? ++ Jack
Le mercredi 03 mars 2010 à 17:39 -0500, Hans-Christoph Steiner a écrit : > I am trying to make a simple patch where the current video frame is > [pix_diff]'ed against the previous video frame. I can get it going > manually, but I would like it to happen every frame. I think I got > close, but did manage to create a bizarre effect: > > > .hc > > ---------------------------------------------------------------------------- > > I have always wished for my computer to be as easy to use as my > telephone; my wish has come true because I can no longer figure out > how to use my telephone." --Bjarne Stroustrup (creator of C++) > > _______________________________________________ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list
#N canvas 592 134 450 300 10; #X obj 140 50 gemhead; #X obj 140 211 pix_diff; #X obj 140 104 pix_video; #X obj 140 241 pix_texture; #N canvas 340 107 682 322 gemwin 0; #X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144 -1 -1 1 1; #X obj 102 161 r \$0-gemstart; #X obj 102 182 select 1 0; #X msg 102 214 create \, 1; #X msg 177 215 destroy; #X obj 102 239 t a; #X obj 318 54 inlet; #X obj 318 255 gemwin; #X obj 318 100 t a a; #X obj 318 287 outlet; #X obj 350 128 route create destroy; #X obj 350 150 t b; #X msg 350 172 1; #X obj 390 150 t b; #X msg 390 172 0; #X obj 350 195 t f; #X msg 350 219 set \$1; #X text 118 122 rendering; #X connect 1 0 2 0; #X connect 2 0 3 0; #X connect 2 1 4 0; #X connect 3 0 5 0; #X connect 4 0 5 0; #X connect 5 0 8 0; #X connect 6 0 8 0; #X connect 7 0 9 0; #X connect 8 0 7 0; #X connect 8 1 10 0; #X connect 10 0 11 0; #X connect 10 1 13 0; #X connect 11 0 12 0; #X connect 12 0 15 0; #X connect 13 0 14 0; #X connect 14 0 15 0; #X connect 15 0 16 0; #X connect 16 0 0 0; #X coords 0 -1 1 1 85 40 1 100 100; #X restore 315 28 pd gemwin; #X obj 140 266 rectangle 4 3; #X obj 233 175 gemlist; #X obj 140 175 pix_separator; #X obj 140 75 t a b; #X obj 272 152 pix_separator; #X connect 0 0 8 0; #X connect 1 0 3 0; #X connect 2 0 7 0; #X connect 2 0 9 0; #X connect 3 0 5 0; #X connect 6 0 1 1; #X connect 7 0 1 0; #X connect 8 0 2 0; #X connect 8 1 6 0; #X connect 9 0 6 1;
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list