On Thu, 2008-07-24 at 11:20 +0800, Ben Lau wrote:
> Hi all,
> 
>    I just create a very simple animation with a text move from left to
> right , but it is not smooth , a little bits choppy. Although it is
> not serious, it should be able to achieve better quality. Any hints to
> improve the quality? Is it related to vblank?
> 
> The source code of sample program is attached. It was tested in
> following environment:
> 
> Ubuntu 7.0.4 + Clutter 0.8 / 0.6 + Intel i945 display chip
> 
> Debian SID + Clutter 0.8 / 0.6 +  NVidia 8400 series display chip
> 
> Thanks.

Instead of manually setting the framerate to 30fps, you might want to
use clutter_timeline_new_for_duration - this will use the default fps
(which I think is 60?) Alternatively, you could set a higher fps. But 30
will look a bit choppy, especially if it conflicts with your vertical
refresh rate (say you have a vblank of 75Hz).

--Chris


-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to