Re: how to write desktop annimation?
Re: how to write desktop annimation?
- Subject: Re: how to write desktop annimation?
- From: Rainer Brockerhoff <email@hidden>
- Date: Sun, 24 Dec 2006 19:23:11 -0200
At 09:43 -0800 24/12/06, email@hidden wrote:
>From: Scott Anguish <email@hidden>
>References: <email@hidden>
> <email@hidden>
>In-Reply-To: <email@hidden>
>Date: Sat, 23 Dec 2006 20:59:17 -0500
>Message-ID: <email@hidden>
>
>>>For I want to write an animation ,which has been realized at the virtuedesktops
>>>It is open source,and I have tried to trace down its code to find out how to create the desktops switch annimation,such as cube
>>>effort,but it seems very difficult to get the switch code,
>>
>>http://dev.lipidity.com/feature/tutorial/ebook-xcode-animations-core-graphics
>
> ugh, this uses private API.
>
> It can't be stated _strongly enough_ that this is a bad idea.
By a coincidence, I just spent a few days writing some CoreImage code to do widget-like window flipping:
http://www.brockerhoff.net/src/index.html (click on the Flipr link to download).
It's open under the MIT license.
It doesn't use any private API, and some parts may be useful for other types of animation. YMMV; suggestions welcome. It's not as fast as I'd like, and using Quartz Composer (and QCViews) will probably be faster.
Enjoy,
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."
Weblog: http://www.brockerhoff.net/bb/viewtopic.php
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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