Search found 128 matches

by kobyg
November 27th, 2008, 6:25 am
Forum: Scripts Discussion
Topic: plug-in developer referal
Replies: 1
Views: 6174

Re: plug-in developer referal

by kobyg
November 26th, 2008, 12:49 pm
Forum: Expression Discussion
Topic: how can i distribute circle shape layers "helix"
Replies: 3
Views: 10493

Re: how can i distribute circle shape layers "helix"

It depends on what you want to animate...
If you want to animate the radius of the helix, link the "sRad" parameter to a slider.
If you want to animate the radius of the helix, link the "sOff" parameter to a slider.
etc.
by kobyg
November 21st, 2008, 3:41 pm
Forum: Script requests
Topic: Trim layers based on Opacity - save a lot of render time
Replies: 20
Views: 45667

Re: Trim layers based on Opacity - save a lot of render time

That's more complicated to work on selected layers, because I split layers when needed and create new layers, thus changing the layer's selection. However, I've changed the script so it will not work on locked layers. So you could lock the layers you don't want the script to work on, and then launch...
by kobyg
November 21st, 2008, 10:57 am
Forum: Expression Discussion
Topic: Increment and hold
Replies: 2
Views: 9077

Re: Increment and hold

Try this expression:
Where riseTime is the transition time.

Code: Select all

stepTime = 2;
riseTime = 1;
opacityIncrement = 20;
currentStep = Math.floor(time/stepTime);
value - currentStep*opacityIncrement + ease(time-currentStep*stepTime, 0, riseTime, 1, 0)*opacityIncrement;
Koby.
by kobyg
November 21st, 2008, 10:00 am
Forum: Expression Discussion
Topic: must be scalar error
Replies: 2
Views: 12164

Re: must be scalar error

The first argument to the ease function (where you wrote "value") must be a scalar, comparable to the 2nd and 3rd parameters. I don't know what you are trying to do, or on what property you've used this expression, but writing "time" instead of "value" might do what you...
by kobyg
November 14th, 2008, 8:58 am
Forum: Script requests
Topic: Trim layers based on Opacity - save a lot of render time
Replies: 20
Views: 45667

Re: Trim layers based on Opacity - save a lot of render time

Thank you Salvador for the correction, I've corrected the script of my last post, so it is without the error now. AE does not render 3d layers that are outside of the camera's field of view (for example, behind the camera). However, it WILL render 3d layers that are in the field of view, but being o...
by kobyg
November 14th, 2008, 6:16 am
Forum: Script requests
Topic: Trim layers based on Opacity - save a lot of render time
Replies: 20
Views: 45667

Re: Trim layers based on Opacity - save a lot of render time

My mistake.
That's some leftover I forgot to delete... :oops:
Delete that line, and everything should work fine.
by kobyg
November 13th, 2008, 4:00 pm
Forum: Script requests
Topic: Trim layers based on Opacity - save a lot of render time
Replies: 20
Views: 45667

Re: Trim layers based on Opacity - save a lot of render time

I've changed the script that it will split layers if the opacity drops to zero and then raises back again, thus saving AE from rendering in that area. If needed, the script will split the layer multiple times, and will isolate every area of non-zero opacity in a duplicated layer. Salvador, I think t...
by kobyg
November 13th, 2008, 8:17 am
Forum: Script requests
Topic: Trim layers based on Opacity - save a lot of render time
Replies: 20
Views: 45667

Re: Trim layers based on Opacity - save a lot of render time

I'll try to do that when I return home in the evening.
by kobyg
November 13th, 2008, 5:56 am
Forum: Script requests
Topic: Trim layers based on Opacity - save a lot of render time
Replies: 20
Views: 45667

Re: Trim layers based on Opacity - save a lot of render time

Thanks Paul ! Salvador, First, if you change the line you've changed before: if (curLayer.opacity.valueAtTime(t,false)>0) to these 2 lines: if (curLayer.effect("Tint") != null) if (curLayer.effect("Tint")("Map White To").valueAtTime(t,false)[0]>0) You will no longer get...
by kobyg
November 12th, 2008, 5:16 pm
Forum: Script requests
Topic: Trim layers based on Opacity - save a lot of render time
Replies: 20
Views: 45667

Re: Trim layers based on Opacity - save a lot of render time

I'm glad you like my script, and use it ! :) I hope it saves you a lot of render time, like it saves me. salvazalvi, This can't be an expression, because expressions can't trim layers... And even if you write an expression that makes the layer invisible (fully transparent) but not trimmed in the tim...
by kobyg
November 10th, 2008, 3:26 pm
Forum: Script requests
Topic: camera revolving
Replies: 5
Views: 11535

Re: camera revolving

Instead of "time" in Mylenium's expression, add a Slider Control to a NULL object (or any other existing layer), pickwhip it's value to a variable t and multiply it by "Math.PI/180". Then use the Slider Control as the rotation angle in degrees: 0 - is the starting angle 360 - is ...
by kobyg
October 16th, 2008, 1:43 pm
Forum: Script requests
Topic: Objects follow with delay and damp!
Replies: 1
Views: 6654

Re: Objects follow with delay and damp!

Check out Dan Ebberts's "Elastic Connection" expression:
http://www.motionscript.com/design-guide/elastic.html
I think that's the effects you were looking for (or it can easily be changed to what you want)

Koby.
by kobyg
September 5th, 2008, 3:16 pm
Forum: Expression Discussion
Topic: displaying multiple images over time
Replies: 1
Views: 7098

Re: displaying multiple images over time

Try this expression for the scale property. It will expand and shrink groups of 3 pictures each time together, every second. T1=0.2; T2=0.2; i = Math.floor((index-1)/3); if (time<i+0.5) s = ease(time, i, i+T1, 0, 100); if (time>=i+0.5) s = ease(time, i+1-T2, i+1, 100, 0); [s,s] Where: T1 is the time...
by kobyg
September 4th, 2008, 10:37 pm
Forum: Expression Discussion
Topic: Move layer by marker Name
Replies: 6
Views: 13356

Re: Move layer by marker Name

What you should do, just like Dan wrote, is something like that: (I assumed that before you reach the first comment, you wanted the position to be the original position of the layer) snapSpeed = .2 location = [[644,858],[2685,210],[2098,834]]; m = thisComp.marker; //FIND THE CURRENT MARKER if (m.num...