Revision: 10019 http://pure-data.svn.sourceforge.net/pure-data/?rev=10019&view=rev Author: eighthave Date: 2008-06-17 14:45:27 -0700 (Tue, 17 Jun 2008)
Log Message: ----------- checked in acracia's 3dp docs, changing the names to match the standard help patch naming scheme, the source came from http://delcorp.org/abbadingo/3dp_doc.tar.gz
Modified Paths: -------------- branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_push-help.pd branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_view-help.pd branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_windowcontext-help.pd
Added Paths: ----------- branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_color-help.pd branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_draw-help.pd branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_light-help.pd branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_mouserotate-help.pd
Removed Paths: ------------- branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_draw.pd
Added: branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_color-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_color-help.pd (rev 0) +++ branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_color-help.pd 2008-06-17 21:45:27 UTC (rev 10019) @@ -0,0 +1,61 @@ +#N canvas 143 1 590 665 10; +#X obj 18 111 3dp_windowcontext; +#X obj 18 139 3dp_push; +#X obj 18 169 3dp_mouserotate; +#X obj 76 428 3dp_push; +#X obj 18 226 3dp_blend; +#X text 98 228 <-- click for more info; +#X obj 42 379 3dp_color; +#X floatatom 132 330 5 0 0 0 - - -; +#X floatatom 178 330 5 0 0 0 - - -; +#X floatatom 223 330 5 0 0 0 - - -; +#X floatatom 267 330 5 0 0 0 - - -; +#X obj 283 127 3dp_view transz 5; +#X obj 283 151 3dp_light; +#X obj 18 78 metro 40; +#X obj 18 50 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X obj 132 271 vsl 15 50 0 1 0 1 empty empty empty 0 -8 0 8 -262144 +-1 -1 2600 1; +#X obj 178 270 vsl 15 50 0 1 0 1 empty empty empty 0 -8 0 8 -262144 +-1 -1 3300 1; +#X obj 223 270 vsl 15 50 0 1 0 1 empty empty empty 0 -8 0 8 -262144 +-1 -1 4300 1; +#X obj 269 269 vsl 15 50 0 1 0 1 empty empty empty 0 -8 0 8 -262144 +-1 -1 2300 1; +#X obj 283 102 3dp_view roty 5; +#X obj 126 475 3dp_draw dodeca 4; +#X text 129 248 red; +#X text 170 248 green; +#X text 219 249 blue; +#X text 268 246 gain; +#X obj 17 199 3dp_view scale 1; +#X text 42 523 3dp_color: changes the rgb and gain values; +#X text 43 536 right outlet is new color , left outlet is the previous +color.; +#X text 303 303 alpha is interpreted as a color gain; +#X text 303 280 in this blending mode ,; +#X text 45 49 <-- start here; +#X text 45 634 bitch made doc for PDP 0.12.5 - http://delcorp.org/abbadingo +; +#X connect 0 0 1 0; +#X connect 0 1 2 1; +#X connect 1 0 2 0; +#X connect 1 1 19 0; +#X connect 2 0 25 0; +#X connect 3 1 20 0; +#X connect 4 0 6 0; +#X connect 6 1 3 0; +#X connect 7 0 6 1; +#X connect 8 0 6 2; +#X connect 9 0 6 3; +#X connect 10 0 6 4; +#X connect 11 0 12 0; +#X connect 13 0 0 0; +#X connect 14 0 13 0; +#X connect 15 0 7 0; +#X connect 16 0 8 0; +#X connect 17 0 9 0; +#X connect 18 0 10 0; +#X connect 19 0 11 0; +#X connect 25 0 4 0;
Added: branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_draw-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_draw-help.pd (rev 0) +++ branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_draw-help.pd 2008-06-17 21:45:27 UTC (rev 10019) @@ -0,0 +1,91 @@ +#N canvas 107 0 656 544 10; +#X obj 55 68 metro 40; +#X obj 55 38 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X obj 55 213 3dp_mouserotate; +#X obj 55 179 3dp_push; +#X obj 301 195 3dp_view transz 5; +#X obj 55 110 3dp_windowcontext; +#X obj 55 244 3dp_push; +#X obj 55 344 3dp_push; +#X obj 55 415 3dp_push; +#X obj 198 273 3dp_draw dodeca 3; +#X obj 55 143 3dp_blend; +#X obj 123 453 3dp_color; +#X floatatom 172 424 2 0 0 0 - - -; +#X obj 172 387 vsl 15 29 0 1 0 1 empty empty empty 0 -8 0 8 -262144 +-1 -1 2800 1; +#X obj 127 272 3dp_color; +#X floatatom 177 250 2 0 0 0 - - -; +#X obj 177 209 vsl 15 29 0 1 0 1 empty empty empty 0 -8 0 8 -262144 +-1 -1 1500 1; +#X text 216 35 some simple objects can be drawn using the pdp_draw +object. the first argument is the object: square , cube , sphere +, torus , cone , teapot , dodeca , icosa , octa , tetra. prepending +the names with a w draws the wireframe version. (i.e. wcube is a wireframe +cube). other inlets set some parameters like size , nb of segments +for sphere , etc.. they can be specified by creation arguments too. +; +#X obj 181 491 3dp_draw wicosa 8; +#X obj 301 225 3dp_light 0; +#N canvas 0 0 450 300 texture 0; +#X obj 99 200 pdp_convert texture/*/*; +#X obj 85 91 pdp_plasma; +#X obj 85 38 loadbang; +#X obj 202 10 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +; +#X obj 153 275 outlet; +#X obj 203 37 metro 200; +#X msg 86 63 dim 320 240 , bang; +#X floatatom 230 112 5 0 0 0 - - -; +#X obj 128 140 pdp_gain 7; +#X connect 2 0 6 0; +#X connect 2 0 3 0; +#X connect 3 0 5 0; +#X restore 211 334 pd texture; +#X obj 121 361 3dp_color; +#X floatatom 172 342 2 0 0 0 - - -; +#X obj 172 307 vsl 15 29 0 1 0 1 empty empty empty 0 -8 0 8 -262144 +-1 -1 2200 1; +#X floatatom 291 338 5 0 0 0 - - -; +#X obj 196 355 3dp_draw sphere 3; +#X msg 291 318 111; +#X text 203 378 the first inlet of the object is a texture inlet. not +all objects support this , but cube , square and sphere do.; +#X text 47 528 bitch made doc for PDP 0.12.4 - http://delcorp.org/abbadingo +; +#X text 87 38 <-- start here; +#X text 307 492 <---- wireframe icosaedro; +#X text 132 146 <------- to render all objects with transparency!!! +; +#X text 327 356 <-- sphere; +#X obj 291 298 loadbang; +#X connect 0 0 5 0; +#X connect 1 0 0 0; +#X connect 2 0 6 0; +#X connect 3 0 2 0; +#X connect 3 1 4 0; +#X connect 4 0 19 0; +#X connect 5 0 10 0; +#X connect 5 1 2 1; +#X connect 6 0 7 0; +#X connect 6 1 14 0; +#X connect 7 0 8 0; +#X connect 7 1 21 0; +#X connect 8 1 11 0; +#X connect 10 0 3 0; +#X connect 11 1 18 0; +#X connect 12 0 11 4; +#X connect 12 0 11 1; +#X connect 13 0 12 0; +#X connect 14 1 9 0; +#X connect 15 0 14 4; +#X connect 15 0 14 3; +#X connect 16 0 15 0; +#X connect 20 0 25 1; +#X connect 21 1 25 0; +#X connect 22 0 21 4; +#X connect 23 0 22 0; +#X connect 24 0 25 3; +#X connect 26 0 24 0; +#X connect 33 0 26 0;
Deleted: branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_draw.pd =================================================================== --- branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_draw.pd 2008-06-17 21:34:07 UTC (rev 10018) +++ branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_draw.pd 2008-06-17 21:45:27 UTC (rev 10019) @@ -1,10 +0,0 @@ -#N canvas 530 361 450 300 10; -#X obj 153 47 3dp_draw circle; -#X text 48 88 some simple objects can be drawn using the pdp_draw object. -the first argument is the object: square , cube , sphere , torus -, cone , teapot , dodeca , icosa , octa , tetra. prepending the -names with a w draws the wireframe version. (i.e. wcube is a wireframe -cube). the first inlet of the object is a texture inlet. not all objects -support this , but cube , square and sphere do. other inlets set -some parameters like size , nb of segments for sphere , etc.. they -can be specified by creation arguments too.;
Added: branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_light-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_light-help.pd (rev 0) +++ branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_light-help.pd 2008-06-17 21:45:27 UTC (rev 10019) @@ -0,0 +1,157 @@ +#N canvas 150 78 695 334 10; +#X obj 18 23 metro 40; +#X obj 18 -1 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +; +#X floatatom 74 228 5 0 0 0 - - -; +#X obj 17 249 3dp_draw sphere 5; +#X obj 261 156 loadbang; +#X obj 18 48 3dp_windowcontext; +#X obj 17 191 3dp_view roty; +#X floatatom 103 168 5 0 0 0 - - -; +#X obj 14 278 3dp_draw cube 2; +#N canvas 193 86 450 300 counter 0; +#X obj 175 172 spigot; +#X obj 157 142 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +1; +#X obj 213 143 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X obj 119 171 spigot; +#X obj 160 115 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 63 62 loadbang; +#X floatatom 147 219 0 0 0 0 - - -; +#X obj 270 201 float; +#X obj 119 194 + 1; +#X obj 176 195 - 1; +#X obj 219 84 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 219 117 1; +#X msg 250 116 0; +#X obj 163 279 outlet; +#X obj 92 26 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +; +#X obj 161 251 / 10; +#X obj 69 5 inlet; +#X obj 131 21 metro 50; +#X connect 0 0 9 0; +#X connect 1 0 3 1; +#X connect 2 0 0 1; +#X connect 3 0 8 0; +#X connect 4 0 1 0; +#X connect 4 0 2 0; +#X connect 5 0 1 0; +#X connect 6 0 15 0; +#X connect 7 0 0 0; +#X connect 7 0 3 0; +#X connect 8 0 7 1; +#X connect 8 0 6 0; +#X connect 9 0 7 1; +#X connect 9 0 6 0; +#X connect 10 0 11 0; +#X connect 10 0 12 0; +#X connect 10 0 7 0; +#X connect 11 0 1 0; +#X connect 12 0 2 0; +#X connect 14 0 17 0; +#X connect 15 0 13 0; +#X connect 16 0 14 0; +#X connect 17 0 10 0; +#X restore 103 147 pd counter; +#X obj 103 128 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +1; +#X obj 18 85 3dp_push; +#X obj 405 133 3dp_view transz 5; +#X obj 405 157 3dp_light; +#X floatatom 549 101 5 0 0 0 - - -; +#X floatatom 505 77 5 0 0 0 - - -; +#X obj 405 108 3dp_view roty 5; +#X obj 226 234 pdp_convert texture/*/*; +#X obj 226 209 pdp_plasma; +#X obj 228 126 bng 30 250 50 0 empty empty try_this 0 -6 1 8 -250685 +-1 -62784; +#X obj 226 260 pdp_del 3; +#X text 299 262 <- textures can be stored in a delay line; +#X text 41 0 <-- start here; +#X msg 261 177 dim 320 240; +#X obj 483 26 loadbang; +#X text 486 159 <-light source; +#N canvas 193 86 450 300 counter 0; +#X obj 175 172 spigot; +#X obj 157 142 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +1; +#X obj 213 143 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X obj 119 171 spigot; +#X obj 160 115 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 63 62 loadbang; +#X floatatom 147 219 0 0 0 0 - - -; +#X obj 270 201 float; +#X obj 119 194 + 1; +#X obj 176 195 - 1; +#X obj 219 84 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 219 117 1; +#X msg 250 116 0; +#X obj 163 279 outlet; +#X obj 92 26 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +; +#X obj 69 5 inlet; +#X obj 131 21 metro 100; +#X obj 162 252 / 3; +#X connect 0 0 9 0; +#X connect 1 0 3 1; +#X connect 2 0 0 1; +#X connect 3 0 8 0; +#X connect 4 0 1 0; +#X connect 4 0 2 0; +#X connect 5 0 1 0; +#X connect 6 0 17 0; +#X connect 7 0 0 0; +#X connect 7 0 3 0; +#X connect 8 0 7 1; +#X connect 8 0 6 0; +#X connect 9 0 7 1; +#X connect 9 0 6 0; +#X connect 10 0 11 0; +#X connect 10 0 12 0; +#X connect 10 0 7 0; +#X connect 11 0 1 0; +#X connect 12 0 2 0; +#X connect 14 0 16 0; +#X connect 15 0 14 0; +#X connect 16 0 10 0; +#X connect 17 0 13 0; +#X restore 495 51 pd counter; +#X obj 663 27 vsl 35 128 -70 70 0 0 empty empty try_this 0 -8 1 8 -260818 +-1 -24198 6600 1; +#X obj 615 24 vsl 35 128 -70 70 0 0 empty empty try_this 0 -8 1 8 -260818 +-1 -24198 4800 1; +#X text 313 303 bitch made doc for PDP 0.12.4 - http://delcorp.org/abbadingo +; +#X connect 0 0 5 0; +#X connect 1 0 0 0; +#X connect 2 0 3 2; +#X connect 3 0 8 0; +#X connect 4 0 23 0; +#X connect 5 0 11 0; +#X connect 6 0 3 0; +#X connect 7 0 6 1; +#X connect 9 0 7 0; +#X connect 10 0 9 0; +#X connect 11 0 6 0; +#X connect 11 1 16 0; +#X connect 12 0 13 0; +#X connect 14 0 12 1; +#X connect 15 0 16 1; +#X connect 16 0 12 0; +#X connect 17 0 20 0; +#X connect 17 0 3 1; +#X connect 18 0 17 0; +#X connect 19 0 18 0; +#X connect 20 0 8 1; +#X connect 23 0 18 0; +#X connect 24 0 26 0; +#X connect 26 0 15 0; +#X connect 27 0 14 0; +#X connect 28 0 15 0;
Added: branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_mouserotate-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_mouserotate-help.pd (rev 0) +++ branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_mouserotate-help.pd 2008-06-17 21:45:27 UTC (rev 10019) @@ -0,0 +1,40 @@ +#N canvas 534 483 533 399 10; +#X obj 18 15 inlet; +#X obj 18 359 outlet; +#X obj 61 148 - 0.5; +#X obj 126 147 - 0.5; +#X obj 73 210 *; +#X obj 126 208 *; +#X obj 126 182 t f f; +#X obj 73 180 t f f; +#X obj 73 239 +; +#X obj 104 267 sqrt; +#X obj 83 15 inlet; +#X obj 104 294 * 360; +#X obj 18 325 3dp_view rota; +#X text 172 81 convert mouse coordinates to axis and angle; +#X obj 61 114 unpack 0 0; +#X obj 83 45 route drag1 press1; +#X obj 198 126 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 +-1 -1 0 1; +#X connect 0 0 12 0; +#X connect 2 0 7 0; +#X connect 2 0 12 2; +#X connect 3 0 6 0; +#X connect 3 0 12 1; +#X connect 4 0 8 0; +#X connect 5 0 8 1; +#X connect 6 0 5 0; +#X connect 6 1 5 1; +#X connect 7 0 4 0; +#X connect 7 1 4 1; +#X connect 8 0 9 0; +#X connect 9 0 11 0; +#X connect 10 0 15 0; +#X connect 11 0 12 4; +#X connect 12 0 1 0; +#X connect 14 0 2 0; +#X connect 14 0 16 0; +#X connect 14 1 3 0; +#X connect 15 0 14 0; +#X connect 15 1 14 0;
Modified: branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_push-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_push-help.pd 2008-06-17 21:34:07 UTC (rev 10018) +++ branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_push-help.pd 2008-06-17 21:45:27 UTC (rev 10019) @@ -1,9 +1,60 @@ -#N canvas 460 581 450 300 10; -#X obj 159 39 3dp_push; -#X text 57 11 If you need to branch use a 3dp_push object.; -#X text 41 99 saving a (matrix) state can be accomplished by the 3dp_push +#N canvas 221 0 695 553 10; +#X obj 22 40 3dp_windowcontext; +#X obj 22 15 metro 40; +#X obj 22 -5 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +; +#X obj 22 67 3dp_push; +#X obj 180 126 3dp_light; +#X floatatom 301 85 5 0 0 0 - - -; +#X obj 22 97 3dp_mouserotate; +#X obj 180 104 3dp_view transz 10; +#X obj 23 207 3dp_draw sphere 1; +#X obj 317 128 3dp_for 3; +#X obj 317 151 3dp_push; +#X obj 368 215 3dp_draw cube 0.5; +#X obj 23 177 3dp_push; +#X obj 368 189 3dp_view transy; +#X obj 468 158 * 1; +#X floatatom 484 134 5 0 0 0 - - -; +#X obj 180 84 3dp_view roty; +#X floatatom 266 66 5 0 0 0 - - -; +#X floatatom 391 102 5 0 0 0 - - -; +#X obj 63 413 3dp_mode texture; +#X text 28 244 saving a (matrix) state can be accomplished by the 3dp_push object. the default matrix is the modelview matrix. it works as follows: both the right and the left outlet propagate the same matrix state as the input. so in short you can use 3dp_push to split your rendering tree into parallel branches. the matrix types that can be pushed are: -modelview , texture , color , projection; +modelview , texture , color , projection. setting a current matrix +can be done using the 3dp_mode object. i.e. will map all geometric +transforms to the texture matrix , for texture coordinate animation. +the left outlet restores the current matrix back to the modelview matrix. +; +#X text 27 418 i.e; +#X text 185 418 will map all geometric transforms; +#X text 27 431 to the texture matrix , for texture coordinate animation. +the left outlet restores the current matrix back to the modelview matrix. +; +#X text 46 -6 <-- start here; +#X text 34 501 bitch made doc for PDP 0.12.4 - http://delcorp.org/abbadingo +; +#X connect 0 0 3 0; +#X connect 0 1 6 1; +#X connect 1 0 0 0; +#X connect 2 0 1 0; +#X connect 3 0 6 0; +#X connect 3 1 16 0; +#X connect 5 0 7 1; +#X connect 6 0 12 0; +#X connect 7 0 4 0; +#X connect 9 0 10 0; +#X connect 9 1 14 0; +#X connect 10 1 13 0; +#X connect 12 0 8 0; +#X connect 12 1 9 0; +#X connect 13 0 11 0; +#X connect 14 0 13 1; +#X connect 15 0 14 1; +#X connect 16 0 7 0; +#X connect 17 0 16 1; +#X connect 18 0 9 1;
Modified: branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_view-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_view-help.pd 2008-06-17 21:34:07 UTC (rev 10018) +++ branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_view-help.pd 2008-06-17 21:45:27 UTC (rev 10019) @@ -1,8 +1,46 @@ -#N canvas 462 243 471 316 10; -#X text 59 136 geometric transformations can be done using the 3dp_view +#N canvas 18 74 650 512 10; +#X obj 37 35 3dp_windowcontext; +#X obj 37 63 3dp_push; +#X obj 411 55 3dp_view transz 5; +#X obj 411 75 3dp_light; +#X obj 37 2 metro 40; +#X obj 37 -28 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X floatatom 525 33 5 0 0 0 - - -; +#X floatatom 511 14 5 0 0 0 - - -; +#X floatatom 162 158 5 0 0 0 - - -; +#X obj 36 428 3dp_draw tetra 4; +#X obj 411 35 3dp_view roty 5; +#X msg 511 -11 75; +#X obj 36 306 3dp_view rotx; +#X floatatom 160 307 5 0 0 0 - - -; +#X obj 37 175 3dp_view scale 2; +#X floatatom 170 356 5 0 0 0 - - -; +#X obj 316 221 3dp_view rota 1 1 1 90; +#X text 219 96 geometric transformations can be done using the 3dp_view object. the first argument is the kind of transformation: scale , scalex , scaley , scalez , rotx , roty , rotz , rota , transx -, transy , transz , transxyz.; +, transy , transz , transxyz. repectively this scales the object +, the x , y , z axis , rotates around the x , y , z axis , rotates +around an arbitrary axis , translates in the x , y , z directions +and translates along a vector. the initial parameters can be specified +as creation arguments , i.e.: rotates by 90 degrees around axis (1 +, 1 , 1).; +#X text 58 -27 <-- start here; +#X text 225 434 bitch made doc for PDP 0.12.4 - http://delcorp.org/abbadingo +; +#X obj 514 -33 loadbang; +#X msg 570 17 5; +#X floatatom 160 408 5 0 0 0 - - -; +#X obj 36 393 3dp_blend; +#X floatatom 175 257 5 0 0 0 - - -; +#X obj 36 356 3dp_view transxyz; +#X obj 36 259 3dp_view transxyz; +#X text 228 256 <-- translation before rotation: the object rotates +around itself; +#X text 228 356 <-- translation after rotation: the object makes an +orbit; +#N canvas 0 22 450 300 all 0; #X obj 33 19 3dp_view scale; #X obj 33 40 3dp_view scalex; #X obj 33 61 3dp_view scaley; @@ -15,10 +53,26 @@ #X obj 313 40 3dp_view transx; #X obj 313 61 3dp_view transy; #X obj 313 83 3dp_view transz; -#X text 60 195 repectively this scales the object , the x , y , -z axis , rotates around the x , y , z axis , rotates around an -arbitrary axis , translates in the x , y , z directions and translates -along a vector. the initial parameters can be specified as creation -arguments , i.e.:; -#X text 57 272 [3dp_view rota 1 1 1 90] rotates by 90 degrees around -axis (1 , 1 , 1).; +#X restore 464 405 pd all possibilities; +#X connect 0 0 1 0; +#X connect 1 0 14 0; +#X connect 1 1 10 0; +#X connect 2 0 3 0; +#X connect 4 0 0 0; +#X connect 5 0 4 0; +#X connect 6 0 2 1; +#X connect 7 0 10 1; +#X connect 8 0 14 1; +#X connect 10 0 2 0; +#X connect 11 0 7 0; +#X connect 12 0 25 0; +#X connect 13 0 12 1; +#X connect 14 0 26 0; +#X connect 15 0 25 2; +#X connect 20 0 11 0; +#X connect 21 0 6 0; +#X connect 22 0 9 1; +#X connect 23 0 9 0; +#X connect 24 0 26 2; +#X connect 25 0 23 0; +#X connect 26 0 12 0;
Modified: branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_windowcontext-help.pd =================================================================== --- branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_windowcontext-help.pd 2008-06-17 21:34:07 UTC (rev 10018) +++ branches/pd-extended/v0-40/externals/pdp/opengl/doc/objects/3dp_windowcontext-help.pd 2008-06-17 21:45:27 UTC (rev 10019) @@ -1,24 +1,36 @@ -#N canvas 53 117 613 353 10; -#X obj 67 71 3dp_windowcontext; -#X obj 67 46 metro 40; -#X obj 67 23 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +#N canvas 118 0 641 389 10; +#X obj 55 68 metro 40; +#X obj 55 38 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; -#X obj 166 154 pddp/print; -#X obj 214 129 pddp/print; -#X obj 299 188 route drag1 drag2 drag3; -#X obj 434 210 route press1 press2 press3; -#X obj 166 108 route motion drag; -#X text 223 -54 the 3dp_windowcontext creates a window to draw in. -the window packet will be be output to the left outlet when a bang +#X obj 55 166 3dp_mouserotate; +#X obj 357 149 3dp_light 0; +#X obj 55 140 3dp_push; +#X obj 357 121 3dp_view transz 5; +#X obj 55 110 3dp_windowcontext; +#X obj 55 192 3dp_draw cube 7; +#X msg 222 71 dim 1023 768; +#X floatatom 485 87 5 0 0 0 - - -; +#X msg 222 47 dim 320 240; +#X text 203 185 the 3dp_windowcontext creates a window to draw in. +the window packet will be the output to the left outlet when a bang is received. control flow for context is right to left , this means if a 3dp object has 2 context outlets , the rightmost will be propagated before the leftmost. there is no fanout. all operations are accumulative , including the geometric transformations. if you need to branch use a 3dp_push object.; -#X connect 0 1 7 0; +#X text 88 37 <-- start here; +#X text 78 348 bitch made doc for PDP 0.12.4 - http://delcorp.org/abbadingo +; +#X text 440 151 <-- light source; +#X text 335 54 <-- changes the window size; +#X connect 0 0 6 0; #X connect 1 0 0 0; -#X connect 2 0 1 0; -#X connect 5 3 6 0; -#X connect 7 0 3 0; -#X connect 7 1 4 0; -#X connect 7 2 5 0; +#X connect 2 0 7 0; +#X connect 4 0 2 0; +#X connect 4 1 5 0; +#X connect 5 0 3 0; +#X connect 6 0 4 0; +#X connect 6 1 2 1; +#X connect 8 0 6 0; +#X connect 9 0 5 1; +#X connect 10 0 6 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.