blob: ac950bb5874153652c4ab8acd0c767ab0579058a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
#N canvas 133 61 637 554 12;
#X declare -lib Gem;
#X obj 157 59 gemhead;
#X floatatom 336 167 0 0 0 0 - - -;
#X obj 157 385 rotateXYZ;
#X obj 157 437 cube;
#X floatatom 224 359 0 0 0 0 - - -;
#X obj 224 310 metro 50;
#X obj 203 412 translateXYZ 2 1 0;
#X obj 203 438 cube;
#X obj 157 201 pix_movie;
#X text 377 167 control which frame;
#X text 256 436 automatically textures;
#X obj 177 238 print frames;
#X msg 287 25 open ../data/homer.avi;
#X obj 224 290 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0
1;
#X obj 325 282 print done;
#X msg 336 135 auto \$1;
#X obj 336 116 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0
1;
#X text 43 486 the texturing is done automatically: there is no need
to care for the image-size (it doesn't have to be a power of 2). on
the other hand \, you cannot do image-processing !! use [pix_film]
for this;
#X msg 325 259 reached the end !!!;
#X obj 293 235 t f b;
#X text 449 13 Win32;
#X text 461 73 linux;
#X msg 297 56 open ../data/anim-1.mov;
#X msg 307 87 open ../data/alea.mpg;
#X text 8 264 notice: you don't need pix_texture;
#X text 406 131 play the movie !;
#X obj 224 335 i;
#X obj 259 335 + 1;
#X obj 295 335 % 360;
#X text 471 42 apple;
#X obj 505 415 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 22 454 304 gemwin 0;
#X obj 132 136 gemwin;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X obj 67 41 route create;
#X msg 67 70 set destroy;
#X msg 142 68 set create;
#X msg 132 112 create \, 1;
#X msg 198 112 destroy;
#X msg 234 221 dimen 500 500;
#X msg 279 189 dimen 1024 768;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 6 0;
#X connect 3 1 5 0;
#X connect 3 1 7 0;
#X connect 4 0 1 0;
#X connect 5 0 1 0;
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X connect 8 0 0 0;
#X connect 9 0 0 0;
#X restore 510 453 pd gemwin;
#X msg 510 430 create;
#X text 506 413 Create window:;
#X obj 512 5 declare -lib Gem;
#X connect 0 0 8 0;
#X connect 1 0 8 1;
#X connect 2 0 3 0;
#X connect 2 0 6 0;
#X connect 4 0 2 2;
#X connect 4 0 2 3;
#X connect 5 0 26 0;
#X connect 6 0 7 0;
#X connect 8 0 2 0;
#X connect 8 1 11 0;
#X connect 8 2 19 0;
#X connect 12 0 8 0;
#X connect 13 0 5 0;
#X connect 15 0 8 0;
#X connect 16 0 15 0;
#X connect 18 0 14 0;
#X connect 19 0 8 1;
#X connect 19 1 18 0;
#X connect 22 0 8 0;
#X connect 23 0 8 0;
#X connect 26 0 27 0;
#X connect 26 0 4 0;
#X connect 27 0 28 0;
#X connect 28 0 26 1;
#X connect 31 0 32 0;
#X connect 32 0 31 0;
|