And what about using PasteUpMorph with an unique step in the message
taking care of the update of the submorphs?

Hilaire



Le 04/05/2012 17:50, Martin Drautzburg a écrit :
> Hello all,
> 
> I am doing some smooth scrolling expriments. I use a step method in which I 
> adjust the display. When I set stepTime to 0, the time between steps is still 
> between 10 and 40 msces. During a scroll which takes 10 steps I see apx 1000 
> redraws of fairly simple Morphs. That is 100 redraws per step. When an 
> average 
> step takes apx. 20 msec this is 0.2 msec per redaw. Does this look normal, or 
> should I hunt for flaws in my program?
> 
> If this is the normal speed, then I cannot do animations in morphic, such 
> that 
> I get a new frame every 14 msec (70 Hz), at least not the way I am trying to 
> do it.
> 
> Another thing I cannot explain is the following: when I repeatedly call my 
> step method from another method (putting a Delay between the calls), the 
> display does not always update. I just see the end of the scroll, but not the 
> steps in between. Only when I add a World displayWorld I see the intermediate 
> scroll positions. However, when I call step from an explorer the Display 
> updates just fine, without an explicit displayWorld. Why is that so?
> 


-- 
Dr. Geo -- http://www.drgeo.eu


Reply via email to