Animate contents of a stack/card to turn like a page

Thomas McGrath III mcgrath3 at mac.com
Mon Mar 30 15:05:42 EDT 2009


Here is a sample code for a good page curl using the OSX only core  
image effect:

  show image "Target Image" with visual effect CIPageCurlTransition  
slow with angle -2.610663 and backsideImage id 5290 and extent  
(0,0,400,300) and radius 196.18 and shadingImage id 5295

FWIW

Tom McGrath III
Lazy River Software
3mcgrath at comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html






On Mar 30, 2009, at 2:52 PM, Thomas McGrath III wrote:

> Mark,
>
> You could send 'someone' screenshots to apply that curl effect and  
> then have them screen capture it. Just a thought.....
>
> Tom McGrath III
> Lazy River Software
> 3mcgrath at comcast.net
>
> iTunes Library Suite - libITS
> Information and download can be found on this page:
> http://www.lazyriversoftware.com/RevOne.html
>
> On Mar 30, 2009, at 2:02 PM, mfstuart wrote:
>
>>
>> Hi Chris,
>> I checked out the example. Since I develop on Windows, I couldn't  
>> see the
>> core image sampler work.
>> I'm sure this works on Mac OS.
>>
>> It'll have to be:
>> visual effect scroll down very fast
>> go to card 2
>> for now.
>>
>> --
>> Mark Stuart
>>
>>
>> Chris Sheffield-2 wrote:
>>>
>>> Not sure what the requirements are, but there is a CoreImage page  
>>> curl
>>> transition. This would be Mac only, of course. There's a core image
>>> sampler stack located in Resources/Examples of your Revolution  
>>> folder.
>>> Version 2.6 and above I believe. Not sure if there's something  
>>> similar
>>> for Windows or not.
>>>
>>> Chris
>>>
>>>
>>> On Mar 30, 2009, at 11:29 AM, Richard Gaskin wrote:
>>>
>>>> mfstuart wrote:
>>>>> I'd like to animate the contents on a stack or a card or even a
>>>>> field, to
>>>>> animate the contents like turning a page of a book/magazine/
>>>>> newspaper. It
>>>>> would turn from the top-right to bottom-left. Or something like  
>>>>> that.
>>>>> This would have to be a cross-platform solution.
>>>>> Q: Can the animation do this?
>>>>> Or
>>>>> Q: can I do this without the animation engine, and do it with the
>>>>> RunRev
>>>>> engine alone?
>>>>> If so how?
>>>>
>>>> Good news:  the "answer effect" command gives you access to
>>>> QuickTime's transition dialog, which provides a stunning variety of
>>>> transition effects.
>>>>
>>>> Bad news: page turning isn't among them.* :(
>>>>
>>>> I good page-curling transition would be nice to have, but I'm not
>>>> sue it could even be done with an external (is there an API for
>>>> imaging unopened cards?).
>>>>
>>>> You might consider submitting a request for that.  In the meantime,
>>>> you may have to make due with something like the "push" effect for
>>>> now.
>>>>
>>>>
>>>> * Also absent from that QT dialog is the Ken Burns effect, in which
>>>> images are moved, zoomed, and faded simultaneously during the
>>>> transition.  It's a gorgeous effect, and since it's used in  
>>>> multiple
>>>> apps in OS X I suspect there's an API for it somewhere.  But it's
>>>> not in the QT dialog we get with "answer effect", and I've found no
>>>> way to emulate it in scripting.
>>>>
>>>> --
>>>> Richard Gaskin
>>>> Fourth World
>>>> Revolution training and consulting: http://www.fourthworld.com
>>>> Webzine for Rev developers: http://www.revjournal.com
>>>> _______________________________________________
>>>> use-revolution mailing list
>>>> use-revolution at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>>> --
>>> Chris Sheffield
>>> Read Naturally, Inc.
>>> www.readnaturally.com
>>>
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>>>
>>
>> -- 
>> View this message in context: http://www.nabble.com/Animate-contents-of-a-stack-card-to-turn-like-a-page-tp22787868p22789148.html
>> Sent from the Revolution - User mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your  
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list