← Back to team overview

yade-dev team mailing list archive

Re: draw speed

 

Bruno Chareyre said:     (by the date of Wed, 20 Dec 2006 16:04:29 +0100)

> -I start Yade, load a xml, click on play, it explodes.
> -I click stop and play again, it doesn't explode. The computation is 
> slow (300 it/min) and the rendering is not smooth.
> -I go check the refresh rate, it's at 20ms, very small!, so I set it to 
> 120ms and press the little arrow that is in on the right side of the 
> refresh rate to continue the simulation (the synchronize option is 
> always disabled here).
> -Now it computes fast (4000it/min) and the rendering is smooth.
> -But if I click on the little arrow again (or even on the main "play" 
> button) without modifying any field, the speed of computation will 
> change... it can go back to 300it/min or even lower.
> 
> Also strange : sometimes it seems that the refresh rate of digits in the 
> time part is uncoupled with the refresh rate of the QGL window (you can 
> see the number of iterations iterating very fast, while the rendering 
> display only few frames per sec.). And sometimes they look coupled (you 
> have time to read all the digits because not all number of iterations 
> will be displayed it makes like 10, 67, 124, 413...).
> 
> Ok, I just found something I can reproduce :
> It looks like the default value of the refresh rate is 20ms when you 
> start Yade, is it true?
> With this value, the computation will always be very slow during the 
> first run (well at least I checked 5 times and I had like 300it/min or 
> less each time).  And even if I change it, the 20ms will be back when I 
> restart Yade.


thank you for your detailed testing. It will be very useful for me,
uh.. in next month :/

-- 
# Janek Kozicki
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev



References