Forums > Jitter

(no subject)

September 5, 2007 | 8:17 pm

how it is possible to put the respective color of the pixels at the
mvie one?
please

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 366 21 66 196617 loadmess 15;
#P newex 124 175 80 196617 jit.gl.handle foo;
#P comment 375 88 41 196617 DIM;
#P newex 338 130 33 196617 s rez;
#P newex 464 110 71 196617 prepend shape;
#P user ubumenu 464 85 72 196617 0 1 1 0;
#X add sphere;
#X add torus;
#X add cylinder;
#X add opencylinder;
#X add cube;
#X add opencube;
#X add plane;
#X add circle;
#X prefix_set 0 0 0;
#X pattrmode 1;
#P number 417 86 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 335 109 56 196617 dim $1 $1;
#P newex 124 192 82 196617 jit.gl.render foo;
#P message 545 457 93 196617 color $1 $2 $3 $4;
#P newex 320 415 71 196617 prepend shape;
#P user ubumenu 320 390 72 196617 0 1 1 0;
#X add sphere;
#X add torus;
#X add cylinder;
#X add opencylinder;
#X add cube;
#X add opencube;
#X add plane;
#X add circle;
#X prefix_set 0 0
0;
#X pattrmode 1;
#P toggle 758 579 15 0;
#P message 759 605 66 196617 floating $1;
#P message 686 609 68 196617 fullscreen $1;
#P toggle 669 609 15 0;
#P newex 711 584 35 196617 sel 27;
#P newex 669 584 40 196617 key;
#P newex 320 462 20 196617 t b;
#P message 346 457 173 196617 position $1 $2 $3 , glcolor $4 $5 $6;
#P newex 320 337 41 196617 jit.iter;
#P toggle 124 85 18 0;
#P newex 124 103 57 196617 qmetro 80;
#P newex 124 150 58 196617 t erase b b;
#P window linecount 2;
#P newex 320 495 326 196617 jit.gl.gridshape foo @lighting_enable 1
@depth_enable 1 @automatic 1 @scale 0.06 0.06 0.06 @blend_enable 0
@smooth_shading 1 @texture;
#P window linecount 1;
#P newex 686 627 227 196617 jit.window foo @depthbuffer 1 @fsaa 1 @sync 1;
#P message 562 154 30 196617 read;
#P newex 569 195 63 196617 jit.qt.movie;
#P newex 567 174 33 196617 r rez;
#P newex 445 210 33 196617 r rez;
#P newex 331 247 33 196617 r rez;
#P window linecount 2;
#P comment 393 302 120 196617 offset vertex positions by displacement;
#P window linecount 1;
#P newex 322 305 64 196617 jit.op @op +;
#P newex 322 268 130 196617 jit.matrix 5 float32 20 20;
#P newex 444 233 209 196617 jit.matrix 3 float32 20 20 @planemap 5 6 7;
#P newex 376 286 65 196617 jit.op @op *;
#P newex 323 162 226 196617 jit.gl.gridshape @matrixoutput 1 @shape sphere;
#P connect 16 0 18 0;
#P connect 16 0 17 0;
#P connect 16 0 27 0;
#P connect 29 0 12 0;
#P connect 29 0 0 0;
#P connect 29 0 33 0;
#P connect 29 0 9 0;
#P connect 32 0 0 0;
#P connect 32 0 9 0;
#P connect 13 2 0 0;
#P connect 13 2 9 0;
#P connect 4 0 16 0;
#P fasten 0 0 3 0 328 185 327 185;
#P fasten 0 0 2 0 328 185 449 185;
#P connect 36 0 30 0;
#P connect 1 0 4 1;
#P connect 24 0 23 0;
#P connect 8 0 9 0;
#P connect 10 0 9 0;
#P fasten 19 0 20 0 710 601 710 586;
#P connect 9 0 1 1;
#P connect 22 0 11 0;
#P connect 23 0 11 0;
#P fasten 21 0 22 0 685 624 685 609;
#P fasten 20 0 21 0 716 606 674 606;
#P connect 2 0 1 0;
#P fasten 31 1 32 0 500 104 469 104;
#P connect 7 0 2 0;
#P connect 30 0 29 0;
#P fasten 17 0 12 0 351 483 325 483;
#P connect 18 0 12 0;
#P connect 26 0 12 0;
#P connect 27 0 12 0;
#P fasten 25 1 26 0 356 409 325 409;
#P connect 3 0 4 0;
#P connect 6 0 3 0;
#P connect 13 1 28 0;
#P connect 13 0 28 0;
#P connect 35 0 28 0;
#P connect 15 0 14 0;
#P connect 14 0 13 0;
#P window clipboard copycount 37;


