File: ev_glsl_buf-help.pd

package info (click to toggle)
pd-extendedview 0.5~repack-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 10,728 kB
  • sloc: makefile: 20; sh: 1
file content (90 lines) | stat: -rw-r--r-- 3,348 bytes parent folder | download | duplicates (2)
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
#N canvas 367 54 807 706 10;
#X declare -path . -path .. -path data -path ../data -path ev-in -path
../ev-in -path ev-main -path ../ev-main -path ev-pano -path ../ev-pano
-path ev-pro -path ../ev-pro -path libs/gil -path ../libs/gil -path
libs/kollabs -path ../libs/kollabs -path media -path ../media -path
ev-glsl -path ../ev-glsl -lib Gem;
#X obj 372 157 cnv 15 380 400 empty empty media_input 20 12 0 14 -262130
-66577 0;
#X obj 6 -4 cnv 15 800 16 empty empty EXTENDED_VIEW_GLSL-BUFFER-MODULE
2 8 0 14 -99865 -262144 0;
#X obj 426 311 loadbang;
#X obj 404 312 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 389 193 gemhead;
#X obj 373 567 cnv 15 380 400 empty empty chained_GLSL_operations 20
12 0 14 -261682 -66577 0;
#X obj 6 22 cnv 15 360 100 empty empty description 5 12 0 12 -233017
-66577 0;
#X obj 6 134 cnv 15 360 70 empty empty creation_arguments: 5 12 0 12
-162280 -1 0;
#X obj 6 207 cnv 15 360 70 empty empty inlets/outlets 5 12 0 12 -233017
-66577 0;
#X obj 373 30 cnv 15 380 120 empty empty Create_Gem_Window 20 12 0
14 -204786 -66577 0;
#X obj 394 125 gemwin 20;
#X msg 430 101 0 \, destroy;
#X msg 394 75 dimen 800 600 \, color 0.5 0.5 0.5 \, create \, 1;
#X text 437 57 CLICK HERE TO START:;
#X obj 79 465 ../ev-main/ev_declare;
#X text 81 444 load required pathes;
#X obj 6 293 cnv 15 360 70 empty empty GUI_controls 5 12 0 12 -204800
-66577 0;
#X obj 417 640 bng 15 250 50 0 empty empty reload_shaders 17 7 0 10
-262144 -1 -1;
#X obj 389 390 pix_texture;
#X obj 389 597 gemhead 51;
#X msg 464 413 \$3 \$2;
#X obj 464 435 /;
#X obj 464 457 * 4;
#X obj 389 482 rectangle 4 3;
#X text 493 438 calculate aspect ratio;
#X obj 537 597 r /ev/buf/inputbuffer/texture_id;
#X text 9 39 This abstraction creates a framebuffer and applies a specified
shader to it.;
#X obj 373 974 cnv 15 380 200 empty empty draw_result_into_gem_window
20 12 0 14 -204786 -66577 0;
#X obj 589 1024 gemhead;
#X obj 589 1090 pix_texture;
#X obj 589 1122 rectangle 4 4;
#X text 391 503 draw content in right aspect ratio \; into square framebuffer
;
#X text 61 388 (c)2013 Marian Weger \; part of EXTENDEDVIEW toolkit/
gpl v3;
#X obj 389 215 ev_buf inputbuffer dummy;
#X text 9 156 1st: id;
#X text 9 169 2nd: domain;
#X text 9 182 3rd: shader name;
#X obj 515 768 hsl 128 15 0 5 0 0 /ev/glsl/colorbuf/contrast /ev/glsl/colorbuf/contrast
contrast -2 -8 0 10 -203904 -1 -1 2540 1;
#X obj 515 798 hsl 128 15 0 5 0 0 /ev/glsl/colorbuf/saturation /ev/glsl/colorbuf/saturation
saturation -2 -8 0 10 -203904 -1 -1 2540 1;
#X obj 515 828 hsl 128 15 0 5 0 0 /ev/glsl/colorbuf/brightness /ev/glsl/colorbuf/brightness
brightness -2 -8 0 10 -203904 -1 -1 2540 1;
#X msg 404 339 open ../media/cam2.jpg;
#X text 409 784 play around:;
#X obj 389 368 pix_image;
#X obj 389 669 ev_glsl_buf colorbuf dummy contrast;
#X obj 389 862 ev_glsl_buf colorbuf2 dummy invert;
#X connect 2 0 40 0;
#X connect 3 0 40 0;
#X connect 4 0 33 0;
#X connect 11 0 10 0;
#X connect 12 0 10 0;
#X connect 17 0 43 0;
#X connect 18 0 23 0;
#X connect 18 1 20 0;
#X connect 19 0 43 0;
#X connect 20 0 21 0;
#X connect 21 0 22 0;
#X connect 22 0 23 2;
#X connect 25 0 43 1;
#X connect 28 0 29 0;
#X connect 29 0 30 0;
#X connect 33 0 42 0;
#X connect 40 0 42 0;
#X connect 42 0 18 0;
#X connect 43 0 44 0;
#X connect 43 1 44 1;
#X connect 44 1 29 1;
#X coords 0 706 1 705 85 60 0;