• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iPad frame-by-frame animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPad frame-by-frame animation


  • Subject: Re: iPad frame-by-frame animation
  • From: David Duncan <email@hidden>
  • Date: Thu, 4 Nov 2010 09:05:41 -0700

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

_______________________________________________

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

  • Follow-Ups:
    • Re: iPad frame-by-frame animation
      • From: Leon Qiao <email@hidden>
References: 
 >iPad frame-by-frame animation (From: Leon Qiao <email@hidden>)

  • Prev by Date: WebView NSURLProtocol Tiger problems.
  • Next by Date: Re: Resizable NSTabView
  • Previous by thread: iPad frame-by-frame animation
  • Next by thread: Re: iPad frame-by-frame animation
  • Index(es):
    • Date
    • Thread