ev_pro_22easy-help.pd 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. #N canvas 55 122 821 650 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 413 45 cnv 15 380 400 empty empty empty 20 12 0 14 -204786 -66577
  8. 0;
  9. #X obj 562 59 gemhead;
  10. #X obj 562 111 pix_image;
  11. #X obj 562 133 pix_texture;
  12. #X obj 614 59 loadbang;
  13. #X obj 432 59 gemhead;
  14. #X obj 8 8 cnv 15 785 32 empty empty EXTENDED_VIEW_2x2_easy_projection_module
  15. 20 12 0 14 -233017 -66577 0;
  16. #X obj 8 452 cnv 15 400 180 empty empty description 5 8 0 12 -233017
  17. -66577 0;
  18. #X msg 614 81 open ../media/cam2.jpg;
  19. #X obj 422 325 ev_gemwin;
  20. #X obj 432 157 ev_pro_22easy \$0;
  21. #X obj 413 520 cnv 15 380 60 empty empty inlets/outlets 5 8 0 12 -233017
  22. -66577 0;
  23. #X text 417 556 Inlet 2: texture ID;
  24. #X text 417 540 Inlet 1: gemlist;
  25. #X obj 413 452 cnv 15 380 60 empty empty creation_arguments: 3 8 0
  26. 12 -191407 -1 0;
  27. #X text 418 471 1st: module ID \, needs to be unique \; 2nd: storage
  28. domain \, see [ev_storage-help] for details;
  29. #X text 587 540 Outlet 1: gemlist;
  30. #X text 419 302 [ev_gemwin] is needed for cursor interaction support.
  31. ;
  32. #X text 430 240 [ev_declare] loads all the needed pathes.;
  33. #X obj 413 587 cnv 15 380 60 empty empty parameter_list 5 8 0 12 -233017
  34. -66577 0;
  35. #N canvas 0 22 378 556 parameter_list 0;
  36. #X obj -42 3 cnv 15 360 540 empty empty PARAMETER_LIST 20 8 0 14 -233017
  37. -66577 0;
  38. #X text -35 29 /ev/pro/<id>/vertex/top/left/x ---- top left x \; /ev/pro/<id>/vertex/top/left/y
  39. --- top left y \; /ev/pro/<id>/vertex/top/right/x --- top right x \;
  40. /ev/pro/<id>/vertex/top/right/y --- top right y \; /ev/pro/<id>/vertex/bottom/left/x
  41. --- bottom left x \; /ev/pro/<id>/vertex/bottom/left/y --- bottom left
  42. y \; /ev/pro/<id>/vertex/bottom/right/x --- bottom right x \; /ev/pro/<id>/vertex/bottom/right/y
  43. --- bottom right y \; /ev/pro/<id>/texture/top/left/x --- top left
  44. x \; /ev/pro/<id>/texture/top/left/y --- top left y \; /ev/pro/<id>/texture/top/right/x
  45. --- top right x \; /ev/pro/<id>/texture/top/right/y --- top right y
  46. \; /ev/pro/<id>/texture/bottom/left/x --- bottom left x \; /ev/pro/<id>/texture/bottom/left/y
  47. --- bottom left y \; /ev/pro/<id>/texture/bottom/right/x --- bottom
  48. right x \; /ev/pro/<id>/texture/bottom/right/y --- bottom right y \;
  49. /ev/pro/<id>/state --- turn module on (1) / off (0) \; /ev/pro/<id>/texture/weight/x
  50. --- distance weight x \; /ev/pro/<id>/texture/weight/y --- distance
  51. weight y \; /ev/pro/<id>/set_alpha --- set alpha to value "1" \; /ev/pro/<id>/grid/state
  52. --- turn on(1)/off(0) grid \; /ev/pro/<id>/grid/res/x --- grid horizontal
  53. resolution \; /ev/pro/<id>/grid/res/y --- vertical grid resolution
  54. \; /ev/pro/<id>/grid/width --- grid line width \; /ev/pro/<id>/grid/color/h
  55. --- grid color hue \; /ev/pro/<id>/grid/color/s --- grid color saturation
  56. \; /ev/pro/<id>/grid/color/v --- grid color value \; /ev/pro/<id>/grid/color/a
  57. --- grid color alpha (opacity) \; /ev/pro/<id>/grid/tex/state --- grid
  58. texture state \; /ev/pro/<id>/grid/tex/open --- grid texture open dialog
  59. \; /ev/pro/<id>/grid/tex/load --- reload grid texture \; /ev/pro/<id>/grid/tex/flip/horizontal
  60. --- flip grid tex \; /ev/pro/<id>/grid/tex/flip/vertical --- flip grid
  61. tex \; /ev/pro/<id>/cursor/mode --- mouse interaction mode \; \;;
  62. #X restore 478 617 pd parameter_list;
  63. #X text 606 413 click "create" to start;
  64. #X obj 432 263 ../ev-main/ev_declare;
  65. #X text 12 469 This abstraction is an alternative to the ev_pro_22
  66. abstraction \, especially for use on older graphic chips. It has the
  67. same functionality to distort a vertex in 4 cornerpins. Input is textured
  68. on a [curve3d] object \, where all 4 cornerpins can be translated independently.
  69. \; IMPORTANT: the vertex parameters have the same \, ID-related \,
  70. send&receive-parameters. In the case you mix easymap and pro_22 or
  71. pro_33 abstraction in one patch \, make sure they all have different
  72. IDs. \; This is useful \, if you realize problems with the shaders
  73. \, so that you can quickly replace the projection modules with the
  74. easymap-modules and can still load the same presets.;
  75. #X text 557 9 (c)2011 Peter Venus & Marian Weger \; /part of EXTENDED
  76. VIEW toolkit/ gpl v3;
  77. #X obj 8 45 cnv 15 400 400 empty empty gui_controls 5 8 0 12 -204800
  78. -66577 0;
  79. #X text 11 65 on/off: toggles projection plane state;
  80. #X text 11 77 settings: opens settings window;
  81. #X text 12 127 vertex position parameters: control the x/y position
  82. of the;
  83. #X text 11 163 grid_texture:;
  84. #X text 11 166 _____________;
  85. #X text 11 183 state: turn on grid to replace the texture \; open_new_file:
  86. load your own grid image \; reload: reload the given image file \;
  87. flip: flip grid horizontal(<->) or vertical(^v).;
  88. #X text 11 243 cursor_interaction:;
  89. #X text 10 246 ___________________;
  90. #X text 11 264 cursor_mode:;
  91. #X text 42 281 vertex_mouseover: show vertex control points if hovered
  92. \; vertex_permanent: show vertex control points permanently \; texture_mouseover:
  93. show texture control points if hovered \; texture_permanent: show texture
  94. control points permanently \;;
  95. #X text 11 343 rendered_grid:;
  96. #X text 10 346 ______________;
  97. #X text 11 364 state: turn grid on/off;
  98. #X text 11 377 Resolution:;
  99. #X text 84 377 set vertical (y) and horizontal (x) grid resolution.
  100. ;
  101. #X text 11 391 line_width: set thickness of the grid lines;
  102. #X text 11 404 COLOR: set the color of the grid;
  103. #X text 53 417 (H = hue \, S = saturation \, V = Value \, A = alpha)
  104. ;
  105. #X text 180 138 projection primitives 4 corners;
  106. #X text 11 103 settings window;
  107. #X text 10 112 ===============;
  108. #X obj 413 654 cnv 15 380 140 empty empty additional_information 5
  109. 8 0 12 -233017 -66577 0;
  110. #X text 427 672 Can be controlled via OSC \, which uses the same syntax
  111. as the EV internal send/recieve message system see paramter-list below
  112. for additional information about the specific parameter-names.;
  113. #X text 425 737 This Object is connected to the Data Storage System.
  114. All the vertex and texture coordinates and the softedge settings can
  115. be morphed between scenes individually.;
  116. #X connect 1 0 2 0;
  117. #X connect 2 0 3 0;
  118. #X connect 3 1 10 1;
  119. #X connect 4 0 8 0;
  120. #X connect 5 0 10 0;
  121. #X connect 8 0 2 0;
  122. #X coords 0 650 1 649 85 60 0;