[GEM-cvs] Gem/help torus.pd,NONE,1.1 colorSquare.pd,1.4,1.5 teapot.pd,1.4,1.5
Brought to you by:
zmoelnig
From: IOhannes m z. <zmo...@us...> - 2005-03-31 16:26:08
|
Update of /cvsroot/pd-gem/Gem/help In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17897 Modified Files: colorSquare.pd teapot.pd Added Files: torus.pd Log Message: updated documentation a bit Index: teapot.pd =================================================================== RCS file: /cvsroot/pd-gem/Gem/help/teapot.pd,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** teapot.pd 21 Mar 2004 19:58:13 -0000 1.4 --- teapot.pd 31 Mar 2005 16:25:59 -0000 1.5 *************** *** 42,48 **** #X text 33 14 Synopsis: [teapot]; #X text 7 69 Description: Renders a teapot.; - #X text 15 88 The teapot object renders a teapot at the current position - with current color. The size of the cube can be changed via the second - inlet.; #X text 63 186 size of the teapot; #X obj 522 81 cnv 15 150 100 empty empty empty 20 12 0 14 -24198 -66577 --- 42,45 ---- *************** *** 59,68 **** 3rd inlet.; #X msg 526 132 draw point; #X connect 3 0 4 0; #X connect 4 0 3 0; ! #X connect 22 0 26 0; ! #X connect 23 0 26 0; ! #X connect 24 0 26 0; ! #X connect 25 0 26 1; ! #X connect 27 0 26 2; ! #X connect 31 0 26 0; --- 56,68 ---- 3rd inlet.; #X msg 526 132 draw point; + #X text 15 88 The teapot object renders a teapot at the current position + with current color. The size of the teapot can be changed via the second + inlet.; #X connect 3 0 4 0; #X connect 4 0 3 0; ! #X connect 21 0 25 0; ! #X connect 22 0 25 0; ! #X connect 23 0 25 0; ! #X connect 24 0 25 1; ! #X connect 26 0 25 2; ! #X connect 30 0 25 0; Index: colorSquare.pd =================================================================== RCS file: /cvsroot/pd-gem/Gem/help/colorSquare.pd,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** colorSquare.pd 29 Mar 2004 18:15:58 -0000 1.4 --- colorSquare.pd 31 Mar 2005 16:25:58 -0000 1.5 *************** *** 67,71 **** corner; #X text 16 86 The colorSquare object renders a square at the current ! position. The size of the cube can be changed via the second inlet. The colors of the 4 corners can be specified separately and are drawn as gradients.; --- 67,71 ---- corner; #X text 16 86 The colorSquare object renders a square at the current ! position. The size of the square can be changed via the second inlet. The colors of the 4 corners can be specified separately and are drawn as gradients.; --- NEW FILE: torus.pd --- #N canvas 279 150 740 369 10; #X text 54 30 Class: geometric object; #X obj 519 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; #X obj 584 224 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 589 263 pd gemwin; #X msg 589 244 create; #X text 585 223 Create window:; #X text 525 29 Example:; #X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 236 cnv 15 450 120 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 11 237 Inlets:; #X obj 8 176 cnv 15 450 55 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 17 175 Arguments:; #X text 29 277 Inlet 2: float: size; #X text 452 8 GEM object; #X text 29 249 Inlet 1: gemlist; #X text 11 326 Outlets:; #X text 23 339 Outlet 1: gemlist; #X obj 522 81 cnv 15 150 100 empty empty empty 20 12 0 14 -24198 -66577 0; #X msg 525 88 draw line; #X msg 525 111 draw fill; #X obj 593 54 gemhead; #X floatatom 603 86 5 -5 5 2 size - -; #X floatatom 613 114 5 0 20 2 slices - -; #X text 29 291 Inlet 3: float: number of slices; #X text 29 263 Inlet 1: message: draw [line|fill|points]; #X text 14 130 You can also specify the "number of slices" via the 3rd inlet.; #X msg 526 132 draw point; #X text 33 14 Synopsis: [torus]; #X text 63 186 size of the torus; #X text 7 69 Description: Renders a torus.; #X text 15 88 The torus object renders a torus (aka: doughnut) at the current position with current color. The size of the torus can be changed via the second inlet.; #X floatatom 623 141 5 0 20 2 thickness - -; #X obj 593 159 torus 1; #X text 63 199 # of slices; #X text 62 214 thickness (R-r); #X text 29 307 Inlet 3: float: thickness of the torus (R-r); #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 18 0 32 0; #X connect 19 0 32 0; #X connect 20 0 32 0; #X connect 21 0 32 1; #X connect 22 0 32 2; #X connect 26 0 32 0; #X connect 31 0 32 3; |