-
Notifications
You must be signed in to change notification settings - Fork 4
/
04-display-right.pd
42 lines (42 loc) · 1.48 KB
/
04-display-right.pd
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
#N canvas 676 32 588 721 10;
#X declare -lib Gem;
#X obj 28 8 cnv 15 400 50 empty empty 4 14 24 0 24 -175655 -66577 0
;
#X obj 29 263 gemwin;
#X msg 29 207 create \, 1;
#X msg 37 233 0 \, destroy;
#X obj 155 206 gemhead;
#X obj 155 254 pix_video;
#X obj 155 299 pix_texture;
#X obj 155 391 rectangle 4 3;
#X text 230 199 This is a render-chain.;
#X text 232 213 Always start it with gemhead.;
#X text 230 248 takes the video image from your camera;
#X text 234 299 textures the video image;
#X text 244 389 onto an rectangle;
#X text 75 29 getting the display right;
#X text 27 67 Every Pd patch can be used by other patches just like
any built-in object.;
#X obj 155 344 mn-flip;
#X text 26 97 Open up [mn-flip] which is just another Pd patch used
by this one.;
#X text 26 124 We call that an abstraction. In order to not confuse
it with the built-in objects I save my abstractions with a special
prefix.;
#X text 36 559 Point the camere on yourself. Raise your left hand.
Is the Image mirrored or not? Hint: it is mirrored if it behaves just
like a mirror would.;
#X text 37 608 If it isn't mirrored: open up [mn-flip] and manipulate
it in such a way that the image becomes mirrored. Save it.;
#X text 25 540 Challenge:;
#X text 235 344 edit this one!;
#X obj 320 22 declare -lib Gem;
#X text 29 684 Max Neupert \, GMU - Bauhaus-Universität Weimar 2008-2012
;
#X text 75 16 Pure Data + Gem;
#X connect 2 0 1 0;
#X connect 3 0 1 0;
#X connect 4 0 5 0;
#X connect 5 0 6 0;
#X connect 6 0 15 0;
#X connect 15 0 7 0;