On Tue, Jun 16, 2009 at 9:21 AM, Graham Cox<graham....@bigpond.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to