blob: 21d856b278e97efd782c136ea2228be6451f495c (
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
#N canvas 469 90 719 552 10;
#X declare -lib Gem;
#X text 502 8 GEM object;
#X obj 8 315 cnv 15 430 220 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 9 327 Inlets:;
#X text 9 397 Outlets:;
#X obj 8 282 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 17 281 Arguments:;
#X obj 8 56 cnv 15 430 180 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 449 57 cnv 15 250 450 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 453 40 Example:;
#X obj 594 440 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 22 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 132 112 create \, 1;
#X msg 198 112 destroy;
#X msg 156 71 set create;
#X obj 67 41 route create;
#X connect 2 0 7 0;
#X connect 3 0 1 0;
#X connect 4 0 0 0;
#X connect 5 0 0 0;
#X connect 6 0 1 0;
#X connect 7 0 3 0;
#X connect 7 0 4 0;
#X connect 7 1 6 0;
#X connect 7 1 5 0;
#X restore 599 479 pd gemwin;
#X msg 599 460 create;
#X text 595 439 Create window:;
#X obj 451 88 cnv 15 155 200 empty empty empty 20 12 0 14 -24198 -66577
0;
#X obj 451 63 gemhead;
#X text 17 411 Outlet 1: gemlist;
#X text 23 341 Inlet 1: gemlist;
#X obj 462 93 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 505 57 open a supported;
#X text 506 68 movie-clip;
#X obj 471 377 unpack 0 0 0 0;
#X floatatom 466 400 5 0 0 3 length - -;
#X floatatom 515 400 5 0 0 3 width - -;
#X floatatom 565 400 5 0 0 3 height - -;
#X obj 530 358 bng 15 250 50 0 empty empty end_reached 20 7 0 10 -262144
-1 -1;
#X text 71 31 Class: pix object (pix source);
#X text 29 57 Description: load in a movie-file;
#X obj 462 122 openpanel;
#X msg 462 142 open \$1;
#X obj 451 482 rectangle 4 3;
#X text 15 78 [pix_movie] loads in a preproduced digital-video to be
used as a texture \, bitblit or something else.;
#X text 63 292 symbol: file to load initially;
#X msg 490 199 auto \$1;
#X obj 490 181 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X msg 501 223 colorspace Grey;
#X obj 8 239 cnv 15 430 40 empty empty empty 20 12 0 14 -260818 -66577
0;
#X obj 451 341 pix_movie;
#X text 459 515 see also:;
#X obj 536 515 pix_film;
#X text 50 12 Synopsis: [pix_movie];
#X obj 513 247 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 505 300 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 0 1;
#X floatatom 502 320 5 0 0 1 frame_number - -;
#N canvas 830 50 450 300 demo 0;
#X obj 23 26 inlet;
#X text 126 127 win32:;
#X text 116 190 linux \, OSX:;
#X obj 79 257 outlet;
#X obj 20 50 bng 17 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 38 51 cnv 15 81 15 empty empty demo_movie 4 8 0 10 -262144 -1
0;
#X msg 29 102 open examples/data/alea.mpg;
#X msg 151 147 open examples/data/homer.avi;
#X msg 144 210 open examples/data/anim-1.mov;
#X connect 0 0 4 0;
#X connect 4 0 6 0;
#X connect 6 0 3 0;
#X connect 7 0 3 0;
#X connect 8 0 3 0;
#X coords 0 -1 1 1 100 17 1 20 50;
#X restore 474 162 pd demo movie;
#X text 22 373 Inlet 2: float: <frame number> sets the frame to output
;
#X obj 616 515 pix_texture;
#X text 14 241 You don't need [pix_texture] to texture the image. [pix_movie]
is a combination of [pix_film] and [pix_texture];
#X text 17 470 Outlet 4: list: the texture id \, same as Outlet 2 of
[pix_texture];
#X msg 513 266 rectangle \$1;
#X floatatom 615 400 5 0 0 3 fps - -;
#X text 17 117 This object accepts the same set of messages as [pix_film].
In addition \, it will immediately download the frames to the gfx-card
and make them available as a texture.;
#X text 23 356 Inlet 1: see [pix_film];
#X text 17 427 Outlet 2: see [pix_film];
#X text 17 450 Outlet 3: see [pix_film];
#X text 21 161 Think of this object as a hybrid between [pix_film]
and [pix_texture]...;
#X obj 578 8 declare -lib Gem;
#X connect 10 0 11 0;
#X connect 11 0 10 0;
#X connect 14 0 36 0;
#X connect 17 0 27 0;
#X connect 20 0 21 0;
#X connect 20 1 22 0;
#X connect 20 2 23 0;
#X connect 20 3 49 0;
#X connect 27 0 28 0;
#X connect 28 0 36 0;
#X connect 32 0 36 0;
#X connect 33 0 32 0;
#X connect 34 0 36 0;
#X connect 36 0 29 0;
#X connect 36 1 20 0;
#X connect 36 2 24 0;
#X connect 40 0 48 0;
#X connect 41 0 42 0;
#X connect 42 0 36 1;
#X connect 43 0 36 0;
#X connect 48 0 36 0;
|