Search found 128 matches

by kobyg
October 14th, 2011, 12:04 pm
Forum: Expressions Library
Topic: Cam-Distance
Replies: 1
Views: 20072

Re: Cam-Distance

Hi atropper, I hope this is still relevant for you... This expression works fine for me! You should give this expression to the Scale propery. Make also sure you have: 1. a camera in the comp 2. your layer (the one you've given this expression to) is a 3D layer. 4. you are viewing the comp through t...
by kobyg
July 9th, 2010, 9:14 am
Forum: Expressions Library
Topic: PhotoFlow like Effect
Replies: 22
Views: 106882

Re: PhotoFlow like Effect

Hi Jim, You could achieve slower animations by spacing the keyframes of the "Slider Control" in the control layer further from one another and with closer values (for example: put at time 0 value of -40, and at time 16sec value of 0, and you will get movement with a cycle time of about 8 s...
by kobyg
June 26th, 2010, 2:15 pm
Forum: Expression Discussion
Topic: Calculate angle between Object and Camera in 3D
Replies: 7
Views: 20450

Re: Calculate angle between Object and Camera in 3D

I didn't quite understand what you want to do with the Opacity,
but you could use the lookAt and length expressions the same as I used them in the last expression...
But you have to create a single value out of the lookAt 3d vector,
and that depends on what you want to achieve...

Koby
by kobyg
June 11th, 2010, 1:48 pm
Forum: Script requests
Topic: Train Chain join
Replies: 1
Views: 7668

Re: Train Chain join

In general what you are looking for is a very complicated expression... However, if you limit the movement of the train to constant speed, that could be much easier! Use "Rove Across Time" keyframes in the leader position, in order to achieve a constant speed and then use an expression lik...
by kobyg
June 10th, 2010, 5:37 am
Forum: Expressions Library
Topic: Automated Podium
Replies: 1
Views: 20678

Re: Automated Podium

You could use the score as your Y-position. That would sort automatically higher score higher. you could normalize it to the scale you want (if for example you know the score is from 0 to 100 you could divide by 100 to have a number between 0 and 1, and then multiply to have it in pixels for the Y-p...
by kobyg
April 23rd, 2010, 3:37 pm
Forum: Expression Discussion
Topic: randomize only the y axis orientation on a 3d layer
Replies: 4
Views: 13637

Re: randomize only the y axis orientation on a 3d layer

In that case, you could use something like this for the orientation expression:

w = wiggle(0.5,180);
[value[0], w[1], value[2]]

Koby.
by kobyg
April 23rd, 2010, 1:34 pm
Forum: Expression Discussion
Topic: randomize only the y axis orientation on a 3d layer
Replies: 4
Views: 13637

Re: randomize only the y axis orientation on a 3d layer

If you want a random Y rotation, you could add a wiggle expression to the Y-Rotation property, something like:
wiggle(0.5,180)
the first argument (0.5) controls the speed of the randomness and the second argument (180) controls the min/max possible change value.

Koby
by kobyg
March 31st, 2010, 3:32 pm
Forum: Expression Discussion
Topic: Extract GPS data from Video File
Replies: 6
Views: 18306

Re: Extract GPS data from Video File

Thanks Lloyd!
An example is what I was looking for!
I'll certainly check out your scripts.
And I will let you know if I come with something nice and benefitial to others.

Thanks again!
Koby.
by kobyg
March 29th, 2010, 1:44 pm
Forum: Expression Discussion
Topic: Extract GPS data from Video File
Replies: 6
Views: 18306

Re: Extract GPS data from Video File

Many thanks Dan!
I will check those links, and if I come up with a script that can help others I will post it here.

Thanks again,
Koby.
by kobyg
March 29th, 2010, 9:30 am
Forum: Expression Discussion
Topic: Extract GPS data from Video File
Replies: 6
Views: 18306

Re: Extract GPS data from Video File

Thanks Dan.
Could you point me to some example of a script reading the metadata?
Is the EXIF is the same as metadata...?

Thanks,
Koby.
by kobyg
March 29th, 2010, 3:13 am
Forum: Expression Discussion
Topic: Extract GPS data from Video File
Replies: 6
Views: 18306

Extract GPS data from Video File

Hi, My Sony HD camera has a built-in GPS and it stores the GPS location in the Video file. Can I extract that data using an expression or a script ? For still images, the camera saves GPS data in the EXIF properties of the JPEG file (then uploading pictures to Picasa recognizes this GPS data and aut...
by kobyg
January 24th, 2010, 3:26 am
Forum: Expression Discussion
Topic: time*(slider value) trouble
Replies: 1
Views: 7958

Re: time*(slider value) trouble

Checkout this post, I think this is what you wanted:
http://www.aenhancers.com/viewtopic.php?f=6&t=1302
Koby.

p.s.: What is called there "acceeration" is actualy the "speed" you were referring.
by kobyg
January 5th, 2010, 2:46 pm
Forum: Expression Discussion
Topic: CC Sphere camera-rotation "Bug"
Replies: 4
Views: 14360

Re: CC Sphere camera-rotation "Bug"

I saw it. It's not the expression's fault... It's not a bug. The problem is the orientation of the camera in respect to it's anchor point. That is what's making the twist. If you'll put a 3d solid below the sphere you will see that this solid would do the same weird twist rotation... You could also ...
by kobyg
January 5th, 2010, 12:52 pm
Forum: Expression Discussion
Topic: CC Sphere camera-rotation "Bug"
Replies: 4
Views: 14360

Re: CC Sphere camera-rotation "Bug"

Can't understand your problem...
Could you post a project file showing the problem ?

Koby.
by kobyg
January 5th, 2010, 9:57 am
Forum: Scripts Discussion
Topic: Effect disable
Replies: 3
Views: 8595

Re: Effect disable

Try this:
effect.expressionEnabled = false;