September 8, 2007 | 4:39 pm

Hello Matthieu,

i get a lot of errormessages because gridshape doesn’t understand
"glcolor"
i don’t understand why you use [send rez] and [receive rez]

my advice is tear all references of color and glcolor out of the patch,
look in the helpfile to make texture connect with your gridshapes.

goodluck
DO_Ray

On 5 Sep 2007, at 22:17, matthieu.tercieux@free.fr wrote:

> how it is possible to put the respective color of the pixels at the
> mvie one?
> please
>
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P newex 366 21 66 196617 loadmess 15;
> #P newex 124 175 80 196617 jit.gl.handle foo;
> #P comment 375 88 41 196617 DIM;
> #P newex 338 130 33 196617 s rez;
> #P newex 464 110 71 196617 prepend shape;
> #P user ubumenu 464 85 72 196617 0 1 1 0;
> #X add sphere;
> #X add torus;
> #X add cylinder;
> #X add opencylinder;
> #X add cube;
> #X add opencube;
> #X add plane;
> #X add circle;
> #X prefix_set 0 0 0;
> #X pattrmode 1;
> #P number 417 86 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P message 335 109 56 196617 dim $1 $1;
> #P newex 124 192 82 196617 jit.gl.render foo;
> #P message 545 457 93 196617 color $1 $2 $3 $4;
> #P newex 320 415 71 196617 prepend shape;
> #P user ubumenu 320 390 72 196617 0 1 1 0;
> #X add sphere;
> #X add torus;
> #X add cylinder;
> #X add opencylinder;
> #X add cube;
> #X add opencube;
> #X add plane;
> #X add circle;
> #X prefix_set 0 0
0;
> #X pattrmode 1;
> #P toggle 758 579 15 0;
> #P message 759 605 66 196617 floating $1;
> #P message 686 609 68 196617 fullscreen $1;
> #P toggle 669 609 15 0;
> #P newex 711 584 35 196617 sel 27;
> #P newex 669 584 40 196617 key;
> #P newex 320 462 20 196617 t b;
> #P message 346 457 173 196617 position $1 $2 $3 , glcolor $4
> $5 $6;
> #P newex 320 337 41 196617 jit.iter;
> #P toggle 124 85 18 0;
> #P newex 124 103 57 196617 qmetro 80;
> #P newex 124 150 58 196617 t erase b b;
> #P window linecount 2;
> #P newex 320 495 326 196617 jit.gl.gridshape foo @lighting_enable 1
> @depth_enable 1 @automatic 1 @scale 0.06 0.06 0.06 @blend_enable 0
> @smooth_shading 1 @texture;
> #P window linecount 1;
> #P newex 686 627 227 196617 jit.window foo @depthbuffer 1 @fsaa 1
> @sync 1;
> #P message 562 154 30 196617 read;
> #P newex 569 195 63 196617 jit.qt.movie;
> #P newex 567 174 33 196617 r rez;
> #P newex 445 210 33 196617 r rez;
> #P newex 331 247 33 196617 r rez;
> #P window linecount 2;
> #P comment 393 302 120 196617 offset vertex positions by displacement;
> #P window linecount 1;
> #P newex 322 305 64 196617 jit.op @op +;
> #P newex 322 268 130 196617 jit.matrix 5 float32 20 20;
> #P newex 444 233 209 196617 jit.matrix 3 float32 20 20 @planemap 5
> 6 7;
> #P newex 376 286 65 196617 jit.op @op *;
> #P newex 323 162 226 196617 jit.gl.gridshape @matrixoutput 1 @shape
> sphere;
> #P connect 16 0 18 0;
> #P connect 16 0 17 0;
> #P connect 16 0 27 0;
> #P connect 29 0 12 0;
> #P connect 29 0 0 0;
> #P connect 29 0 33 0;
> #P connect 29 0 9 0;
> #P connect 32 0 0 0;
> #P connect 32 0 9 0;
> #P connect 13 2 0 0;
> #P connect 13 2 9 0;
> #P connect 4 0 16 0;
> #P fasten 0 0 3 0 328 185 327 185;
> #P fasten 0 0 2 0 328 185 449 185;
> #P connect 36 0 30 0;
> #P connect 1 0 4 1;
> #P connect 24 0 23 0;
> #P connect 8 0 9 0;
> #P connect 10 0 9 0;
> #P fasten 19 0 20 0 710 601 710 586;
> #P connect 9 0 1 1;
> #P connect 22 0 11 0;
> #P connect 23 0 11 0;
> #P fasten 21 0 22 0 685 624 685 609;
> #P fasten 20 0 21 0 716 606 674 606;
> #P connect 2 0 1 0;
> #P fasten 31 1 32 0 500 104 469 104;
> #P connect 7 0 2 0;
> #P connect 30 0 29 0;
> #P fasten 17 0 12 0 351 483 325 483;
> #P connect 18 0 12 0;
> #P connect 26 0 12 0;
> #P connect 27 0 12 0;
> #P fasten 25 1 26 0 356 409 325 409;
> #P connect 3 0 4 0;
> #P connect 6 0 3 0;
> #P connect 13 1 28 0;
> #P connect 13 0 28 0;
> #P connect 35 0 28 0;
> #P connect 15 0 14 0;
> #P connect 14 0 13 0;
> #P window clipboard copycount 37;
>


