I wanted to mix past images with present images from a webcam using pix_mix.
Attached is a patch that successfully does this using pix_buffer and fails
to do this using pix_delay. My question is, why doesn't pix_delay work with
pix_mix in my patch? How woulld I change my patch to get pix_delay to get
the same results as pix_buffer does?

Thanks,

-John

-- 
John
http://alumni.media.mit.edu/~harrison/
#N canvas 22 73 990 551 10;
#X obj 703 179 gemwin;
#X msg 655 146 create \, 1;
#X msg 735 146 destroy;
#X obj 245 40 gemhead;
#X obj 244 66 pix_video;
#X obj 205 368 rectangle 4 3;
#X obj 294 342 pix_separator;
#X obj 205 345 pix_texture;
#X obj 244 145 t a b;
#X obj 271 168 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 316 192 == 0;
#X obj 275 257 gemhead;
#X obj 233 304 pix_mix 0.1 0.9;
#X obj 296 366 pix_buffer_write MyDelay;
#X obj 275 276 pix_buffer_read MyDelay;
#X obj 68 277 pix_buffer MyDelay 2;
#X obj 528 265 pix_mix 0.1 0.9;
#X obj 244 93 spigot 0;
#X obj 479 103 spigot 1;
#X obj 388 37 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 562 332 pix_delay 1;
#X msg 624 308 1;
#X obj 624 285 loadbang;
#X obj 528 305 pix_separator;
#X obj 523 83 == 0;
#X text 542 214 PIX_MIX NOT WORKING HERE WITH PIX_DELAY;
#X text 45 213 PIX_MIX WORKING WITH PIX_BUFFER;
#X text 407 35 switch between pix_buffer and pix_delay. Why are these
getting different results?;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 4 0;
#X connect 4 0 17 0;
#X connect 4 0 18 0;
#X connect 6 0 13 0;
#X connect 7 0 5 0;
#X connect 8 0 12 0;
#X connect 8 1 9 0;
#X connect 9 0 10 0;
#X connect 9 0 13 1;
#X connect 10 0 14 1;
#X connect 11 0 14 0;
#X connect 12 0 6 0;
#X connect 12 0 7 0;
#X connect 14 0 12 1;
#X connect 16 0 7 0;
#X connect 16 0 23 0;
#X connect 17 0 8 0;
#X connect 18 0 16 0;
#X connect 19 0 17 1;
#X connect 19 0 24 0;
#X connect 20 0 16 1;
#X connect 21 0 20 1;
#X connect 22 0 21 0;
#X connect 23 0 20 0;
#X connect 24 0 18 1;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to