Yes, thanx Matthias this method works fine. ;) IOhannes, i didn't understand what you mean with 'you could set the matrix mode to "texture" and then use [scale].'. Can you explain ? Is it working with [pix_coordinate] ? ++
Jack Le dimanche 30 mai 2010 à 14:52 +0200, Matthias Neuenhofer a écrit : > I would use gemframebuffer. > see patch > > lg > Matthias > > #N canvas 840 531 450 300 10; > #X obj 66 39 gemhead 10; > #X obj 199 34 gemhead; > #X obj 69 118 pix_video; > #X obj 70 157 pix_texture; > #X obj 68 80 gemframebuffer; > #X obj 73 266 rectangle 4 3; > #X obj 202 143 pix_texture; > #X obj 202 210 translateXYZ; > #X obj 72 242 scaleXYZ 1 1 1; > #X obj 70 188 translateXYZ 0 0 -4; > #X floatatom 108 212 5 0 0 0 - - -; > #X obj 201 250 curve3d 5 5; > #X floatatom 231 175 5 0 0 0 - - -; > #X floatatom 271 176 5 0 0 0 - - -; > #X floatatom 313 175 5 0 0 0 - - -; > #X connect 0 0 4 0; > #X connect 1 0 6 0; > #X connect 2 0 3 0; > #X connect 3 0 9 0; > #X connect 4 0 2 0; > #X connect 4 1 6 1; > #X connect 6 0 7 0; > #X connect 7 0 11 0; > #X connect 8 0 5 0; > #X connect 9 0 8 0; > #X connect 10 0 8 2; > #X connect 10 0 8 1; > #X connect 12 0 7 1; > #X connect 13 0 7 2; > #X connect 14 0 7 3; > > > Am 29.05.2010 um 18:19 schrieb Jack: > > > Hello, > > > > I would like to zoom in a video (from [pix_video]) on a [curve3d]. I > > want to use [pix_texture] and [pix_coordinate] for that. But it seems i > > can't 'translate' the texture with this method (it seems the texture > > start always at the same place on the X). > > However, it is working nice on simple geos like rectangle. > > I don't dig a lot to solve this problem. > > Have you any information to avoid this behaviour ? > > Should I use GLSL for this ? > > ++ > > > > Jack > > > > > > > > > > _______________________________________________ > > GEM-dev mailing list > > [email protected] > > http://lists.puredata.info/listinfo/gem-dev > _______________________________________________ GEM-dev mailing list [email protected] http://lists.puredata.info/listinfo/gem-dev
