Erich Berger wrote:
hi,
i m trying to follow the possibilities of motion blur or drawing traces (without single buffering) as it was discussed a while ago:
...
the simplest method for doing fullscreen motion blur, is currently torender the entire screen (additionally) into a texture and display this texture with an alpha<1.0
see attached example patch
mfg.asdr IOhannes
#N canvas 13 0 631 397 10; #N canvas 0 0 749 590 object 0; #X obj 193 81 gemhead; #X obj 193 384 translateXYZ; #X obj 276 67 t b b; #X obj 276 104 random 100; #X obj 193 357 colorRGB 1 1 1; #X obj 276 39 inlet; #X obj 193 411 teapot; #X obj 276 135 pack 0 1000; #X obj 276 181 / 100; #X obj 276 201 * 8; #X obj 276 221 - 4; #X obj 375 104 random 100; #X obj 375 135 pack 0 1000; #X obj 375 181 / 100; #X obj 375 201 * 8; #X obj 375 221 - 4; #X obj 276 159 line 50 10; #X obj 375 159 line 50 10; #X connect 0 0 4 0; #X connect 1 0 6 0; #X connect 2 0 3 0; #X connect 2 1 11 0; #X connect 3 0 7 0; #X connect 4 0 1 0; #X connect 5 0 2 0; #X connect 7 0 16 0; #X connect 8 0 9 0; #X connect 8 0 4 1; #X connect 9 0 10 0; #X connect 10 0 1 1; #X connect 11 0 12 0; #X connect 12 0 17 0; #X connect 13 0 14 0; #X connect 13 0 4 2; #X connect 14 0 15 0; #X connect 15 0 1 2; #X connect 16 0 8 0; #X connect 17 0 13 0; #X restore 282 186 pd object; #X obj 32 260 world_light; #X msg 282 164 bang; #X obj 282 144 metro 500; #X obj 282 126 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 397 100 gemhead -1; #X obj 397 221 pix_snap2tex; #X msg 442 197 0 0; #X msg 488 196 500 500; #X obj 442 174 t b b; #X obj 397 181 t b a; #X obj 397 259 alpha; #X floatatom 570 249 5 0 0 0 - - -; #X obj 397 327 square 4; #X obj 575 101 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X msg 143 138 frame $1; #X floatatom 169 106 5 0 0 0 - - -; #X obj 397 283 colorRGB 1 1 1 0.888; #X obj 33 236 gemhead; #X obj 50 133 gemwin 100; #X msg 49 69 create , 1 , lighting 1; #X obj 442 155 loadbang; #X connect 2 0 0 0; #X connect 3 0 2 0; #X connect 4 0 3 0; #X connect 5 0 10 0; #X connect 6 0 11 0; #X connect 7 0 6 1; #X connect 8 0 6 2; #X connect 9 0 7 0; #X connect 9 1 8 0; #X connect 10 0 6 0; #X connect 10 1 6 0; #X connect 11 0 17 0; #X connect 12 0 17 4; #X connect 14 0 12 0; #X connect 15 0 19 0; #X connect 16 0 15 0; #X connect 17 0 13 0; #X connect 18 0 1 0; #X connect 20 0 19 0; #X connect 21 0 9 0;