[Interest] QML Custom Scene Graph animation?
Gunnar.Sletta at digia.com
Wed Jun 5 10:50:37 CEST 2013
On Jun 4, 2013, at 10:51 PM, Mark <markg85 at gmail.com> wrote:
> I'm playing with custom QML components in Scene Graph. The kind of
> component that i want to make is a system monitor like component (and
> learning Scene Graph while doing that is a big plus). Now i'm a bit
> stuck in the animation area. I can - obviously - just draw a line in
> some custom component and then move that component in either x or y
> (or both) which will give the same results, but that's not what i'm
> looking for.
> What i'm looking for is the paintEvent alternative for Scene Graph. I
> have "updatePaintNode" re-implemented and am drawing stuff in a
> component, but how can i update it when the next frame is requested? I
> don't know if i should use a timer, do i? Doesn't Scene Graph work
> with vsync and shouldn't i be doing something with that? If so, how?
> I kinda miss an example about making an animated component with Scene
> Graph. Or if someone knows of one, please do link me to that.
More information about the Interest