diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2005-04-27 12:26:51 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2005-04-27 12:26:51 +0000 |
commit | e68340de2b4519bf90bf339256e25cde16db6c4b (patch) | |
tree | 3fd93861d1bbdab964b5a97d34796a2d64f6538f /msd3D | |
parent | 451fdfe5a37a6f7f4d275ce6f220bda9da11d1dc (diff) |
v0.04
svn path=/trunk/externals/nusmuk/; revision=2834
Diffstat (limited to 'msd3D')
-rw-r--r-- | msd3D/02_msd3Dperf.pd | 46 | ||||
-rw-r--r-- | msd3D/curve2.pd | 12 |
2 files changed, 38 insertions, 20 deletions
diff --git a/msd3D/02_msd3Dperf.pd b/msd3D/02_msd3Dperf.pd index cd1d59c..b52b0cd 100644 --- a/msd3D/02_msd3Dperf.pd +++ b/msd3D/02_msd3Dperf.pd @@ -1,4 +1,4 @@ -#N canvas 533 109 692 690 10; +#N canvas 545 25 692 818 10; #X obj 177 369 t a; #X obj 159 5 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; @@ -8,7 +8,7 @@ #X obj 159 27 t b b b b b; #X msg 456 528 0 \, destroy; #X obj 456 583 gemhead; -#X obj 456 606 world_light; +#X obj 460 670 world_light; #X msg 213 177 mass fix 0 100 50 50; #X msg 456 468 reset \, create \, lighting 1 \, 1; #X obj 52 391 t b; @@ -25,10 +25,10 @@ #X obj 125 136 t b f; #X obj 247 86 / 12.5; #X obj 247 109 - 4; -#X obj 48 229 sphere 0.07; #X obj 127 57 unpack f f f f; -#X connect 0 0 13 0; -#X connect 1 0 12 0; +#X obj 48 229 cube 0.03; +#X connect 0 0 12 0; +#X connect 1 0 13 0; #X connect 2 0 3 0; #X connect 3 0 9 0; #X connect 4 0 5 0; @@ -40,10 +40,10 @@ #X connect 9 1 1 1; #X connect 10 0 11 0; #X connect 11 0 1 3; -#X connect 13 1 2 0; -#X connect 13 2 4 0; -#X connect 13 3 10 0; -#X restore 52 625 pd massrender; +#X connect 12 1 2 0; +#X connect 12 2 4 0; +#X connect 12 3 10 0; +#X restore 52 699 pd massrender; #X obj 425 254 random 100; #X msg 425 233 seed 1; #X obj 349 254 random 100; @@ -62,7 +62,7 @@ #X msg 177 339 link souple \$1 \$2 100 0.5 0.5; #X obj 52 368 gemhead; #X obj 456 548 gemwin; -#X obj 52 583 msd3D --------------------------------; +#X obj 52 655 msd3D --------------------------------; #X obj 376 105 t b b b b; #X obj 505 254 random 100; #X msg 505 233 seed 4; @@ -75,12 +75,20 @@ #X obj 586 123 repeat 300; #X text 501 21 <-- Number of masses; #X obj 456 487 t b; -#X obj 52 604 route massesPos; +#X obj 52 678 route massesPos; #X msg 52 425 bang \, get massesPos; #X text 265 487 <-- Move masses; #X msg 143 479 forceX mob 100; #X msg 143 503 forceX mob -100; -#X msg 459 20 900; +#X floatatom 495 615 5 0 0 0 - - -; +#X floatatom 536 618 5 0 0 0 - - -; +#X floatatom 589 619 5 0 0 0 - - -; +#X obj 457 640 rotateXYZ 30 30 0; +#X msg 459 20 3999; +#X msg 163 529 forceY mob 100; +#X msg 162 553 forceY mob -100; +#X msg 176 577 forceZ mob 100; +#X msg 175 601 forceZ mob -100; #X connect 0 0 31 0; #X connect 1 0 5 0; #X connect 2 0 0 0; @@ -96,7 +104,7 @@ #X connect 5 4 17 0; #X connect 5 4 34 0; #X connect 6 0 30 0; -#X connect 7 0 8 0; +#X connect 7 0 51 0; #X connect 9 0 0 0; #X connect 10 0 30 0; #X connect 10 0 42 0; @@ -139,5 +147,13 @@ #X connect 44 0 31 0; #X connect 46 0 31 0; #X connect 47 0 31 0; -#X connect 48 0 39 1; -#X connect 48 0 40 1; +#X connect 48 0 51 1; +#X connect 49 0 51 2; +#X connect 50 0 51 3; +#X connect 51 0 8 0; +#X connect 52 0 39 1; +#X connect 52 0 40 1; +#X connect 53 0 31 0; +#X connect 54 0 31 0; +#X connect 55 0 31 0; +#X connect 56 0 31 0; diff --git a/msd3D/curve2.pd b/msd3D/curve2.pd index b4b8d72..7fb277b 100644 --- a/msd3D/curve2.pd +++ b/msd3D/curve2.pd @@ -1,21 +1,23 @@ #N canvas 0 25 1255 894 10; -#X obj 31 123 GEMglBegin; +#X obj 30 164 GEMglBegin; #X obj 86 100 GLdefine GL_LINE_STRIP; #X obj 31 13 inlet; #X obj 86 77 loadbang; #X obj 159 13 inlet; #X obj 200 13 inlet; -#X obj 28 204 GEMglEnd; -#X obj 31 151 GEMglVertex3fv; -#X obj 31 175 GEMglVertex3fv; +#X obj 27 241 GEMglEnd; +#X obj 30 188 GEMglVertex3fv; +#X obj 30 212 GEMglVertex3fv; #X obj 161 76 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; +#X obj 30 138 GEMglNormal3fv 0 0 1; #X connect 0 0 7 0; #X connect 1 0 0 1; -#X connect 2 0 0 0; +#X connect 2 0 10 0; #X connect 3 0 1 0; #X connect 4 0 7 1; #X connect 5 0 8 1; #X connect 7 0 8 0; #X connect 8 0 6 0; #X connect 9 0 1 0; +#X connect 10 0 0 0; |