Re: [PD] Smooth motion with GEM

2009-03-31 Thread marius schebella
sending the gemwin a message FSAA 2 (or 4...) before you create it
will enhance the smoothness a little bit.
marius.

2009/3/31 maths...@libero.it maths...@libero.it:

 Hi list,

 I'm using the patch below on Pd-extended 0.40.3 on a MacBook Pro, 
 MacOsX10.4.11, to test the best setting for the [gemwin] initialization.

 Even with a simple 4/3 [rectangle] I can't get smooth motions: if I 
 increase/decrease its dimensions with a [line] (let's say increasing 
 dimensions from 3 to 4 in 1 milliseconds) the motion is not fluid, it 
 changes by little visible steps. I've tried also to limit the amount of data 
 from the [line] till 40 values per second without significative results.

 Any suggestion? Thanks a lot! marco


 #N canvas 595 22 579 178 10;
 #X obj 78 38 gemhead;
 #X obj 64 123 rectangle 4 3;
 #X obj 357 115 gemwin;
 #X msg 258 47 create \, 1;
 #X msg 349 48 destroy;
 #X floatatom 157 28 5 0 0 0 - - -;
 #X obj 139 98 * 0.865;
 #X obj 139 75 line;
 #X obj 139 54 pack f f;
 #X floatatom 206 29 5 0 0 0 - - -;
 #X msg 414 69 frame \$1;
 #X floatatom 414 48 5 0 0 0 - - -;
 #X msg 8 61 draw fill;
 #X obj 78 17 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
 ;
 #X connect 0 0 1 0;
 #X connect 3 0 2 0;
 #X connect 4 0 2 0;
 #X connect 5 0 8 0;
 #X connect 6 0 1 2;
 #X connect 7 0 6 0;
 #X connect 7 0 1 1;
 #X connect 8 0 7 0;
 #X connect 9 0 8 1;
 #X connect 10 0 2 0;
 #X connect 11 0 10 0;
 #X connect 12 0 1 0;
 #X connect 13 0 0 0;



 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Smooth motion with GEM

2009-03-31 Thread cyrille henry

setting framerate to 50 with the frame massage on your patch make the display 
very fluid.
50fps correspond to 20ms between frame, and that's exactly the default output 
rate of line.

so everything is fine in your patch. once correctly configured it works 
perfectly.
at least on my computer.

Cyrille


maths...@libero.it a écrit :

Hi list,

I'm using the patch below on Pd-extended 0.40.3 on a MacBook Pro, 
MacOsX10.4.11, to test the best setting for the [gemwin] initialization.

Even with a simple 4/3 [rectangle] I can't get smooth motions: if I 
increase/decrease its dimensions with a [line] (let's say increasing dimensions 
from 3 to 4 in 1 milliseconds) the motion is not fluid, it changes by 
little visible steps. I've tried also to limit the amount of data from the 
[line] till 40 values per second without significative results.

Any suggestion? Thanks a lot! marco


#N canvas 595 22 579 178 10;
#X obj 78 38 gemhead;
#X obj 64 123 rectangle 4 3;
#X obj 357 115 gemwin;
#X msg 258 47 create \, 1;
#X msg 349 48 destroy;
#X floatatom 157 28 5 0 0 0 - - -;
#X obj 139 98 * 0.865;
#X obj 139 75 line;
#X obj 139 54 pack f f;
#X floatatom 206 29 5 0 0 0 - - -;
#X msg 414 69 frame \$1;
#X floatatom 414 48 5 0 0 0 - - -;
#X msg 8 61 draw fill;
#X obj 78 17 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
;
#X connect 0 0 1 0;
#X connect 3 0 2 0;
#X connect 4 0 2 0;
#X connect 5 0 8 0;
#X connect 6 0 1 2;
#X connect 7 0 6 0;
#X connect 7 0 1 1;
#X connect 8 0 7 0;
#X connect 9 0 8 1;
#X connect 10 0 2 0;
#X connect 11 0 10 0;
#X connect 12 0 1 0;
#X connect 13 0 0 0;



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list