Have a look at this patch. ++ Jack
Le mercredi 31 mars 2010 à 21:27 +0200, Johannes Paar a écrit : > Hi again, > > the patch Jack sent me was what I was looking for. However I have some > troubles with the pix_coordinate object. Currently the final image is > split into two rectangles that sit left to right next to each other, > but what I actually need now is from top to down. > > I don't know how to manipulate pix_coordinate. I have no idea how to > use them as they are no XYZ coordinates. How can I achieve what I need? > > Thanks a lot & best > > Johannes > > Quoting Jack <[email protected]>: > > > Something like this for example ? > > ++ > > > > Jack > > > > > > Le lundi 29 mars 2010 à 02:16 +0200, Johannes Paar a écrit : > >> Hi, > >> > >> is there a way to split the gemframebuffer, so that I can split 1 > >> gemlist to be rendered on 2 objects, with each object showing only > >> half of the image? Like that the two final objects could act as > >> independent canvas for projection mapping. > >> > >> Thanks a lot & best > >> > >> Johannes > >> > >> > >> _______________________________________________ > >> [email protected] mailing list > >> UNSUBSCRIBE and account-management -> > >> http://lists.puredata.info/listinfo/pd-list > > > > > >
#N canvas 0 0 661 553 10; #X obj 67 131 gemhead 20; #X obj 254 176 gemhead; #X obj 67 338 rotateXYZ; #X obj 67 292 t a b; #X obj 67 252 translateXYZ 0 0 -4; #X obj 67 168 gemframebuffer; #X obj 254 201 pix_texture; #X obj 67 357 pqtorusknots; #N canvas 0 0 450 300 rotation 0; #X obj 33 19 inlet; #X obj 33 110 % 360; #X obj 33 62 i; #X obj 33 88 + 5; #X obj 33 136 outlet; #X obj 84 111 % 360; #X obj 84 63 i; #X obj 84 137 outlet; #X obj 134 112 % 360; #X obj 134 64 i; #X obj 134 138 outlet; #X obj 84 89 + 3; #X obj 134 90 + 7; #X connect 0 0 2 0; #X connect 0 0 6 0; #X connect 0 0 9 0; #X connect 1 0 2 1; #X connect 1 0 4 0; #X connect 2 0 3 0; #X connect 3 0 1 0; #X connect 5 0 6 1; #X connect 5 0 7 0; #X connect 6 0 11 0; #X connect 8 0 9 1; #X connect 8 0 10 0; #X connect 9 0 12 0; #X connect 11 0 5 0; #X connect 12 0 8 0; #X restore 99 313 pd rotation; #X obj 67 272 color 1 0 0; #X obj 384 176 gemhead; #X obj 384 201 pix_texture; #X obj 254 221 pix_coordinate; #X obj 384 221 pix_coordinate; #N canvas 0 0 450 300 gemwin 0; #X obj 132 136 gemwin; #X obj 67 89 outlet; #X obj 67 10 inlet; #X msg 67 70 set destroy; #X msg 142 68 set create; #X msg 198 112 destroy; #X msg 132 112 create \, 1; #X obj 67 40 route create destroy; #X obj 20 217 gemhead 1; #X obj 20 237 world_light; #X connect 2 0 7 0; #X connect 3 0 1 0; #X connect 4 0 1 0; #X connect 5 0 0 0; #X connect 6 0 0 0; #X connect 7 0 3 0; #X connect 7 0 6 0; #X connect 7 1 4 0; #X connect 7 1 5 0; #X connect 7 2 0 0; #X connect 8 0 9 0; #X restore 24 50 pd gemwin; #X msg 24 25 destroy; #X msg 164 131 color 0 0 1 0; #X obj 164 110 loadbang; #X obj 335 96 loadbang; #X text 82 24 <- 1; #X text 519 378 Jack/RYBN 2010; #X msg 335 125 0 0 1 0 1 0.5 0 0.5; #X msg 465 125 0 0.5 1 0.5 1 1 0 1; #X obj 254 373 rectangle 4 1.5; #X obj 384 373 rectangle 4 1.5; #X obj 254 249 translateXYZ 0 -1.5 0; #X obj 384 249 translateXYZ 0 1.5 0; #X floatatom 316 329 5 0 0 0 - - -; #X floatatom 446 329 5 0 0 0 - - -; #X text 355 328 <- 2; #X text 485 328 <- 2; #X obj 316 282 loadbang; #X msg 316 304 15; #X msg 446 304 -15; #X obj 254 353 rotateXYZ 0 -2 0; #X obj 384 353 rotateXYZ 0 2 0; #X connect 0 0 5 0; #X connect 1 0 6 0; #X connect 2 0 7 0; #X connect 3 0 2 0; #X connect 3 1 8 0; #X connect 4 0 9 0; #X connect 5 0 4 0; #X connect 5 1 6 1; #X connect 5 1 11 1; #X connect 6 0 12 0; #X connect 8 0 2 1; #X connect 8 1 2 2; #X connect 8 2 2 3; #X connect 9 0 3 0; #X connect 10 0 11 0; #X connect 11 0 13 0; #X connect 12 0 25 0; #X connect 13 0 26 0; #X connect 14 0 15 0; #X connect 15 0 14 0; #X connect 16 0 5 0; #X connect 17 0 16 0; #X connect 18 0 22 0; #X connect 18 0 21 0; #X connect 21 0 12 1; #X connect 22 0 13 1; #X connect 25 0 34 0; #X connect 26 0 35 0; #X connect 27 0 34 2; #X connect 28 0 35 2; #X connect 31 0 32 0; #X connect 31 0 33 0; #X connect 32 0 27 0; #X connect 33 0 28 0; #X connect 34 0 23 0; #X connect 35 0 24 0;
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
