hello, i am having a problem with inserting gemframebuffer in the right way in the attached patch.
as you can see i try to buffer the texture on the big rectangle and put it on a smaller one. the only way i could get a buffer image was to put it in parallel to the a-branch of |t b a| which seems odd to me. furthermore the produced texture is just showing a segment of the whole 1600 600. what am i doing wrong ? thank you for your help. best erich
#N canvas 674 48 1028 813 10; #X obj 99 420 GEMglLoadIdentity; #X obj 99 543 scaleXYZ 4 4 1; #X obj 99 513 rotateXYZ 0 0 0; #X obj 99 274 t b a; #X obj 99 244 gemhead -16; #X obj 99 387 pix_snap2tex 0 0 1600 600; #X obj 99 581 rectangle 8 3; #X obj 99 453 colorRGB 1 1 1; #X obj 37 134 gemwin; #X msg 108 90 dimen 1600 600; #X obj 37 23 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 37 90 create \, 1; #X obj 37 47 t b b; #X obj 396 6 gemhead; #X obj 396 191 circle 0.1; #X obj 396 40 colorRGB 1 0 0; #X obj 396 73 rotateXYZ 0 0 0; #X msg 224 89 0 \, destroy; #X obj 577 56 counter 0 360; #X obj 577 23 t b; #X floatatom 577 89 5 0 0 0 - - -; #X obj 577 116 select 360; #X obj 396 163 translateXYZ 0.5 0 0; #X obj 99 483 translateXYZ 0 0 -12; #X obj 577 146 counter 0 100; #X obj 438 312 gemhead -17; #X obj 176 312 gemframebuffer; #X obj 176 343 translateXYZ 0 0 -4; #X obj 438 353 pix_texture; #X obj 438 383 translateXYZ 4 -2 0; #X obj 438 409 rectangle 4 4; #X connect 0 0 7 0; #X connect 1 0 6 0; #X connect 2 0 1 0; #X connect 3 0 5 0; #X connect 3 1 5 0; #X connect 3 1 26 0; #X connect 4 0 3 0; #X connect 5 0 0 0; #X connect 7 0 23 0; #X connect 9 0 8 0; #X connect 10 0 12 0; #X connect 11 0 8 0; #X connect 12 0 11 0; #X connect 12 1 9 0; #X connect 13 0 15 0; #X connect 13 0 19 0; #X connect 15 0 16 0; #X connect 16 0 22 0; #X connect 17 0 8 0; #X connect 18 0 16 3; #X connect 18 0 20 0; #X connect 19 0 18 0; #X connect 20 0 21 0; #X connect 21 0 24 0; #X connect 22 0 14 0; #X connect 23 0 2 0; #X connect 24 0 22 1; #X connect 25 0 28 0; #X connect 26 0 27 0; #X connect 26 1 28 1; #X connect 27 0 5 0; #X connect 28 0 29 0; #X connect 29 0 30 0;
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
