Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
APPLE SHAKE: HomeShake ForumShake TutorialsApple Shake

fade expression

Cow Forums : Apple Shake

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
fade expression
by chris Sillitoe on Jul 8, 2008 at 9:58:15 am

hi

am trying to create a blinking effect for a big shot with about 50 paint nodes.

trying to fade each one of the nodes up randomly over time - so that they would all start at 0 and animate randomly until they reach a value of 1 at which point it would remain at a value of 1 for the rest of the frames.

pretty new to expression and would appreciate some help.
I know the rnd(time) but need to know how to add these 'if x is 1 - then stay at 1' extras.


also - if it can be done -would like to add a start point to the expression - so that one node would start randomly at frame 100 for example and another would start at frame 50.

not sure if this is even possible - but it would definitely save me keyframing the whole thing... thanks a lot



Respond to this post   •   Return to posts index

Re: fade expression
by Les Stuck on Jul 14, 2008 at 2:59:33 pm


This is a slightly different question from your post
on the Apple Shake forum,
so here's a slightly different reply.

First of all, read pages 140-144 of the tutorial:
/Applications/Shake/doc/Shake4Tutorials.pdf

You'll want to do basically the same thing.
Make sure that both local variables are float,
limiting their values to between 0 and 1.

Follow the tutorial closely, but keyframe animVal
to go from 0 to 2. In fade's value window, modify the
expression to this:

rndVal * animVal + animVal

Check out the Curve Editor. You'll see that
when animVal goes above 1, value is always above 1.
Since value is float, any value above 1 is clamped to 1.

If you want each fade node to be slightly out of
sync with the others, then copy and paste your fade nodes,
and use this for rndVal

rnd(time + X)

where X is the frame offset for that fade node.

To make things go in the opposite direction, make animVal go from 2 to 0.


Les



www.stuckfootage.com

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]