Re: Any Good Core Animation Tutorials?
Re: Any Good Core Animation Tutorials?
- Subject: Re: Any Good Core Animation Tutorials?
- From: Kyle Sluder <email@hidden>
- Date: Tue, 16 Jun 2009 09:41:09 -0700
On Tue, Jun 16, 2009 at 9:21 AM, Graham Cox<email@hidden> wrote:
> Are you asking whether it's better (by some definition of "better") to
> change the Z position of an image in CA, thus moving it further away or
> nearer, or to just scale it in 2D? Ultimately, these two things are
> equivalent, because your screen is a 2D surface and any 3-dimensional
> effects are an illusion. The illusion of distance is achieved by scaling.
Visually they're equivalent but operationally they're quite different.
If the effect you need is a 2D scale, you need not involve all the 3D
machinations, which involve uploading the texture to VRAM, applying a
3D translation, and then applying a projection transform back. Not to
mention you have better control over the resampling in Quartz.
--Kyle Sluder
_______________________________________________
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