Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

Re: Help for expression that lets a slider control counts...

Cow Forums : Adobe After Effects Expressions
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Re: Help for expression that lets a slider control counts...
by Marten Kopp on May 10, 2009 at 7:04:05 pm

Hi Dan,

Thanks for your quick reply. I allready tried another way. It works a little now.

What I actually try to accomplish is that (i use the suretarget plugin from videocopilot) when I move around between target, the camera zooms out a bit.

I got this expression now:

nummer = thisComp.layer("Null 5").effect("SureTarget")("Slider");

if (nummer == 1 || nummer == 2 || nummer == 3 || nummer == 4 || nummer == 5 || nummer == 6 || nummer == 7 || nummer == 8 || nummer == 9 || nummer == 10 )
{5}
else
{2}

It's a bit amature I guess, but it works for now.

My new problem is how to let the camera ease while its zooming in or out.

The current situation is:



I got 1 Null object witch controlls the suretarget plugin. It's manually keyframed.

Another Null is copying the output from the slider witch the plugin use, into its own slider control. On this one I have the expression witch you saw above.

Finally, my camera (cam optionszoom) has the expression:

thisComp.layer("height").effect("Slider Control")("Slider")*100

That multiplies the output 5 or 2 from the second Null to give the camera some altitude.

But how can I ever manage to let the cam ease its zoom?



Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Please post Expressions Code in the box below:


Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]