forked from mxa/Bewegungsmelder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
03-camera.pd
45 lines (45 loc) · 1.32 KB
/
03-camera.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
43
44
45
#N canvas 659 103 483 588 10;
#X declare -lib Gem;
#X obj 28 8 cnv 15 400 50 empty empty 3 14 24 0 24 -175655 -66577 0
;
#X obj 31 132 gemwin;
#X msg 31 76 create \, 1;
#X msg 39 102 0 \, destroy;
#X text 75 29 Using the camera;
#X obj 157 75 gemhead;
#X obj 157 123 pix_video;
#X obj 157 147 pix_texture;
#X obj 56 482 pix_flip;
#X msg 96 393 none;
#X msg 96 413 horizontal;
#X msg 96 433 vertical;
#X msg 96 453 both;
#X text 232 68 This is a render-chain.;
#X text 234 82 Always start it with gemhead.;
#X text 232 117 takes the video image from your camera;
#X text 239 153 textures the video image;
#X text 246 185 onto an rectangle;
#X text 36 268 Challenges:;
#X text 35 286 1 Flip the image around.;
#X text 50 366 Suggestion 1;
#X text 203 363 Suggestion 2;
#X obj 204 464 rotateXYZ;
#X obj 205 427 rotate;
#X text 328 363 Suggestion 3;
#X text 298 444 there is something simpler;
#X text 34 302 2 Adjust the image size and ratio.;
#X text 34 331 Here are some suggestions how to approach this:;
#X obj 157 186 rectangle 4 3;
#X obj 319 17 declare -lib Gem;
#X text 29 549 Max Neupert \, GMU - Bauhaus-Universität Weimar 2008
;
#X text 75 16 Pure Data + Gem;
#X connect 2 0 1 0;
#X connect 3 0 1 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 7 0 28 0;
#X connect 9 0 8 0;
#X connect 10 0 8 0;
#X connect 11 0 8 0;
#X connect 12 0 8 0;