aboutsummaryrefslogtreecommitdiff
path: root/Gem/pix_movie-help.pd
blob: 6cab430fd7d2f2e58af9191ef9b55af1170e3a6f (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
#N canvas 469 90 707 633 10;
#X text 452 -2 GEM object;
#X obj 8 305 cnv 15 430 320 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 9 307 Inlets:;
#X text 9 377 Outlets:;
#X obj 8 272 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 17 271 Arguments:;
#X obj 8 46 cnv 15 430 180 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 449 47 cnv 15 250 450 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 453 30 Example:;
#X obj 594 430 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 469 pd gemwin;
#X msg 599 450 create;
#X text 595 429 Create window:;
#X obj 451 78 cnv 15 155 200 empty empty empty 20 12 0 14 -24198 -66577
0;
#X obj 451 53 gemhead;
#X text 17 391 Outlet 1: gemlist;
#X text 23 321 Inlet 1: gemlist;
#X obj 462 83 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 505 47 open a supported;
#X text 506 58 movie-clip;
#X obj 471 367 unpack 0 0 0 0;
#X floatatom 466 390 5 0 0 3 length - -;
#X floatatom 515 390 5 0 0 3 width - -;
#X floatatom 565 390 5 0 0 3 height - -;
#X obj 530 348 bng 15 250 50 0 empty empty end_reached 20 7 0 10 -262144
-1 -1;
#X text 71 21 Class: pix object (pix source);
#X text 29 47 Description: load in a movie-file;
#X obj 462 112 openpanel;
#X msg 462 132 open \$1;
#X obj 451 472 rectangle 4 3;
#X text 15 68 [pix_movie] loads in a preproduced digital-video to be
used as a texture \, bitblit or something else.;
#X text 63 282 symbol: file to load initially;
#X msg 490 189 auto \$1;
#X obj 490 171 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X msg 501 213 colorspace Grey;
#X obj 8 229 cnv 15 430 40 empty empty empty 20 12 0 14 -260818 -66577
0;
#X obj 451 331 pix_movie;
#X text 439 575 see also:;
#X obj 516 575 pix_film;
#X text 50 2 Synopsis: [pix_movie];
#X obj 513 237 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 505 290 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 0 1;
#X floatatom 502 310 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 152 pd demo movie;
#X text 22 353 Inlet 2: float: <frame number> sets the frame to output
;
#X obj 596 575 pix_texture;
#X text 14 231 You don't need [pix_texture] to texture the image. [pix_movie]
is a combination of [pix_film] and [pix_texture];
#X text 17 450 Outlet 4: list: the texture id \, same as Outlet 2 of
[pix_texture];
#X msg 513 256 rectangle \$1;
#X floatatom 615 390 5 0 0 3 fps - -;
#X text 17 107 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 336 Inlet 1: see [pix_film];
#X text 17 407 Outlet 2: see [pix_film];
#X text 17 430 Outlet 3: see [pix_film];
#X text 21 151 Think of this object as a hybrid between [pix_film]
and [pix_texture]...;
#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;