diff options
Diffstat (limited to 'Gem/mesh_square-help.pd')
-rw-r--r-- | Gem/mesh_square-help.pd | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/Gem/mesh_square-help.pd b/Gem/mesh_square-help.pd new file mode 100644 index 0000000..582690b --- /dev/null +++ b/Gem/mesh_square-help.pd @@ -0,0 +1,87 @@ +#N canvas 91 105 706 465 10; +#X text 54 30 Class: geometric object; +#X obj 470 65 cnv 15 230 390 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X obj 593 385 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +0; +#N canvas 0 0 450 300 gemwin 0; +#X obj 132 136 gemwin; +#X obj 67 89 outlet; +#X obj 67 10 inlet; +#X obj 67 41 route create; +#X msg 67 70 set destroy; +#X msg 142 68 set create; +#X msg 198 112 destroy; +#X msg 132 112 create \, 1; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 3 0 7 0; +#X connect 3 1 5 0; +#X connect 3 1 6 0; +#X connect 4 0 1 0; +#X connect 5 0 1 0; +#X connect 6 0 0 0; +#X connect 7 0 0 0; +#X restore 598 424 pd gemwin; +#X msg 598 405 create; +#X text 594 384 Create window:; +#X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X obj 8 216 cnv 15 450 150 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X text 9 221 Inlets:; +#X obj 8 176 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577 +0; +#X text 17 175 Arguments:; +#X text 27 302 Inlet 2: float: size; +#X text 468 21 GEM object; +#X text 27 233 Inlet 1: gemlist; +#X text 9 321 Outlets:; +#X text 21 334 Outlet 1: gemlist; +#X text 476 47 Example:; +#X obj 473 96 cnv 15 220 280 empty empty empty 20 12 0 14 -24198 -66577 +0; +#X msg 476 127 draw line; +#X msg 476 146 draw point; +#X obj 544 72 gemhead; +#X floatatom 647 318 5 0 0 0 - - -; +#X text 647 302 size; +#X text 32 14 Synopsis: [mesh_square]; +#X obj 545 342 mesh_square 3 3; +#X msg 476 108 draw default; +#X msg 478 223 grid \$1; +#X floatatom 478 205 5 0 0 0 - - -; +#X floatatom 483 247 5 0 0 0 - - -; +#X msg 483 265 gridX \$1; +#X floatatom 552 247 5 0 0 0 - - -; +#X msg 552 265 gridY \$1; +#X obj 478 292 t a; +#X obj 476 167 t a; +#X text 7 69 Description: Renders a mesh; +#X text 63 186 resolution of the mesh; +#X text 27 247 Inlet 1: message: draw [line|defaulf|point]; +#X text 27 261 Inlet 1: list: grid float : change the grid resolution +; +#X text 27 274 Inlet 1: list: gridX float : change the X grid resolution +; +#X text 27 288 Inlet 1: list: gridY float : change the Y grid resolution +; +#X text 16 86 The [mesh_square] object renders a mesh in a square at +the current position with current color. The size of the square can +be changed via the second inlet. This object is usefull when working +with vertex_shader; +#X connect 3 0 4 0; +#X connect 4 0 3 0; +#X connect 18 0 33 0; +#X connect 19 0 33 0; +#X connect 20 0 24 0; +#X connect 21 0 24 1; +#X connect 25 0 33 0; +#X connect 26 0 32 0; +#X connect 27 0 26 0; +#X connect 28 0 29 0; +#X connect 29 0 32 0; +#X connect 30 0 31 0; +#X connect 31 0 32 0; +#X connect 32 0 24 0; +#X connect 33 0 24 0; |