Re: iPad frame-by-frame animation
Re: iPad frame-by-frame animation
- Subject: Re: iPad frame-by-frame animation
- From: Leon Qiao <email@hidden>
- Date: Fri, 5 Nov 2010 10:22:10 +0800
Dear David,
Thanks a lot for your feedback!
I need to put the animation on the other views with alpha info. So I don't
know if I can use the movie.
And the second method, would you please tell more details?
Now I'm trying to use the last solution and see if it is acceptable.
Thanks again.
Leon
2010/11/5 David Duncan <email@hidden>
> On Nov 2, 2010, at 8:13 PM, Leon Qiao wrote:
>
> > I got some problems on showing a frame-by-frame animations. I use some
> png
> > files in quite a big size(1024* 768). The frame rate I required is near
> > 1/24.
>
> Consider that at the framerate you desire, this will require
> 1024*768*4*24=72MB of memory per second. You will almost certainly need to
> rethink your strategy.
>
> > Is there any way to solve this problem?
>
>
> There are many, which one is appropriate will require a lot more
> information about what your animation is. Generally:
> 1) Make it a movie instead
> 2) Break the animation into static and animated bits, stuff them into
> views, move the views.
> 3) Shrink your image sizes, scale them up for animation. 512x384 for
> example cuts the memory usage by 75%.
> --
> David Duncan
>
>
--
Best regards
Leon
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden