Le 25/05/2015 21:40, jamal crawford a écrit :
openGL is doing this, maybe you should use Gem for your interface?
not maybe, but absolutently! but i think the copy/paste/delete function
in the drawing window and scalar-editing are quite usefull to me. just
having the window stick on top of all your workspaces and traversing
with vnext is quite appealing. and btw: how would I even draw an array
in Gem? i have absolutely no idea .. :-)
the new array object makes drawing quite simplier with Gem, but there is
no copy/paste function, I've attached an example
On Mon, May 25, 2015, at 12:54 PM, patrice colet wrote:
hello, I didn't try yet pd-0.46 but with pd-0.45 it should be the same
thing...
Le 24/05/2015 14:29, jamal crawford a écrit :
hey List
0.
I try to create an rarray within an array, but every time I try to type
[struct array arrayWithin arrayWithin-template] in arrays template (both
before and after creation a template for arrayWithin), pd crashes. It
seems like I lack some basic order rules for creating templates. Can
anybody point me to where to look? I use 5.array.pd patch in docs, if
anybody could tweak it to work, i'd send you nice organic coffee
beans/wine, whereever you reside :-)
...there is a bug since the very begining of puredata, if you don't
delete data and modify your structure pd will crash
also I think this is not a good idea to draw arrays within arrays,
because bindings doesn't work anymore within arrays
1.
Is it possible to change the drawing layer order in the drawing window,
it seems like the last drawn object always appears on top. My idea was
to create a drawpolygon to be the canvas behind the drawing. Or is there
another way to do it?
what about simply putting a canvas instead?
2.
Is it possible to dynamically change the scaling of drawing window as
you do in properties with X and Y units from within pd?
donecanvasdialog message is designed to do this
3.
Is there a "human" way to draw with 3d perspective in mind or do I need
to read the h** lot on vectors and stuff, and rescale the whole
multiverse? Any links would be more valuable then truth and will be
taken with a gentle hand of thank you.
openGL is doing this, maybe you should use Gem for your interface?
big massive thanks in advance
~/.jc
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
#N canvas 160 312 479 340 10;
#N canvas 0 50 450 250 (subpatch) 0;
#X array gemArray 31 float 3;
#A 0 0.104 0.092 0.076 0.056 0.036 0.016 -0.00400007 0.244 -0.00800002
-0.016 -0.028 -0.036 -0.044 -0.056 -0.064 0.0079999 0.00399995 0 0
-0.12 -0.144 -0.156 -0.168 -0.18 -0.204 -0.22 -0.26 -0.296 -0.312 -0.336
-0.348;
#X coords 0 1 31 -1 200 140 1;
#X restore 42 183 graph;
#X obj 31 50 cnv 15 200 100 empty empty Gem_Array 20 12 0 14 -233017
-66577 0;
#N canvas 1072 104 556 497 handles 0;
#X obj 109 463 circle 0.1;
#X obj 109 443 translateXYZ 0 0 0;
#X obj 109 276 colorRGB 1 1 0;
#X obj 109 251 gemlist;
#X obj 109 299 separator;
#X obj 150 348 unpack;
#X obj 109 53 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 109 103 t b a b;
#X obj 150 420 - 4;
#X obj 206 414 * 4;
#X obj 150 398 / 125;
#X obj 214 329 r arraySize;
#X obj 214 350 / 8;
#X obj 109 141 array get gemArray;
#X obj 109 80 gemhead;
#X obj 109 189 t b a;
#N canvas 1 51 450 300 counter 0;
#X obj 106 34 inlet;
#X obj 144 118 f;
#X obj 183 146 + 1;
#X msg 179 119 0;
#X obj 193 71 inlet;
#X obj 82 233 outlet;
#X obj 106 57 t a b;
#X obj 86 211 list prepend;
#X connect 0 0 6 0;
#X connect 1 0 2 0;
#X connect 1 0 7 1;
#X connect 2 0 1 1;
#X connect 3 0 1 1;
#X connect 4 0 3 0;
#X connect 6 0 7 0;
#X connect 6 1 1 0;
#X connect 7 0 5 0;
#X restore 236 280 pd counter;
#N canvas 1 51 450 300 list-drip 0;
#X obj 63 84 t a a;
#X obj 63 241 spigot;
#X obj 102 149 bang;
#X obj 102 168 1;
#X obj 223 149 route bang;
#X obj 183 150 bang;
#X obj 183 169 0;
#X obj 102 114 list split 2;
#X obj 232 379 list split;
#X obj 299 328 list length;
#X obj 299 350 >> 1;
#X obj 63 260 t a a a a;
#X obj 63 446 list split;
#X obj 130 398 list length;
#X obj 130 423 >> 1;
#X obj 31 19 inlet;
#X obj 290 175 outlet;
#X text 73 19 Copyright 2009 by Mathieu Bouchard;
#X obj 31 53 t b a;
#X obj 465 119 outlet;
#X text 520 121 signal end of list;
#X text 381 23 made compatible with [list-drip]: fbar 2009;
#X connect 0 0 1 0;
#X connect 0 1 7 0;
#X connect 1 0 11 0;
#X connect 2 0 3 0;
#X connect 3 0 1 1;
#X connect 4 1 16 0;
#X connect 5 0 6 0;
#X connect 6 0 1 1;
#X connect 7 0 2 0;
#X connect 7 2 4 0;
#X connect 7 2 5 0;
#X connect 8 0 0 0;
#X connect 9 0 10 0;
#X connect 10 0 8 1;
#X connect 11 0 12 0;
#X connect 11 1 13 0;
#X connect 11 2 8 0;
#X connect 11 3 9 0;
#X connect 12 1 0 0;
#X connect 13 0 14 0;
#X connect 14 0 12 1;
#X connect 15 0 18 0;
#X connect 18 0 19 0;
#X connect 18 1 0 0;
#X restore 109 166 pd list-drip;
#X connect 1 0 0 0;
#X connect 2 0 4 0;
#X connect 3 0 2 0;
#X connect 4 0 1 0;
#X connect 5 0 10 0;
#X connect 5 1 9 0;
#X connect 6 0 14 0;
#X connect 7 0 13 0;
#X connect 7 1 3 1;
#X connect 7 2 16 1;
#X connect 8 0 1 1;
#X connect 9 0 1 2;
#X connect 10 0 8 0;
#X connect 11 0 12 0;
#X connect 12 0 10 1;
#X connect 13 0 17 0;
#X connect 14 0 7 0;
#X connect 15 0 3 0;
#X connect 15 1 16 0;
#X connect 16 0 5 0;
#X connect 17 0 15 0;
#X restore 35 100 pd handles;
#X obj 123 126 gemwin;
#X msg 124 82 create \, 1;
#X msg 136 106 destroy;
#N canvas 411 302 264 365 mouse 0;
#X obj 71 76 spigot 1;
#X obj 71 101 unpack;
#X obj 75 12 gemmouse 1 1;
#X obj 146 166 r arraySize;
#X obj 72 56 pack;
#X obj 133 195 *;
#X obj 72 294 array set gemArray;
#X obj 133 236 i;
#X obj 29 191 -;
#X msg 29 165 1 \$1;
#X obj 29 216 * 2;
#X obj 27 244 - 1;
#X obj 71 124 swap;
#X connect 0 0 1 0;
#X connect 1 0 12 0;
#X connect 1 1 12 1;
#X connect 2 0 4 0;
#X connect 2 1 4 1;
#X connect 2 2 0 1;
#X connect 3 0 5 1;
#X connect 4 0 0 0;
#X connect 5 0 7 0;
#X connect 7 0 6 1;
#X connect 8 0 10 0;
#X connect 9 0 8 0;
#X connect 10 0 11 0;
#X connect 11 0 6 0;
#X connect 12 0 9 0;
#X connect 12 1 5 0;
#X restore 35 122 pd mouse;
#X obj 313 191 array size gemArray;
#X obj 313 118 s arraySize;
#X obj 313 169 r arraySize;
#X obj 312 96 clip 1 4000;
#X floatatom 313 78 5 0 0 0 - - -, f 5;
#X text 372 318 patko2015;
#X connect 4 0 3 0;
#X connect 5 0 3 0;
#X connect 9 0 7 0;
#X connect 10 0 8 0;
#X connect 11 0 10 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list