• 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: Any Good Core Animation Tutorials?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any Good Core Animation Tutorials?


  • Subject: Re: Any Good Core Animation Tutorials?
  • From: Graham Cox <email@hidden>
  • Date: Wed, 17 Jun 2009 01:34:10 +1000


On 17/06/2009, at 1:27 AM, Chunk 1978 wrote:

so is CGAffineTransform considered Cocoa Animation, while
CATransform3D is Core Animation?  but they essentially do the same
thing?  just trying to get things straight.


Not sure what you mean by Cocoa Animation.

CGAffineTransform is a Core GRAPHICS structure, as its 'CG' prefix suggests. That is a strictly 2D technology, so the matrix used is 3x3. CATransform3D is used by Core Animation (CALayer, etc) which is a 3D technology, so the matrix it uses is 4x4.

So they are not the same thing, though they perform the equivalent task of transforming co-ordinates, the first in 2 dimensions, the second in 3. In Core Animation, you use a CATransform3D to perform translation, scaling and rotation of objects in 3 dimensions.

--Graham




_______________________________________________

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: Any Good Core Animation Tutorials?
      • From: Chunk 1978 <email@hidden>
References: 
 >Any Good Core Animation Tutorials? (From: Chunk 1978 <email@hidden>)
 >Re: Any Good Core Animation Tutorials? (From: Kiel Gillard <email@hidden>)
 >Re: Any Good Core Animation Tutorials? (From: Chunk 1978 <email@hidden>)
 >Re: Any Good Core Animation Tutorials? (From: Graham Cox <email@hidden>)
 >Re: Any Good Core Animation Tutorials? (From: Chunk 1978 <email@hidden>)

  • Prev by Date: Re: Any Good Core Animation Tutorials?
  • Next by Date: Re: Any Good Core Animation Tutorials?
  • Previous by thread: Re: Any Good Core Animation Tutorials?
  • Next by thread: Re: Any Good Core Animation Tutorials?
  • Index(es):
    • Date
    • Thread