September 8, 2007 | 5:01 pm

matthieu.tercieux@free.fr skrev:
> how it is possible to put the respective color of the pixels at the
> mvie one?
> please
>
Matthieu, find the thread called:
"Sharing is fun – Psychedelic Depth Artifacts"
by Wesley Smith – on this forum.

There you will see a rather reasonable example of using jit.gl.multiple
to feed these different parameters to gridshapes, including an open slot
for "color". Feed video in there and you’re golden (oh, and you may need
to switch around some planes, but it’s rather simple)

Hope this helps,
Andreas.


September 8, 2007 | 8:55 pm

how it’s possible to put the respective color of the pixels movie at the
respective sphere?
thank’s

#P user gswitch 496 452 41 32 0 0;
#P button 614 268 66 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 446 425 78 196617 color $2 $3 $4;
#P newex 400 336 66 196617 jit.unpack;
#P newex 322 368 134 196617 jit.pack 9;
#P newex 321 336 79 196617 jit.unpack 5;
#P message 530 427 78 196617 color $3 $3 $3;
#P user jit.fpsgui 160 236 60 196617 0;
#P user jit.pwindow 574 332 82 62 0 1 0 0 1 0;
#P user jit.pwindow 653 332 82 62 0 1 0 0 1 0;
#P number 176 85 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 358 50 66 196617 loadmess 15;
#P newex 124 175 80 196617 jit.gl.handle foo;
#P comment 396 73 41 196617 DIM;
#P newex 338 130 33 196617 s rez;
#P number 358 73 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 314 97 56 196617 pak dim i i;
#P window linecount 2;
#P newex 124 201 217 196617 jit.gl.render foo @erase_color 0. 0. 0. 0.9
@rotatexyz 0. 0. 180. @scale 0.75 0.56 0.56;
#P toggle 107 268 15 0;
#P window linecount 1;
#P message 108 294 66 196617 floating $1;
#P message 35 298 68 196617 fullscreen $1;
#P toggle 18 298 15 0;
#P newex 60 273 35 196617 sel 27;
#P newex 18 273 40 196617 key;
#P newex 322 469 20 196617 t b;
#P message 353 458 90 196617 position $1 $2 $3;
#P newex 322 405 41 196617 jit.iter;
#P toggle 124 85 18 0;
#P newex 123 105 57 196617 qmetro 80;
#P newex 124 150 66 196617 t erase b b b;
#P window linecount 2;
#P newex 320 495 361 196617 jit.gl.gridshape foo @lighting_enable 1
@depth_enable 1 @automatic 1 @scale 0.06 0.06 0.06 @blend_enable 0
@smooth_shading 1 @texture @shape sphere;
#P window linecount 1;
#P newex 35 316 227 196617 jit.window foo @depthbuffer 1 @fsaa 1 @sync 1;
#P message 562 154 30 196617 read;
#P newex 562 178 111 196617 jit.qt.movie @rate 0.5;
#P newex 445 210 33 196617 r rez;
#P newex 331 247 33 196617 r rez;
#P newex 322 305 64 196617 jit.op @op +;
#P newex 322 268 130 196617 jit.matrix 5 float32 10 10;
#P newex 444 235 209 196617 jit.matrix 3 float32 10 10 @planemap 5 6 7;
#P newex 376 286 65 196617 jit.op @op *;
#P newex 323 162 219 196617 jit.gl.gridshape @matrixoutput 1 @shape plane;
#P connect 29 0 25 0;
#P connect 13 0 12 0;
#P connect 12 0 11 0;
#P connect 30 0 12 1;
#P connect 14 0 16 0;
#P connect 14 0 15 0;
#P connect 14 0 38 0;
#P connect 14 0 34 0;
#P connect 39 0 40 0;
#P connect 40 0 10 0;
#P connect 34 0 40 2;
#P connect 38 0 40 1;
#P connect 24 0 10 0;
#P connect 24 0 0 0;
#P connect 24 0 26 0;
#P connect 24 0 7 0;
#P connect 35 1 36 1;
#P connect 7 0 37 0;
#P connect 7 0 1 1;
#P connect 7 0 31 0;
#P connect 4 0 35 0;
#P connect 4 0 32 0;
#P connect 25 0 24 1;
#P connect 25 0 24 2;
#P connect 35 2 36 2;
#P connect 11 1 23 0;
#P connect 11 0 23 0;
#P connect 28 0 23 0;
#P connect 37 0 36 8;
#P connect 37 3 36 7;
#P connect 37 2 36 6;
#P connect 37 1 36 5;
#P connect 16 0 10 0;
#P fasten 15 0 10 0 358 483 325 483;
#P connect 11 2 33 0;
#P connect 11 2 0 0;
#P fasten 0 0 3 0 328 185 327 185;
#P fasten 0 0 2 0 328 185 449 185;
#P connect 36 0 14 0;
#P connect 35 4 36 4;
#P connect 35 3 36 3;
#P connect 35 0 36 0;
#P fasten 18 0 19 0 65 295 23 295;
#P fasten 19 0 20 0 34 313 34 298;
#P connect 20 0 9 0;
#P connect 21 0 9 0;
#P fasten 17 0 18 0 59 290 59 275;
#P connect 22 0 21 0;
#P connect 5 0 3 0;
#P connect 3 0 4 0;
#P connect 2 0 1 0;
#P connect 1 0 4 1;
#P connect 6 0 2 0;
#P connect 11 3 7 0;
#P connect 8 0 7 0;
#P window clipboard copycount 41;


