Page 1 of 1

Visual Effect

Posted: Mon Apr 07, 2014 12:54 am
by Alexander
I created a visual effect.Thats one of the reason why I tried to speed up the system using RAMs.
viewtopic.php?f=3&t=9610
And now I've noticed one more strange thing. The actual frequency doesn't exceed the 32 Hz. Why?

Re: Visual Effect

Posted: Mon Apr 07, 2014 10:25 am
by admin
Yes, I know about this effect. The root cause is in how Windows works. It has a way to schedule timer with resolution of 1 millisecond, but actually it can’t run more frequently than every 30ms or so.
I was thinking how to solve this and I can reduce the range of the frequency slider to 30 instead of 50 or try to simulate it differently inside of the simulation loop. The latter one is hard to implement and can cause some performance degradation. At the same token it is not that a big deal and it is possible to leave with it.