How do I get CATransition to actually work?
How do I get CATransition to actually work?
- Subject: How do I get CATransition to actually work?
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 26 Oct 2007 19:07:01 -0600
Now that the NDA has been lifted, I can finally ask a burning
question...
In Leopard, the new CATransition class supposedly animates a
CoreImage transition onto a layer. Has anyone figured out how to get
this to work in a similar style to how the transitions work in
CoreImage Fun House?
I set up my filter, set it in a transition, set the transition to
render into the view's layer, then called -setWantsLayer: on the view
to turn on the animation. Instead of showing the transition, the view
turned white.
I was able to work around this, and get Tiger compatibility, by
falling back on the old NSAnimation class and a custom view to
manually draw the transition to the screen. But the frame rate is
really bad on any CPU slower than a 2 GHz Core Duo, which is why I
was hoping to get CATransition working one of these days...
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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