September 8, 2007 | 10:06 pm

matthieu.tercieux@free.fr skrev:
> how it’s possible to put the respective color of the pixels movie at the
> respective sphere?
> thank’s
>
Here’s how, in a full working example:

http://tinyurl.com/39cywl

-thanks to Wesley Smith for being bright about using jit.gl.multiple, my
new favourite helper-object.

I hope this helps,
Andreas.


September 9, 2007 | 8:55 am

> -thanks to Wesley Smith for being bright about using jit.gl.multiple, my
> new favourite helper-object.

prolly cause he wrote it, if memory serves me.


September 9, 2007 | 12:21 pm

thanks for the link but i’have a bug.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 336 312 41 196617 r draw;
#P user jit.pwindow 484 219 82 62 0 1 0 0 1 0;
#P button 58 268 15 0;
#P window linecount 2;
#P message 384 400 386 196617 jit.gl.multiple foo 3 @glparams position color
scale @targetname sphere @scale 0.1 0.1 0.1 @targetmode 1 @blend_enable 1
@lighting_enable 1 @smooth_shading 1;
#P newex 385 360 386 196617 jit.gl.multiple foo 3 @glparams position color scale
@targetname sphere @scale 0.1 0.1 0.1 @targetmode 1 @blend_enable 1
@lighting_enable 1 @smooth_shading 1;
#P window linecount 1;
#P message 288 151 34 196617 reset;
#P user jit.pwindow 817 413 82 62 0 1 0 0 1 0;
#P flonum 211 103 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 121 101 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 100 126 142 196617 pak erase_color 0. 0. 0. 0.38;
#P message 32 151 72 196617 lens_angle $1;
#P flonum 32 128 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 789 326 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 573 213 30 196617 read;
#P newex 604 239 41 196617 r draw;
#P newex 573 239 33 196617 r rez;
#P newex 573 265 178 196617 jit.qt.movie 20 20 @unique 1 @vol 0.;
#P newex 444 163 41 196617 r draw;
#P newex 875 326 41 196617 r draw;
#P newex 828 326 33 196617 r rez;
#P newex 761 342 130 196617 jit.matrix 3 float32 20 20;
#P newex 595 293 33 196617 r rez;
#P newex 573 322 209 196617 jit.matrix 3 float32 20 20 @planemap 1 2 3;
#P newex 346 232 33 196617 r rez;
#P newex 385 286 130 196617 jit.matrix 3 float32 20 20;
#P newex 343 194 33 196617 s rez;
#P newex 491 166 71 196617 prepend shape;
#P user ubumenu 491 140 72 196617 0 1 1 0;
#X add sphere;
#X add torus;
#X add cylinder;
#X add opencylinder;
#X add cube;
#X add opencube;
#X add plane;
#X add circle;
#X prefix_set 0 0 0;
#P newex 385 194 307 196617 jit.gl.gridshape foo @automatic 0 @matrixoutput 1
@shape sphere;
#P message 385 162 56 196617 dim $1 $1;
#P number 385 139 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 385 117 66 196617 loadmess 20;
#P toggle 158 373 15 0;
#P message 158 391 55 196617 floating $1;
#P toggle 85 373 15 0;
#P newex 46 372 35 196617 sel 27;
#P message 85 391 68 196617 fullscreen $1;
#P newex 3 415 281 196617 jit.window foo @depthbuffer 1 @fsaa 1 @sync 1
@floating 1;
#P newex 1 372 40 196617 key;
#P newex 109 295 71 196617 prepend shape;
#P user ubumenu 109 269 72 196617 0 1 1 0;
#X add sphere;
#X add torus;
#X add cylinder;
#X add opencylinder;
#X add cube;
#X add opencube;
#X add plane;
#X add circle;
#X prefix_set 0 0
0;
#P newex 1 323 374 196617 jit.gl.gridshape foo @depth_enable 1 @scale 1. 1. 1.
@automatic 1 @name sphere;
#P message 1 291 56 196617 dim $1 $1;
#P number 1 268 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 1 246 66 196617 loadmess 20;
#P user jit.fpsgui 1 205 60 196617 0;
#P newex 121 150 174 196617 jit.gl.handle foo inherit_transform 1;
#P newex 1 175 337 196617 jit.gl.render foo @camera 0. 0. 0. 12 @lens_angle 90
@lighting_enable 1;
#P newex 56 106 41 196617 s draw;
#P newex 1 84 58 196617 t erase b b;
#P toggle 1 22 15 0;
#P newex 1 44 57 196617 qmetro 10;
#P connect 1 0 0 0;
#P connect 0 0 2 0;
#P hidden fasten 2 1 4 0 30 138 6 138;
#P connect 2 0 4 0;
#P connect 41 0 4 0;
#P connect 42 0 4 0;
#P connect 5 0 4 0;
#P connect 4 0 6 0;
#P connect 7 0 8 0;
#P connect 8 0 9 0;
#P connect 2 2 10 0;
#P connect 9 0 10 0;
#P connect 12 0 10 0;
#P connect 49 0 10 0;
#P fasten 18 0 14 0 163 410 8 410;
#P fasten 15 0 14 0 90 410 8 410;
#P connect 40 0 41 0;
#P fasten 13 0 16 0 6 391 43 391 43 370 51 370;
#P connect 2 2 3 0;
#P fasten 16 0 17 0 51 390 82 390 82 370 90 370;
#P connect 17 0 15 0;
#P fasten 11 1 12 0 145 290 114 290;
#P connect 46 0 5 0;
#P connect 43 0 42 1;
#P connect 19 0 18 0;
#P connect 43 0 42 2;
#P connect 43 0 42 3;
#P connect 44 0 42 4;
#P connect 22 0 26 0;
#P connect 20 0 21 0;
#P connect 21 0 22 0;
#P connect 22 0 23 0;
#P connect 34 0 23 0;
#P connect 25 0 23 0;
#P connect 23 0 27 0;
#P connect 28 0 27 0;
#P connect 27 0 47 0;
#P connect 51 0 47 0;
#P connect 27 0 50 0;
#P fasten 24 1 25 0 527 161 496 161;
#P connect 38 0 35 0;
#P connect 37 0 35 0;
#P connect 36 0 35 0;
#P connect 35 0 29 0;
#P connect 30 0 29 0;
#P connect 29 0 47 1;
#P connect 32 0 31 0;
#P connect 39 0 31 0;
#P connect 33 0 31 0;
#P connect 31 0 47 2;
#P connect 31 0 45 0;
#P window clipboard copycount 52;

