Re: Deconstructing animations



On Sun, Jun 29, 2003 at 07:43:32PM +0200, Matthias Clasen wrote: 
> No. All I want is a way to collect the sequence of pixbufs (and delays)
> which I can get via a GdkPixbufAnimationIter, without running into
> loops. I don't see how this would be giving up anything. Even mng
> ultimatively results in a sequence of frames which are displayed one
> after the other. 

Right, but it results in an infinite resolution series of frames. 
i.e. I believe the format has things like "move sprite from point A to
point B over N seconds"

In future it'd be nice to support flash or svg also, with similar
features.

It's probably fine to convert to frames by taking snapshots at some
interval, but if you did 30fps for example that way, the resulting
frame-based anim could be really huge. So perhaps the API should let
you request a frame rate, or let you check whether the anim is
frame-based?

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]