ev_pro_33-help.pd 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. #N canvas 93 112 871 756 10;
  2. #X declare -path . -path .. -path data -path ../data -path ev-in -path
  3. ../ev-in -path ev-main -path ../ev-main -path ev-pano -path ../ev-pano
  4. -path ev-pro -path ../ev-pro -path libs/gil -path ../libs/gil -path
  5. libs/kollabs -path ../libs/kollabs -path media -path ../media -path
  6. ev-glsl -path ../ev-glsl;
  7. #X obj 34 68 cnv 15 400 480 empty empty gui_controls 5 8 0 12 -204800
  8. -66577 0;
  9. #X text 37 88 on/off: toggles projection plane state;
  10. #X text 37 100 settings: opens settings window;
  11. #X text 37 126 settings window;
  12. #X text 37 129 _______________;
  13. #X text 38 150 vertex position parameters: control the x/y position
  14. of the;
  15. #X text 38 172 texture position parameters: control the x/y position
  16. of the;
  17. #X text 208 183 texture corners \, can be outside the;
  18. #X text 209 194 visible area;
  19. #X text 37 206 shade size: set the size of the softedge on the edges
  20. of the visible area(vertex);
  21. #X obj 34 30 cnv 15 785 32 empty empty EXTENDED_VIEW_3x3_PROJECTION_MODULE
  22. 20 8 0 14 -233017 -66577 0;
  23. #X obj 440 576 cnv 15 380 60 empty empty inlets/outlets 5 8 0 12 -233017
  24. -66577 0;
  25. #X text 444 612 Inlet 2: texture ID;
  26. #X text 444 596 Inlet 1: gemlist;
  27. #X obj 440 508 cnv 15 380 60 empty empty creation_arguments: 3 8 0
  28. 12 -191407 -1 0;
  29. #X text 445 527 1st: module ID \, needs to be unique \; 2nd: storage
  30. domain \, see [ev_storage-help] for details;
  31. #X obj 439 68 cnv 15 380 430 empty empty empty 20 12 0 14 -204786 -66577
  32. 0;
  33. #X obj 451 109 gemhead;
  34. #X obj 451 389 ev_gemwin;
  35. #X text 445 365 [ev_gemwin] is needed for cursor interaction support.
  36. ;
  37. #X text 449 303 [ev_declare] loads all the needed pathes.;
  38. #X obj 440 644 cnv 15 380 70 empty empty PARAMETER_LIST_for_ev_pro_33
  39. 20 8 0 14 -233017 -66577 0;
  40. #N canvas 0 22 386 682 paramter-list 0;
  41. #X obj 4 4 cnv 15 360 660 empty empty PARAMETER_LIST_for_ev_pro_curved
  42. 20 8 0 14 -233017 -66577 0;
  43. #X text 11 30 /ev/pro/<id>/vertex/top/left/x ---- top left corner x
  44. \; /ev/pro/<id>/vertex/top/left/y --- top left corner y \; /ev/pro/<id>/vertex/top/center/x
  45. --- top center x \; /ev/pro/<id>/vertex/top/center/y --- top center
  46. y \; /ev/pro/<id>/vertex/top/right/x --- top right corner x \; /ev/pro/<id>/vertex/top/right/y
  47. --- top right corner y \; /ev/pro/<id>/vertex/center/left/x --- left
  48. center x \; /ev/pro/<id>/vertex/center/left/y --- left center y \;
  49. /ev/pro/<id>/vertex/center/center/x --- center point x \; /ev/pro/<id>/vertex/center/center/y
  50. --- center point y \; /ev/pro/<id>/vertex/center/right/x --- right
  51. center x \; /ev/pro/<id>/vertex/center/right/y --- right center y \;
  52. /ev/pro/<id>/vertex/bottom/left/x --- bottom left corner x \; /ev/pro/<id>/vertex/bottom/left/y
  53. --- bottom left corner y \; /ev/pro/<id>/vertex/bottom/center/x ---
  54. bottom center x \; /ev/pro/<id>/vertex/bottom/center/y --- bottom center
  55. y \; /ev/pro/<id>/vertex/bottom/right/x - bottom right corner x \;
  56. /ev/pro/<id>/vertex/bottom/right/y - bottom right corner y \; /ev/pro/<id>/texture/top/left/x
  57. --- top left x \; /ev/pro/<id>/texture/top/left/y --- top left y \;
  58. /ev/pro/<id>/texture/top/right/x --- top right x \; /ev/pro/<id>/texture/top/right/y
  59. --- top right y \; /ev/pro/<id>/texture/bottom/left/x --- bottom left
  60. x \; /ev/pro/<id>/texture/bottom/left/y --- bottom left y \; /ev/pro/<id>/texture/bottom/right/x
  61. --- bottom right x \; /ev/pro/<id>/texture/bottom/right/y --- bottom
  62. right y \; /ev/pro/<id>/shade/top --- top softedge amount \; /ev/pro/<id>/shade/right
  63. --- right softedge amount \; /ev/pro/<id>/shade/bottom --- bottom softedge
  64. amount \; /ev/pro/<id>/shade/left --- left softedge amount \; /ev/pro/<id>/state
  65. --- turn module on (1) / off (0) \; /ev/pro/<id>/texture/weight/x ---
  66. distance weight x \; /ev/pro/<id>/texture/weight/y --- distance weight
  67. y \; /ev/pro/<id>/set_alpha --- set alpha to value "1" \; /ev/pro/<id>/grid/state
  68. --- turn on(1)/off(0) grid \; /ev/pro/<id>/grid/res/x --- grid horizontal
  69. resolution \; /ev/pro/<id>/grid/res/y --- vertical grid resolution
  70. \; /ev/pro/<id>/grid/width --- grid line width \; /ev/pro/<id>/grid/color/h
  71. --- grid color hue \; /ev/pro/<id>/grid/color/s --- grid color saturation
  72. \; /ev/pro/<id>/grid/color/v --- grid color value \; /ev/pro/<id>/grid/color/a
  73. --- grid color alpha (opacity) \; /ev/pro/<id>/grid/tex/state --- grid
  74. texture state \; /ev/pro/<id>/grid/tex/open --- grid texture open dialog
  75. \; /ev/pro/<id>/grid/tex/load --- reload grid texture \; /ev/pro/<id>/grid/tex/flip/horizontal
  76. --- flip grid tex \; /ev/pro/<id>/grid/tex/flip/vertical --- flip grid
  77. tex \; /ev/pro/<id>/cursor/mode --- mouse interaction mode \; \;;
  78. #X restore 541 678 pd paramter-list;
  79. #X text 622 473 click "create" here to start;
  80. #X obj 453 328 ../ev-main/ev_declare;
  81. #X text 206 161 projection primitives 9 corners;
  82. #X obj 581 76 gemhead;
  83. #X obj 581 136 pix_image;
  84. #X obj 581 220 pix_texture;
  85. #X obj 637 76 loadbang;
  86. #X msg 666 106 open ../media/cam2.jpg;
  87. #X obj 581 178 pix_flip;
  88. #X msg 666 136 none;
  89. #X text 508 31 (c)2011 Cyrille Henry \, Peter Venus & Marian Weger
  90. \; /part of EXTENDED VIEW toolkit/ gpl v3;
  91. #X obj 451 245 ev_pro_33 \$0;
  92. #X msg 666 178 rectangle 1;
  93. #X text 37 276 grid_texture:;
  94. #X text 37 279 _____________;
  95. #X text 37 296 state: turn on grid to replace the texture \; open_new_file:
  96. load your own grid image \; reload: reload the given image file \;
  97. flip: flip grid horizontal(<->) or vertical(^v).;
  98. #X text 37 356 cursor_interaction:;
  99. #X text 36 359 ___________________;
  100. #X text 37 377 cursor_mode:;
  101. #X text 68 394 vertex_mouseover: show vertex control points if hovered
  102. \; vertex_permanent: show vertex control points permanently \; texture_mouseover:
  103. show texture control points if hovered \; texture_permanent: show texture
  104. control points permanently \;;
  105. #X text 37 242 set_alpha_to_'1': If selected \, alpha channel is set
  106. to 1 If not selected \, alpha channel remains as it gets in.;
  107. #X text 37 456 rendered_grid:;
  108. #X text 36 459 ______________;
  109. #X text 37 477 state: turn grid on/off;
  110. #X text 37 490 Resolution:;
  111. #X text 110 490 set vertical (y) and horizontal (x) grid resolution.
  112. ;
  113. #X text 37 504 line_width: set thickness of the grid lines;
  114. #X text 37 517 COLOR: set the color of the grid;
  115. #X text 79 530 (H = hue \, S = saturation \, V = Value \, A = alpha)
  116. ;
  117. #X obj 34 554 cnv 15 400 450 empty empty description 5 8 0 12 -233017
  118. -66577 0;
  119. #X obj 46 863 cnv 15 150 120 empty empty texture 10 10 0 10 -261234
  120. -66577 0;
  121. #X text 69 917 /;
  122. #X text 51 948 /;
  123. #X text 181 939 |;
  124. #X text 63 927 /;
  125. #X text 181 929 |;
  126. #X text 67 906 x/y---------------x/y;
  127. #X text 57 938 /;
  128. #X text 181 917 |;
  129. #X text 181 949 |;
  130. #X text 46 961 x/y------------------x/y;
  131. #X text 213 925 ==>;
  132. #X text 74 931 Texture positions;
  133. #X obj 256 863 cnv 15 150 120 empty empty gem_window 10 10 0 10 -191407
  134. -66577 0;
  135. #X text 371 904 /;
  136. #X text 353 935 /;
  137. #X text 347 946 /;
  138. #X text 266 946 |;
  139. #X text 365 914 /;
  140. #X text 359 925 x/y;
  141. #X text 267 894 x/y------x/y------x/y;
  142. #X text 266 956 x/y---x/y---x/y;
  143. #X text 266 916 |;
  144. #X text 266 936 |;
  145. #X text 266 904 | Vertex;
  146. #X text 313 935 /;
  147. #X text 307 946 /;
  148. #X text 325 914 |;
  149. #X text 325 904 |;
  150. #X text 319 925 x/y----;
  151. #X text 266 926 x/y------.;
  152. #X text 45 575 This abstraction aims on video mapping onto curved surfaces.
  153. It can map a specified part of a texture onto a square plane \, which
  154. can then be distorted by a matrix of 3x3=9 control points \; The source
  155. is specified by a texture id \, and can be a framebuffer or any other
  156. texture. By 4 independently settable corner points \, a polygonal part
  157. of this texture is specified \, which is then mapped completely onto
  158. a square. This square can then be positioned and distorted by a matrix
  159. of 3x3 vertex points \; It is also possible to blend the four sides
  160. with a soft edge \, what makes it possible to overlay multiple modules
  161. to form a bigger \, but still adjustable projection plane. This would
  162. be useful in multiple projector environment \, where the gem window
  163. spans over all projectors but aligning them hard-edged is not possible
  164. or a challenge \; By the settable texture positions \, it is possible
  165. to display just a portion of the complete content of a framebuffer.
  166. This is useful if you build a big projection area out of multiple [ev_pro_xx]
  167. abstractions \, which cut their individual part out of the same texture.
  168. ;
  169. #X obj 440 724 cnv 15 380 140 empty empty additional_information 5
  170. 8 0 12 -233017 -66577 0;
  171. #X text 454 742 Can be controlled via OSC \, which uses the same syntax
  172. as the EV internal send/recieve message system see paramter-list below
  173. for additional information about the specific parameter-names.;
  174. #X text 452 807 This Object is connected to the Data Storage System.
  175. All the vertex and texture coordinates and the softedge settings can
  176. be morphed between scenes individually.;
  177. #X connect 17 0 34 0;
  178. #X connect 26 0 27 0;
  179. #X connect 27 0 31 0;
  180. #X connect 28 1 34 1;
  181. #X connect 29 0 30 0;
  182. #X connect 29 0 32 0;
  183. #X connect 29 0 35 0;
  184. #X connect 30 0 27 0;
  185. #X connect 31 0 28 0;
  186. #X connect 32 0 31 0;
  187. #X connect 35 0 28 0;
  188. #X coords 0 756 1 755 85 60 0;