Selon Andreas Wetterberg :

> matthieu.tercieux@free.fr skrev:
> > how it’s possible to put the respective color of the pixels movie at the
> > respective sphere?
> > thank’s
> >
> Here’s how, in a full working example:
> http://tinyurl.com/39cywl
>
> -thanks to Wesley Smith for being bright about using jit.gl.multiple, my
> new favourite helper-object.
>
> I hope this helps,
> Andreas.
>


September 9, 2007 | 8:41 pm

Matthieu,
I posted the picture to give an idea of the underlying mechanisms involved.

I think instead of attempting to copy over that picture into a real
patch it might be wiser to actually take apart Wesleys "Psychedelic"
patch, as linked earlier – that’s what I did to give you that example!

I would presumably also provide better learning material.

Best of luck,
Andreas.

matthieu.tercieux@free.fr skrev:
> thanks for the link but i’have a bug.
>
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P newex 336 312 41 196617 r draw;
> #P user jit.pwindow 484 219 82 62 0 1 0 0 1 0;
> #P button 58 268 15 0;
> #P window linecount 2;
> #P message 384 400 386 196617 jit.gl.multiple foo 3 @glparams position color
> scale @targetname sphere @scale 0.1 0.1 0.1 @targetmode 1 @blend_enable 1
> @lighting_enable 1 @smooth_shading 1;
> #P newex 385 360 386 196617 jit.gl.multiple foo 3 @glparams position color scale
> @targetname sphere @scale 0.1 0.1 0.1 @targetmode 1 @blend_enable 1
> @lighting_enable 1 @smooth_shading 1;
> #P window linecount 1;
> #P message 288 151 34 196617 reset;
> #P user jit.pwindow 817 413 82 62 0 1 0 0 1 0;
> #P flonum 211 103 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P flonum 121 101 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P newex 100 126 142 196617 pak erase_color 0. 0. 0. 0.38;
> #P message 32 151 72 196617 lens_angle $1;
> #P flonum 32 128 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P flonum 789 326 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P message 573 213 30 196617 read;
> #P newex 604 239 41 196617 r draw;
> #P newex 573 239 33 196617 r rez;
> #P newex 573 265 178 196617 jit.qt.movie 20 20 @unique 1 @vol 0.;
> #P newex 444 163 41 196617 r draw;
> #P newex 875 326 41 196617 r draw;
> #P newex 828 326 33 196617 r rez;
> #P newex 761 342 130 196617 jit.matrix 3 float32 20 20;
> #P newex 595 293 33 196617 r rez;
> #P newex 573 322 209 196617 jit.matrix 3 float32 20 20 @planemap 1 2 3;
> #P newex 346 232 33 196617 r rez;
> #P newex 385 286 130 196617 jit.matrix 3 float32 20 20;
> #P newex 343 194 33 196617 s rez;
> #P newex 491 166 71 196617 prepend shape;
> #P user ubumenu 491 140 72 196617 0 1 1 0;
> #X add sphere;
> #X add torus;
> #X add cylinder;
> #X add opencylinder;
> #X add cube;
> #X add opencube;
> #X add plane;
> #X add circle;
> #X prefix_set 0 0 0;
> #P newex 385 194 307 196617 jit.gl.gridshape foo @automatic 0 @matrixoutput 1
> @shape sphere;
> #P message 385 162 56 196617 dim $1 $1;
> #P number 385 139 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P newex 385 117 66 196617 loadmess 20;
> #P toggle 158 373 15 0;
> #P message 158 391 55 196617 floating $1;
> #P toggle 85 373 15 0;
> #P newex 46 372 35 196617 sel 27;
> #P message 85 391 68 196617 fullscreen $1;
> #P newex 3 415 281 196617 jit.window foo @depthbuffer 1 @fsaa 1 @sync 1
> @floating 1;
> #P newex 1 372 40 196617 key;
> #P newex 109 295 71 196617 prepend shape;
> #P user ubumenu 109 269 72 196617 0 1 1 0;
> #X add sphere;
> #X add torus;
> #X add cylinder;
> #X add opencylinder;
> #X add cube;
> #X add opencube;
> #X add plane;
> #X add circle;
> #X prefix_set 0 0
0;
> #P newex 1 323 374 196617 jit.gl.gridshape foo @depth_enable 1 @scale 1. 1. 1.
> @automatic 1 @name sphere;
> #P message 1 291 56 196617 dim $1 $1;
> #P number 1 268 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P newex 1 246 66 196617 loadmess 20;
> #P user jit.fpsgui 1 205 60 196617 0;
> #P newex 121 150 174 196617 jit.gl.handle foo inherit_transform 1;
> #P newex 1 175 337 196617 jit.gl.render foo @camera 0. 0. 0. 12 @lens_angle 90
> @lighting_enable 1;
> #P newex 56 106 41 196617 s draw;
> #P newex 1 84 58 196617 t erase b b;
> #P toggle 1 22 15 0;
> #P newex 1 44 57 196617 qmetro 10;
> #P connect 1 0 0 0;
> #P connect 0 0 2 0;
> #P hidden fasten 2 1 4 0 30 138 6 138;
> #P connect 2 0 4 0;
> #P connect 41 0 4 0;
> #P connect 42 0 4 0;
> #P connect 5 0 4 0;
> #P connect 4 0 6 0;
> #P connect 7 0 8 0;
> #P connect 8 0 9 0;
> #P connect 2 2 10 0;
> #P connect 9 0 10 0;
> #P connect 12 0 10 0;
> #P connect 49 0 10 0;
> #P fasten 18 0 14 0 163 410 8 410;
> #P fasten 15 0 14 0 90 410 8 410;
> #P connect 40 0 41 0;
> #P fasten 13 0 16 0 6 391 43 391 43 370 51 370;
> #P connect 2 2 3 0;
> #P fasten 16 0 17 0 51 390 82 390 82 370 90 370;
> #P connect 17 0 15 0;
> #P fasten 11 1 12 0 145 290 114 290;
> #P connect 46 0 5 0;
> #P connect 43 0 42 1;
> #P connect 19 0 18 0;
> #P connect 43 0 42 2;
> #P connect 43 0 42 3;
> #P connect 44 0 42 4;
> #P connect 22 0 26 0;
> #P connect 20 0 21 0;
> #P connect 21 0 22 0;
> #P connect 22 0 23 0;
> #P connect 34 0 23 0;
> #P connect 25 0 23 0;
> #P connect 23 0 27 0;
> #P connect 28 0 27 0;
> #P connect 27 0 47 0;
> #P connect 51 0 47 0;
> #P connect 27 0 50 0;
> #P fasten 24 1 25 0 527 161 496 161;
> #P connect 38 0 35 0;
> #P connect 37 0 35 0;
> #P connect 36 0 35 0;
> #P connect 35 0 29 0;
> #P connect 30 0 29 0;
> #P connect 29 0 47 1;
> #P connect 32 0 31 0;
> #P connect 39 0 31 0;
> #P connect 33 0 31 0;
> #P connect 31 0 47 2;
> #P connect 31 0 45 0;
> #P window clipboard copycount 52;
>
>
>
>
> Selon Andreas Wetterberg :
>
>
>> matthieu.tercieux@free.fr skrev:
>>
>>> how it’s possible to put the respective color of the pixels movie at the
>>> respective sphere?
>>> thank’s
>>>
>>>
>> Here’s how, in a full working example:
>> http://tinyurl.com/39cywl
>>
>> -thanks to Wesley Smith for being bright about using jit.gl.multiple, my
>> new favourite helper-object.
>>
>> I hope this helps,
>> Andreas.
>>
>>
>
>
>
> .
>
>


Viewing 8 posts - 1 through 8 (of 8 total)