ev_pro_22-helpback.pd 7.7 KB

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