aboutsummaryrefslogtreecommitdiff
path: root/msd3D/04_msd3Dfilet.pd
diff options
context:
space:
mode:
authorN.N. <nimon@users.sourceforge.net>2008-03-28 02:17:07 +0000
committerN.N. <nimon@users.sourceforge.net>2008-03-28 02:17:07 +0000
commit61d723c85b31647dc45cc070431d922436707cfa (patch)
tree220b609ba49a6cf8577629af4c5875843d667a22 /msd3D/04_msd3Dfilet.pd
parentd9451f13b229c79a955888d4764e373ebc6191c7 (diff)
examples modified
svn path=/trunk/externals/nusmuk/; revision=9635
Diffstat (limited to 'msd3D/04_msd3Dfilet.pd')
-rw-r--r--msd3D/04_msd3Dfilet.pd158
1 files changed, 99 insertions, 59 deletions
diff --git a/msd3D/04_msd3Dfilet.pd b/msd3D/04_msd3Dfilet.pd
index db41039..03c5b64 100644
--- a/msd3D/04_msd3Dfilet.pd
+++ b/msd3D/04_msd3Dfilet.pd
@@ -1,18 +1,70 @@
-#N canvas 579 22 867 806 10;
-#X obj 32 13 loadbang;
-#X obj 458 439 gemwin;
-#X msg 458 417 0 \, destroy;
-#X obj 457 469 gemhead;
-#X obj 457 492 world_light;
-#X msg 458 328 reset \, create \, lighting 1 \, 1;
-#X obj 145 205 t a;
-#X obj 144 18 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262131 -1
+#N canvas 719 216 416 177 10;
+#X obj 26 32 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
+#X text 47 31 reset;
+#N canvas 530 297 450 300 gem 0;
+#X obj 101 220 gemwin;
+#X msg 120 102 0 \, destroy;
+#X obj 13 211 gemhead;
+#X obj 13 234 world_light;
+#X msg 101 80 reset \, dimen 800 800 \, create \, lighting 1 \, 1;
+#X obj 101 17 inlet;
+#X obj 101 47 sel 1 0;
+#X obj 219 104 inlet;
+#X obj 219 134 sel 2 1 0;
+#X msg 219 177 view 0 0 2 0 0 0 0 1 0;
+#X msg 219 198 view 0 4 4 0 0 0 0 0 1;
+#X msg 219 156 view 2 0 3.5 0 0 0 0 0 1;
+#X connect 1 0 0 0;
+#X connect 2 0 3 0;
+#X connect 4 0 0 0;
+#X connect 5 0 6 0;
+#X connect 6 0 4 0;
+#X connect 6 1 1 0;
+#X connect 7 0 8 0;
+#X connect 8 0 11 0;
+#X connect 8 1 9 0;
+#X connect 8 2 10 0;
+#X connect 9 0 0 0;
+#X connect 10 0 0 0;
+#X connect 11 0 0 0;
+#X restore 26 135 pd gem;
+#X obj 26 87 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
+;
+#X text 79 84 gem on/off;
+#X obj 26 111 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144 -1
+-1 0;
+#X text 79 110 change view;
+#N canvas 0 22 584 305 creation 0;
#X msg 203 63 reset;
-#X text 182 19 reset;
-#X obj 33 298 gemhead;
-#X obj 33 321 t b;
-#X msg 33 343 bang \, get massesPos \, get linksPos;
+#X msg 203 83 symbol reset;
+#X msg 145 173 Xmax 100 \, Xmin 0 \, Ymax 100 \, Ymin 0 \, Zmax 70
+\, Zmin -40;
+#X msg 164 140 setFixed 62 \, setFixed 87 \, setFixed 512 \, setFixed
+537;
+#X obj 183 113 filet 20 30 2 2 20 30;
+#X obj 145 38 t b b b b;
+#X text 383 114 Filet abstraction : x0 y0 stepx stepy ny nx;
+#X obj 94 15 loadbang;
+#X obj 150 14 inlet;
+#X obj 145 205 s \$0-msdin;
+#X connect 0 0 9 0;
+#X connect 1 0 4 1;
+#X connect 2 0 9 0;
+#X connect 3 0 9 0;
+#X connect 4 0 9 0;
+#X connect 5 0 2 0;
+#X connect 5 1 3 0;
+#X connect 5 2 4 0;
+#X connect 5 3 0 0;
+#X connect 5 3 1 0;
+#X connect 7 0 5 0;
+#X connect 8 0 5 0;
+#X restore 26 52 pd creation;
+#N canvas 0 22 563 472 compute 0;
+#X obj 33 28 gemhead;
+#X obj 33 51 t b;
+#X msg 33 73 bang \, get massesPos \, get linksPos;
#N canvas 643 123 613 598 massrender 0;
#X obj 130 9 inlet;
#X obj 48 203 translateXYZ;
@@ -46,7 +98,7 @@
#X connect 12 3 10 0;
#X connect 13 0 14 0;
#X connect 14 0 7 0;
-#X restore 114 589 pd massrender;
+#X restore 114 359 pd massrender;
#N canvas 284 227 595 566 linkrender 0;
#X obj 93 25 inlet;
#X obj 93 117 / 12.5;
@@ -101,48 +153,36 @@
#X connect 21 6 16 0;
#X connect 22 0 23 0;
#X connect 23 0 5 0;
-#X restore 33 610 pd linkrender;
-#X obj 33 539 route linksPos massesPos;
-#X msg 203 83 symbol reset;
-#X obj 33 497 msd3D --------------------------------;
-#X msg 107 430 forceZ filet -0.2;
-#X msg 145 173 Xmax 100 \, Xmin 0 \, Ymax 100 \, Ymin 0 \, Zmax 70
-\, Zmin -40;
-#X msg 164 140 setFixed 62 \, setFixed 87 \, setFixed 512 \, setFixed
-537;
-#X obj 183 113 filet 20 30 2 2 20 30;
-#X msg 458 349 view 4 0 0.5 0 0 0 0 0 1;
-#X text 187 408 Ambient force;
-#X text 648 380 Select view;
-#X obj 145 38 t b b b b;
-#X text 244 587 Connect mass or link to be viewed \, or both with good
-computer!;
-#X text 383 114 Filet abstraction : x0 y0 stepx stepy ny nx;
-#X msg 458 371 view 0 0 2 0 0 0 0 1 0;
-#X msg 458 392 view 0 4 4 0 0 0 0 0 1;
-#X connect 0 0 25 0;
-#X connect 2 0 1 0;
-#X connect 3 0 4 0;
-#X connect 5 0 1 0;
-#X connect 6 0 17 0;
-#X connect 7 0 25 0;
-#X connect 8 0 6 0;
-#X connect 10 0 11 0;
-#X connect 11 0 12 0;
-#X connect 12 0 18 0;
-#X connect 12 0 17 0;
-#X connect 15 1 13 0;
-#X connect 16 0 21 1;
-#X connect 17 0 15 0;
-#X connect 18 0 17 0;
-#X connect 19 0 6 0;
-#X connect 20 0 6 0;
-#X connect 21 0 6 0;
-#X connect 22 0 1 0;
-#X connect 25 0 19 0;
-#X connect 25 1 20 0;
-#X connect 25 2 21 0;
-#X connect 25 3 8 0;
-#X connect 25 3 16 0;
-#X connect 28 0 1 0;
-#X connect 29 0 1 0;
+#X restore 33 380 pd linkrender;
+#X obj 33 269 route linksPos massesPos;
+#X msg 46 145 forceZ filet -0.2;
+#X text 61 122 Ambient force;
+#X obj 47 188 r \$0-msdin;
+#X obj 147 296 inlet;
+#X obj 114 337 spigot;
+#X obj 33 341 spigot 1;
+#X obj 78 318 == 0;
+#X obj 33 227 msd3D;
+#X connect 0 0 1 0;
+#X connect 1 0 2 0;
+#X connect 2 0 6 0;
+#X connect 2 0 13 0;
+#X connect 5 0 11 0;
+#X connect 5 1 10 0;
+#X connect 6 0 13 0;
+#X connect 8 0 13 0;
+#X connect 9 0 10 1;
+#X connect 9 0 12 0;
+#X connect 10 0 3 0;
+#X connect 11 0 4 0;
+#X connect 12 0 11 1;
+#X connect 13 0 5 0;
+#X restore 204 131 pd compute;
+#X obj 204 106 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X text 225 105 display links or masses;
+#X text 201 27 grid in a gravity field;
+#X connect 0 0 7 0;
+#X connect 3 0 2 0;
+#X connect 5 0 2 1;
+#X connect 9 0 8 0;