Re: Having problems with the CoreImage CIPageCurlTransition filter
Re: Having problems with the CoreImage CIPageCurlTransition filter
- Subject: Re: Having problems with the CoreImage CIPageCurlTransition filter
- From: Kevin Meaney <email@hidden>
- Date: Fri, 28 Mar 2014 22:10:03 +0000
Apologies,
I've just tried this using the CIPageCurlWithShadowTransition filter and it works. It is just the non shadow one that doesn't work.
Kevin
On 28 Mar 2014, at 21:59, Kevin Meaney <email@hidden> wrote:
> Hi,
>
> I've setup a project for working with the CoreImage transition filters and I've been going through making sure they work, and apart from the last 2 they work. I can't get the backside image to appear on the back of the page being turned over for the (CIPageCurlTransition, CIPageCurlWithShadowTransition) filters. In the debugger I can see that it is being assigned to the CIPageCurlTranstion and if I click the eye symbol I can see the correct image is being set to the filter and checking the key (inputBacksideImage) that is used to assign the CIImage everything is as it should be. The other images (inputImage, inputTargetImage, and inputShadingImage) are all being set properly and from the output it is clear that the CIPageCurlTransition filter is working as it should apart from there being an image on the backside of the page being turned. When it comes to assigning the images, the same mechanism is used in all cases.
>
> I thought I'd have a look at some Apple sample code and run them to see if there was something specific about the assigning of the backside image that doesn't apply to the other image. The first two samples I've tried both crash as soon as I select the CIPageCurlTransition filter. The sample code I've looked at is ImageTransition and CocoaSlides. I notice that both these examples use the same image for the inputShadingImage and the inputBacksideImage so even if they didn't crash I would have had to modify them to provide a distinctive backside image anyway.
>
> Have others had success applying a backside image to CIPageCurlTransition? If so is there a trick to it that I'm missing
>
> Kevin
>
>
>
>
>
>
>
>
> _______________________________________________
>
> 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
_______________________________________________
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