ev_pro_22-help.pd 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. #N canvas 211 52 825 685 10;
  2. #X declare -lib Gem -path . -path .. -path data -path ../data -path
  3. ev-in -path ../ev-in -path ev-main -path ../ev-main -path ev-pano -path
  4. ../ev-pano -path ev-pro -path ../ev-pro -path libs/gil -path ../libs/gil
  5. -path libs/kollabs -path ../libs/kollabs -path media -path ../media
  6. -path ev-glsl -path ../ev-glsl;
  7. #X obj 416 538 cnv 15 380 60 empty empty inlets/outlets 5 8 0 12 -233017
  8. -66577 0;
  9. #X obj 9 -61 cnv 15 785 32 empty empty EXTENDED_VIEW_2x2_projection_module
  10. 20 8 0 14 -233017 -66577 0;
  11. #X text 421 572 Inlet 2: texture ID;
  12. #X text 421 556 Inlet 1: gemlist;
  13. #X obj 416 467 cnv 15 380 60 empty empty creation_arguments: 3 8 0
  14. 12 -191407 -1 0;
  15. #X text 421 486 1st: module ID \, needs to be unique \; 2nd: storage
  16. domain \, see [ev_storage-help] for details;
  17. #X obj 414 -23 cnv 15 380 475 empty empty empty 20 12 0 14 -204786
  18. -66577 0;
  19. #X obj 555 -9 gemhead;
  20. #X obj 555 51 pix_image;
  21. #X obj 555 135 pix_texture;
  22. #X obj 611 -9 loadbang;
  23. #X obj 425 -10 gemhead;
  24. #X msg 640 21 open ../media/cam2.jpg;
  25. #X obj 555 93 pix_flip;
  26. #X msg 640 51 none;
  27. #X obj 424 336 ev_gemwin;
  28. #X obj 425 161 ev_pro_22 \$0;
  29. #X text 429 314 [ev_gemwin] module is needed for mouse interaction
  30. support;
  31. #X text 429 247 [ev_declare] loads all the needed pathes.;
  32. #X obj 416 608 cnv 15 380 60 empty empty parameter_list 5 8 0 12 -233017
  33. -66577 0;
  34. #N canvas 0 50 378 556 parameter_list 0;
  35. #X obj -42 3 cnv 15 360 540 empty empty PARAMETER_LIST 20 8 0 14 -233017
  36. -66577 0;
  37. #X text -35 29 /ev/pro/<id>/vertex/top/left/x ---- top left x \; /ev/pro/<id>/vertex/top/left/y
  38. --- top left y \; /ev/pro/<id>/vertex/top/right/x --- top right x \;
  39. /ev/pro/<id>/vertex/top/right/y --- top right y \; /ev/pro/<id>/vertex/bottom/left/x
  40. --- bottom left x \; /ev/pro/<id>/vertex/bottom/left/y --- bottom left
  41. y \; /ev/pro/<id>/vertex/bottom/right/x --- bottom right x \; /ev/pro/<id>/vertex/bottom/right/y
  42. --- bottom right y \; /ev/pro/<id>/texture/top/left/x --- top left
  43. x \; /ev/pro/<id>/texture/top/left/y --- top left y \; /ev/pro/<id>/texture/top/right/x
  44. --- top right x \; /ev/pro/<id>/texture/top/right/y --- top right y
  45. \; /ev/pro/<id>/texture/bottom/left/x --- bottom left x \; /ev/pro/<id>/texture/bottom/left/y
  46. --- bottom left y \; /ev/pro/<id>/texture/bottom/right/x --- bottom
  47. right x \; /ev/pro/<id>/texture/bottom/right/y --- bottom right y \;
  48. /ev/pro/<id>/shade/top --- top softedge amount \; /ev/pro/<id>/shade/right
  49. --- right softedge amount \; /ev/pro/<id>/shade/bottom --- bottom softedge
  50. amount \; /ev/pro/<id>/shade/left --- left softedge amount \; /ev/pro/<id>/state
  51. --- turn module on (1) / off (0) \; /ev/pro/<id>/texture/weight/x ---
  52. distance weight x \; /ev/pro/<id>/texture/weight/y --- distance weight
  53. y \; /ev/pro/<id>/set_alpha --- set alpha to value "1" \; /ev/pro/<id>/grid/state
  54. --- turn on(1)/off(0) grid \; /ev/pro/<id>/grid/res/x --- grid horizontal
  55. resolution \; /ev/pro/<id>/grid/res/y --- vertical grid resolution
  56. \; /ev/pro/<id>/grid/width --- grid line width \; /ev/pro/<id>/grid/color/h
  57. --- grid color hue \; /ev/pro/<id>/grid/color/s --- grid color saturation
  58. \; /ev/pro/<id>/grid/color/v --- grid color value \; /ev/pro/<id>/grid/color/a
  59. --- grid color alpha (opacity) \; /ev/pro/<id>/grid/tex/state --- grid
  60. texture state \; /ev/pro/<id>/grid/tex/open --- grid texture open dialog
  61. \; /ev/pro/<id>/grid/tex/load --- reload grid texture \; /ev/pro/<id>/grid/tex/flip/horizontal
  62. --- flip grid tex \; /ev/pro/<id>/grid/tex/flip/vertical --- flip grid
  63. tex \; /ev/pro/<id>/cursor/mode --- mouse interaction mode \; \;;
  64. #X restore 481 638 pd parameter_list;
  65. #X text 632 427 click "create" to start;
  66. #X obj 446 276 ../ev-main/ev_declare;
  67. #X msg 640 93 rectangle 1;
  68. #X obj 9 -23 cnv 15 400 480 empty empty gui_controls 5 8 0 12 -204800
  69. -66577 0;
  70. #X text 12 -3 on/off: toggles projection plane state;
  71. #X text 12 9 settings: opens settings window;
  72. #X text 12 35 settings window;
  73. #X text 13 59 vertex position parameters: control the x/y position
  74. of the;
  75. #X text 13 81 texture position parameters: control the x/y position
  76. of the;
  77. #X text 183 92 texture corners \, can be outside the;
  78. #X text 184 103 visible area;
  79. #X text 12 115 shade size: set the size of the softedge on the edges
  80. of the visible area(vertex);
  81. #X text 12 185 grid_texture:;
  82. #X text 12 188 _____________;
  83. #X text 12 205 state: turn on grid to replace the texture \; open_new_file:
  84. load your own grid image \; reload: reload the given image file \;
  85. flip: flip grid horizontal(<->) or vertical(^v).;
  86. #X text 12 265 cursor_interaction:;
  87. #X text 11 268 ___________________;
  88. #X text 12 286 cursor_mode:;
  89. #X text 43 303 vertex_mouseover: show vertex control points if hovered
  90. \; vertex_permanent: show vertex control points permanently \; texture_mouseover:
  91. show texture control points if hovered \; texture_permanent: show texture
  92. control points permanently \;;
  93. #X text 12 151 set_alpha_to_'1': If selected \, alpha channel is set
  94. to 1 If not selected \, alpha channel remains as it gets in.;
  95. #X text 12 365 rendered_grid:;
  96. #X text 11 368 ______________;
  97. #X text 12 386 state: turn grid on/off;
  98. #X text 12 399 Resolution:;
  99. #X text 85 399 set vertical (y) and horizontal (x) grid resolution.
  100. ;
  101. #X text 12 413 line_width: set thickness of the grid lines;
  102. #X text 12 426 COLOR: set the color of the grid;
  103. #X text 54 439 (H = hue \, S = saturation \, V = Value \, A = alpha)
  104. ;
  105. #X obj 9 463 cnv 15 400 450 empty empty description 5 8 0 12 -233017
  106. -66577 0;
  107. #X obj 21 772 cnv 15 150 120 empty empty texture 10 10 0 10 -261234
  108. -66577 0;
  109. #X text 44 826 /;
  110. #X text 26 857 /;
  111. #X text 156 848 |;
  112. #X text 38 836 /;
  113. #X text 156 838 |;
  114. #X text 42 815 x/y---------------x/y;
  115. #X text 32 847 /;
  116. #X text 156 826 |;
  117. #X text 156 858 |;
  118. #X text 21 870 x/y------------------x/y;
  119. #X text 188 834 ==>;
  120. #X text 49 840 Texture positions;
  121. #X obj 231 772 cnv 15 150 120 empty empty gem_window 10 10 0 10 -191407
  122. -66577 0;
  123. #X text 346 813 /;
  124. #X text 322 855 /;
  125. #X text 241 855 |;
  126. #X text 340 823 /;
  127. #X text 241 847 |;
  128. #X text 242 825 |;
  129. #X text 241 835 | Vertex;
  130. #X text 181 70 projection primitives 4 corners;
  131. #X text 20 484 This abstraction aims on video mapping onto flat surfaces.
  132. It can map a specified part of a texture onto a square plane \, which
  133. can then be distorted by a matrix of 3x3=9 control points \; The source
  134. is specified by a texture id \, and can be a framebuffer or any other
  135. texture. By 4 independently settable corner points \, a polygonal part
  136. of this texture is specified \, which is then mapped completely onto
  137. a square. This square can then be positioned and distorted by four
  138. corner points \; It is also possible to blend the four sides with a
  139. soft edge \, what makes it possible to overlay multiple modules to
  140. form a bigger \, but still adjustable projection plane. This would
  141. be useful in multiple projector environment \, where the gem window
  142. spans over all projectors but aligning them hard-edged is not possible
  143. or a challenge \; By the settable texture positions \, it is possible
  144. to display just a portion of the complete content of a framebuffer.
  145. This is useful if you build a big projection area out of multiple [ev_pro_xx]
  146. abstractions \, which cut their individual part out of the same texture.
  147. ;
  148. #X text 334 835 /;
  149. #X text 329 844 /;
  150. #X text 242 803 x/y---------------x/y;
  151. #X text 241 865 x/y---------x/y;
  152. #X text 240 816 |;
  153. #X obj 416 680 cnv 15 380 140 empty empty additional_information 5
  154. 8 0 12 -233017 -66577 0;
  155. #X text 430 698 Can be controlled via OSC \, which uses the same syntax
  156. as the EV internal send/recieve message system see paramter-list below
  157. for additional information about the specific parameter-names.;
  158. #X text 428 763 This Object is connected to the Data Storage System.
  159. All the vertex and texture coordinates and the softedge settings can
  160. be morphed between scenes individually.;
  161. #X text 437 -60 (c)2011 Cyrille Henry \, Peter Venus & Marian Weger
  162. \; /part of EXTENDED VIEW toolkit/ gpl v3;
  163. #X text 11 44 ===============;
  164. #X connect 7 0 8 0;
  165. #X connect 8 0 13 0;
  166. #X connect 9 1 16 1;
  167. #X connect 10 0 12 0;
  168. #X connect 10 0 14 0;
  169. #X connect 10 0 23 0;
  170. #X connect 11 0 16 0;
  171. #X connect 12 0 8 0;
  172. #X connect 13 0 9 0;
  173. #X connect 14 0 13 0;
  174. #X connect 23 0 9 0;
  175. #X coords 0 685 1 684 85 60 0;