ev_pro_55-help.pd 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. #N canvas 1 56 874 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 73 cnv 15 400 400 empty empty gui_controls 5 8 0 12 -233017
  8. -66577 0;
  9. #X text 37 93 on/off: toggles projection plane state;
  10. #X text 37 105 settings: opens settings window;
  11. #X text 38 155 vertex position parameters: control the x/y position
  12. of the;
  13. #X text 38 177 texture position parameters: control the x/y position
  14. of the;
  15. #X text 208 188 texture corners \, can be outside the;
  16. #X text 209 199 visible area;
  17. #X text 37 211 shade size: set the size of the softedge on the edges
  18. of the visible area(vertex);
  19. #X obj 34 35 cnv 15 785 32 empty empty EXTENDED_VIEW_5x5_PROJECTION_MODULE
  20. 20 8 0 14 -233017 -66577 0;
  21. #X obj 34 480 cnv 15 400 450 empty empty description 5 8 0 12 -233017
  22. -66577 0;
  23. #X obj 46 789 cnv 15 150 120 empty empty texture 10 10 0 10 -261234
  24. -66577 0;
  25. #X obj 440 551 cnv 15 380 60 empty empty inlets/outlets 5 8 0 12 -233017
  26. -66577 0;
  27. #X text 444 587 Inlet 2: texture ID;
  28. #X text 444 571 Inlet 1: gemlist;
  29. #X obj 440 483 cnv 15 380 60 empty empty creation_arguments: 3 8 0
  30. 12 -191407 -1 0;
  31. #X text 445 502 1st: module ID \, needs to be unique \; 2nd: storage
  32. domain \, see [ev_storage-help] for details;
  33. #X obj 439 73 cnv 15 380 400 empty empty empty 20 12 0 14 -204786 -66577
  34. 0;
  35. #X obj 451 84 gemhead;
  36. #X obj 451 372 ev_gemwin;
  37. #X text 458 454 [ev_gemwin] is needed for cursor interaction support.
  38. ;
  39. #X text 449 312 [ev_declare] loads all the needed pathes.;
  40. #X obj 440 619 cnv 15 380 70 empty empty PARAMETER_LIST_for_ev_pro_55
  41. 20 8 0 14 -233017 -66577 0;
  42. #N canvas 0 22 511 755 paramter-list 0;
  43. #X obj 4 4 cnv 15 360 975 empty empty PARAMETER_LIST_for_ev_pro_curved
  44. 20 8 0 14 -233017 -66577 0;
  45. #X text 11 30 \; /ev/pro/\$1/vertex/0/0/x \; /ev/pro/\$1/vertex/0/0/y
  46. \; /ev/pro/\$1/vertex/0/1/x \; /ev/pro/\$1/vertex/0/1/y \; /ev/pro/\$1/vertex/0/2/x
  47. \; /ev/pro/\$1/vertex/0/2/y \; /ev/pro/\$1/vertex/0/3/x \; /ev/pro/\$1/vertex/0/3/y
  48. \; /ev/pro/\$1/vertex/0/4/x \; /ev/pro/\$1/vertex/0/4/y \; /ev/pro/\$1/vertex/1/0/x
  49. \; /ev/pro/\$1/vertex/1/0/y \; /ev/pro/\$1/vertex/1/1/x \; /ev/pro/\$1/vertex/1/1/y
  50. \; /ev/pro/\$1/vertex/1/2/x \; /ev/pro/\$1/vertex/1/2/y \; /ev/pro/\$1/vertex/1/3/x
  51. \; /ev/pro/\$1/vertex/1/3/y \; /ev/pro/\$1/vertex/1/4/x \; /ev/pro/\$1/vertex/1/4/y
  52. \; /ev/pro/\$1/vertex/2/0/x \; /ev/pro/\$1/vertex/2/0/y \; /ev/pro/\$1/vertex/2/1/x
  53. \; /ev/pro/\$1/vertex/2/1/y \; /ev/pro/\$1/vertex/2/2/x \; /ev/pro/\$1/vertex/2/2/y
  54. \; /ev/pro/\$1/vertex/2/3/x \; /ev/pro/\$1/vertex/2/3/y \; /ev/pro/\$1/vertex/2/4/x
  55. \; /ev/pro/\$1/vertex/2/4/y \; /ev/pro/\$1/vertex/3/0/x \; /ev/pro/\$1/vertex/3/0/y
  56. \; /ev/pro/\$1/vertex/3/1/x \; /ev/pro/\$1/vertex/3/1/y \; /ev/pro/\$1/vertex/3/2/x
  57. \; /ev/pro/\$1/vertex/3/2/y \; /ev/pro/\$1/vertex/3/3/x \; /ev/pro/\$1/vertex/3/3/y
  58. \; /ev/pro/\$1/vertex/3/4/x \; /ev/pro/\$1/vertex/3/4/y \; /ev/pro/\$1/vertex/4/0/x
  59. \; /ev/pro/\$1/vertex/4/0/y \; /ev/pro/\$1/vertex/4/1/x \; /ev/pro/\$1/vertex/4/1/y
  60. \; /ev/pro/\$1/vertex/4/2/x \; /ev/pro/\$1/vertex/4/2/y \; /ev/pro/\$1/vertex/4/3/x
  61. \; /ev/pro/\$1/vertex/4/3/y \; /ev/pro/\$1/vertex/4/4/x \; /ev/pro/\$1/vertex/4/4/y
  62. \; /ev/pro/\$1/texture/top/left/x \; /ev/pro/\$1/texture/top/left/y
  63. \; /ev/pro/\$1/texture/top/right/x \; /ev/pro/\$1/texture/top/right/y
  64. \; /ev/pro/\$1/texture/bottom/left/x \; /ev/pro/\$1/texture/bottom/left/y
  65. \; /ev/pro/\$1/texture/bottom/right/x \; /ev/pro/\$1/texture/bottom/right/y
  66. \; /ev/pro/<id>/shade/top --- top softedge amount \; /ev/pro/<id>/shade/right
  67. --- right softedge amount \; /ev/pro/<id>/shade/bottom --- bottom softedge
  68. amount \; /ev/pro/<id>/shade/left --- left softedge amount \; /ev/pro/<id>/state
  69. --- turn module on (1) / off (0) \; /ev/pro/<id>/set_alpha --- set
  70. alpha to value "1" \; /ev/pro/<id>/grid/tex/state --- grid texture
  71. state \; /ev/pro/<id>/grid/tex/open --- grid texture open dialog \;
  72. /ev/pro/<id>/grid/tex/load --- reload grid texture \; /ev/pro/<id>/grid/tex/flip/horizontal
  73. --- flip grid tex \; /ev/pro/<id>/grid/tex/flip/vertical --- flip grid
  74. tex \; /ev/pro/<id>/cursor/mode --- mouse interaction mode \; \;;
  75. #X coords 0 755 1 754 85 60 0;
  76. #X restore 541 653 pd paramter-list;
  77. #X text 627 354 click "create" here to start;
  78. #X obj 453 333 ../ev-main/ev_declare;
  79. #X text 206 166 25 vertex control points.;
  80. #X text 69 843 /;
  81. #X text 51 874 /;
  82. #X text 181 865 |;
  83. #X text 63 853 /;
  84. #X text 181 855 |;
  85. #X text 67 832 x/y---------------x/y;
  86. #X text 57 864 /;
  87. #X text 181 843 |;
  88. #X text 181 875 |;
  89. #X text 46 887 x/y------------------x/y;
  90. #X text 213 851 ==>;
  91. #X text 471 36 (c)2011 Cyrille Henry \, Marian Weger & Peter Venus
  92. \; /part of EXTENDED VIEW toolkit/ gpl v3;
  93. #X text 74 857 Texture positions;
  94. #X obj 256 789 cnv 15 150 120 empty empty gem_window 10 10 0 10 -191407
  95. -66577 0;
  96. #X text 371 830 /;
  97. #X text 353 861 /;
  98. #X text 347 872 /;
  99. #X text 266 872 |;
  100. #X text 365 840 /;
  101. #X text 359 851 x/y;
  102. #X text 267 820 x/y------x/y------x/y;
  103. #X text 266 882 x/y---x/y---x/y;
  104. #X text 266 842 |;
  105. #X text 266 862 |;
  106. #X text 266 830 | Vertex;
  107. #X text 313 861 /;
  108. #X text 307 872 /;
  109. #X text 325 840 |;
  110. #X text 325 830 |;
  111. #X text 319 851 x/y----;
  112. #X text 266 852 x/y------.;
  113. #X obj 451 260 ev_pro_55 \$0;
  114. #X text 37 131 settings:;
  115. #X text 37 276 grid_texture:;
  116. #X text 37 279 _____________;
  117. #X text 37 296 state: turn on grid to replace the texture \; open_new_file:
  118. load your own grid image \; reload: reload the given image file \;
  119. flip: flip grid horizontal(<->) or vertical(^v).;
  120. #X text 37 356 cursor_interaction:;
  121. #X text 36 359 ___________________;
  122. #X text 37 377 cursor_mode:;
  123. #X text 68 394 vertex_mouseover: show vertex control points if hovered
  124. \; vertex_permanent: show vertex control points permanently \; texture_mouseover:
  125. show texture control points if hovered \; texture_permanent: show texture
  126. control points permanently \;;
  127. #X text 37 242 set_alpha_to_'1': If selected \, alpha channel is set
  128. to 1 If not selected \, alpha channel remains as it gets in.;
  129. #X obj 440 696 cnv 15 380 140 empty empty additional_information 5
  130. 8 0 12 -233017 -66577 0;
  131. #X text 454 714 Can be controlled via OSC \, which uses the same syntax
  132. as the EV internal send/recieve message system see paramter-list below
  133. for additional information about the specific parameter-names.;
  134. #X text 452 779 This Object is connected to the Data Storage System.
  135. All the vertex and texture coordinates and the softedge settings can
  136. be morphed between scenes individually.;
  137. #X obj 581 92 gemhead;
  138. #X obj 581 152 pix_image;
  139. #X obj 581 236 pix_texture;
  140. #X obj 637 92 loadbang;
  141. #X msg 666 122 open ../media/cam2.jpg;
  142. #X obj 581 194 pix_flip;
  143. #X msg 666 152 none;
  144. #X msg 666 194 rectangle 1;
  145. #X text 45 501 This abstraction aims on video mapping onto highly distorted
  146. surfaces. It can map a specified part of a texture onto a square plane
  147. \, which can then be distorted by a matrix of 5x5=25 control points
  148. \; The source is specified by a texture id \, and can be a framebuffer
  149. or any other texture. By 4 independently settable corner points \,
  150. a polygonal part of this texture is specified \, which is then mapped
  151. completely onto a square. This square can then be positioned and distorted
  152. by a matrix of 5x5 vertex points \; It is also possible to blend the
  153. four sides with a soft edge \, what makes it possible to overlay multiple
  154. modules to form a bigger \, but still adjustable projection plane.
  155. This would be useful in multiple projector environment \, where the
  156. gem window spans over all projectors but aligning them hard-edged is
  157. not possible or a challenge \; By the settable texture positions \,
  158. it is possible to display just a portion of the complete content of
  159. a framebuffer. This is useful if you build a big projection area out
  160. of multiple [ev_pro_xx] abstractions \, which cut their individual
  161. part out of the same texture.;
  162. #X text 37 140 =========;
  163. #X connect 17 0 57 0;
  164. #X connect 70 0 71 0;
  165. #X connect 71 0 75 0;
  166. #X connect 72 1 57 1;
  167. #X connect 73 0 74 0;
  168. #X connect 73 0 76 0;
  169. #X connect 73 0 77 0;
  170. #X connect 74 0 71 0;
  171. #X connect 75 0 72 0;
  172. #X connect 76 0 75 0;
  173. #X connect 77 0 72 0;
  174. #X coords 0 756 1 755 85 60 0;