Re: How do I get CATransition to actually work?
Re: How do I get CATransition to actually work?
- Subject: Re: How do I get CATransition to actually work?
- From: Nick Zitzmann <email@hidden>
- Date: Sat, 27 Oct 2007 13:26:49 -0600
On Oct 27, 2007, at 12:56 PM, Scott Anguish wrote:
You shouldn't set the before and after images. the inputImage and
inputTargetImage and the outputImage all are set up automatically
for you by Core Animation.
How is it supposed to do that when it does not know the state of the
view? Before I can do the transition, I need to get an
NSBitmapImageRep of the view _before_ its state is changed, and then
get a second image after changing the state of the view. This is in a
view that does its own drawing independently of CoreAnimation. It's
like plugging two images into a transition in the CoreImage Fun House
app.
Which CIFilter were you trying to use? I'll play with it if you can
tell me.
I'm using CIPageCurlTransition. This one, in addition to requiring a
source and target image, also needs a backside and shading image,
which I have already done.
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