123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- #N canvas 378 22 817 748 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 51 200 cnv 15 300 350 empty empty OUTPUT_MODULES 20 12 0 14
- -204800 -66577 0;
- #X obj 10 5 cnv 15 300 130 empty empty FRAMEBUFFER 20 12 0 14 -262130
- -66577 0;
- #X obj 25 573 cnv 15 750 470 empty empty INPUT_MODULES 20 12 0 14 -204786
- -66577 0;
- #X obj 31 624 t a a;
- #X obj 10 -88 cnv 15 780 16 empty empty example:_PANORAMIC_VIDEO_STITCHING_&_PROJECTION
- 20 8 0 14 -233017 -66577 0;
- #X obj 10 -59 cnv 15 160 50 empty empty INITIALISATIONS 20 12 0 14
- -261234 -66577 0;
- #N canvas 407 127 535 539 init 1;
- #X obj 56 92 loadbang;
- #X obj 44 -23 cnv 15 400 100 empty empty IMPORTANT 20 12 0 14 -261234
- -66577 0;
- #X text 49 -3 Such a declare object should always be in the main patch
- of your project \, to set the pathes to the abstractions.;
- #X text 159 160 load the preset file on startup:;
- #X obj 56 134 t b b;
- #X obj 83 158 del 1000;
- #X obj 56 221 del 3000;
- #X text 127 93 The DATA STORAGE SYSTEM will be explained in a later
- example.;
- #X obj 158 43 ev-main/ev_declare;
- #X text 177 213 (pathes relative to "./libs/kollabs");
- #X obj 34 94 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
- -1;
- #X text 66 262 Recall scene '0' from the loaded preset file;
- #X msg 83 180 \; /ds/0/loadfile ../../data/ev_example_panoramic_preset.txt
- ;
- #X msg 56 285 \; /ds/0/scene 0;
- #X connect 0 0 4 0;
- #X connect 4 0 6 0;
- #X connect 4 1 5 0;
- #X connect 5 0 12 0;
- #X connect 6 0 13 0;
- #X connect 10 0 4 0;
- #X restore 106 -33 pd init;
- #X text 180 -64 This example uses one panorama image \, consisting
- of four photographs \, and projects it on an immersive screen made
- of three planar elements.;
- #X text 27 -35 look inside:;
- #X text 96 597 Use the [trigger anything ...] object to specify the
- rendering order (from right to left). Here \, the grid should be rendered
- on top of the image \, and therefore afterwards.;
- #X obj 63 228 gemhead 50;
- #X obj 63 251 t a a a;
- #X obj 31 27 gemhead 20;
- #X obj 31 47 ev_buf 0;
- #X obj 31 680 ev_grid 0;
- #X obj 244 670 ev_pano_group 0;
- #X obj 63 463 ev_pro_22 l;
- #X obj 82 373 ev_pro_22 c;
- #X obj 31 820 ev_pic 0;
- #X obj 31 903 ev_pano_stitch 0;
- #X obj 217 903 ev_pano_stitch 1;
- #X obj 403 903 ev_pano_stitch 2;
- #X obj 589 903 ev_pano_stitch 3;
- #X obj 371 200 cnv 15 400 350 empty empty empty 20 12 0 14 -261682
- -66577 0;
- #X obj 380 245 ev_gemwin;
- #X text 599 219 click "create" to start;
- #X text 438 -87 (c)2012 Peter Venus & Marian Weger /EXTENDED VIEW toolkit/
- ;
- #X obj 400 352 ev_storage;
- #X obj 102 283 ev_pro_22 r;
- #X obj 328 243 t a;
- #X obj 328 322 t a;
- #X obj 328 414 t a;
- #X text 398 499 Presets are located in the "./data" folder. This example
- uses scene "0" of "ev_example_panoramic_preset.txt".;
- #X text 468 725 Input modules can be [ev_pic] for still images \; [ev_vid]
- for video \, or [ev_cam] for camera input.;
- #X obj 371 5 cnv 15 220 170 empty empty empty 2 8 0 10 -191407 -66577
- 0;
- #X obj 378 128 pix_texture;
- #X obj 378 57 tgl 15 0 empty empty show_framebuffer_content 17 7 0
- 10 -260097 -1 -1 0 1;
- #X obj 378 83 gemhead 102;
- #X obj 378 11 loadbang;
- #X msg 378 33 0;
- #X obj 441 106 r /ev/buf/0/texture_id;
- #X obj 378 151 rectangle 5.3333 8;
- #X text 65 151 send the texture id of the framebuffer \; to the projection
- modules;
- #X obj 217 820 ev_pic 1;
- #X obj 403 820 ev_pic 2;
- #X obj 589 820 ev_pic 3;
- #X connect 3 0 14 0;
- #X connect 3 1 15 0;
- #X connect 10 0 11 0;
- #X connect 11 0 16 0;
- #X connect 11 1 17 0;
- #X connect 11 2 28 0;
- #X connect 12 0 13 0;
- #X connect 13 0 3 0;
- #X connect 13 1 29 0;
- #X connect 15 1 18 0;
- #X connect 15 2 43 0;
- #X connect 15 3 44 0;
- #X connect 15 4 45 0;
- #X connect 18 0 19 0;
- #X connect 29 0 28 1;
- #X connect 29 0 30 0;
- #X connect 30 0 17 1;
- #X connect 30 0 31 0;
- #X connect 31 0 16 1;
- #X connect 35 0 41 0;
- #X connect 36 0 37 0;
- #X connect 37 0 35 0;
- #X connect 38 0 39 0;
- #X connect 39 0 36 0;
- #X connect 40 0 35 1;
- #X connect 43 0 20 0;
- #X connect 44 0 21 0;
- #X connect 45 0 22 0;
- #X coords 0 748 1 747 85 60 0;
|