[Qt-qml] jerky animation when using NumberAnimation
qt next
qtnext at gmail.com
Fri Sep 17 09:17:57 CEST 2010
Hi,
Thansk for your help and your example
It seems that the jerky movement is only visible on Windows and I supose
that you use Linux.
I have set a bug report regarding this issue :
http://bugreports.qt.nokia.com/browse/QTBUG-13600
<http://bugreports.qt.nokia.com/browse/QTBUG-13600>
2010/9/17 Eduardo Fleury <eduardo.fleury at openbossa.org>
> Hi,
>
> The thing here is that the fixed framerate of Qt animations is 60 fps. For
> most uses this is fine, but if you are trying to move something very fast
> this might be a little bit too slow.
>
> I've tweaked your example a little bit in order to keep the same vertical
> movement speed regardless of the animation method. I also added buttons so
> you can fire it up and:
>
> (1) Toggle between NumberAnimation or Timer animations
> (2) Change the framerate (only available with the timer animation)
>
> In my system I had the following result:
> - If the screen is large enough there's a noticeable difference between the
> timer animations in 60, 120 and 250 Hz.
> - Running the timer animation at 60 fps looks like the same thing as using
> the standard Qt animation
>
> I didn't try recompiling Qt with different default framerate, but it should
> give the same results.
>
> --
> Eduardo M. Fleury
> OpenBossa - INdT
> http://eduardofleury.com/
> http://www.openbossa.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100917/cdb7d6f4/attachment.html
More information about the Qt-qml
mailing list