FORUMS: list search recent posts

Create Effect controller (position) to control 3D layer Position

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Eden Exposito
Create Effect controller (position) to control 3D layer Position
on Nov 28, 2012 at 5:25:48 pm

Hi!

I want create a layer effect to control 3d layer position like that http://d.pr/i/kxuK .I want maintain default layer position channel clean and add some expressions to this new position effect layer.

I had tried something like that "app.project.activeItem.layer(1).effect.addProperty("ADBE Slider Control");" this add a normal slider controller.....but i want 3D point controller and use it to control layer position

Somebody know?

Thanks


Return to posts index

Dan Ebberts
Re: Create Effect controller (position) to control 3D layer Position
on Nov 28, 2012 at 6:32:22 pm

Try this:

app.project.activeItem.layer(1).effect.addProperty("ADBE Point3D Control");

or this:

app.project.activeItem.layer(1).effect.addProperty("3D Point Control");



Dan



Return to posts index

Eden Exposito
Re: Create Effect controller (position) to control 3D layer Position
on Nov 28, 2012 at 6:40:24 pm

Wow Perfect Dan!

And for use those 3D point values to control position channel without add an expression in position channel? I want use this controller as position

Thanks!!


Return to posts index


Dan Ebberts
Re: Create Effect controller (position) to control 3D layer Position
on Nov 28, 2012 at 6:43:51 pm

I don't think there's any way to do that (except via an expression). Why don't you want to use an expression?

Dan



Return to posts index

Eden Exposito
Re: Create Effect controller (position) to control 3D layer Position
on Nov 28, 2012 at 6:51:02 pm

I think that is more clean add custom expressions in custom channels instead default layer channels in this preset (by Videocopilot) Seems that they are doing that i attach a screenshot http://d.pr/i/2O0X


Return to posts index

Dan Ebberts
Re: Create Effect controller (position) to control 3D layer Position
on Nov 28, 2012 at 7:03:20 pm

It looks like that's just the Transform effect, which they have renamed to FX_Transform. If you were willing to create your own plug-in version of the Transform effect I think you could (as of CS5.5) add a 3D point control, but that would be a lot to bite off.

Dan



Return to posts index


Eden Exposito
Re: Create Effect controller (position) to control 3D layer Position
on Nov 28, 2012 at 7:18:36 pm

wooh!. Well I only want add Transform effect with name changed too :P maybe this it's more simple that I thought to do. Do you know the script line to do it?

Thanks Dan for your rapid responses!!


Return to posts index

Dan Ebberts
Re: Create Effect controller (position) to control 3D layer Position
on Nov 28, 2012 at 7:49:47 pm

Try this:

var myEffect = app.project.activeItem.layer(1).effect.addProperty("ADBE Geometry2");
myEffect.name = "FX_Transform";


or this:


var myEffect = app.project.activeItem.layer(1).effect.addProperty("Transform");
myEffect.name = "FX_Transform";


Dan



Return to posts index

Eden Exposito
Re: Create Effect controller (position) to control 3D layer Position
on Nov 28, 2012 at 8:09:29 pm

Wow! Perfect.

How you know the property names "ADBE Geometry2" ... "transform".. etc? Where I can consult it? Seems exists a list of those effects ready to use..

Thanks!!


Return to posts index


Dan Ebberts
Re: Create Effect controller (position) to control 3D layer Position
on Nov 28, 2012 at 8:16:25 pm

Just Google "After Effects match names". That will lead you to a couple of lists. I always just use Jeff Almasol's wonderful rd_GimmePropPath script available at his site (redefinery.com_)

Dan



Return to posts index

Eden Exposito
Re: Create Effect controller (position) to control 3D layer Position
on Nov 28, 2012 at 9:53:21 pm

Great utility!!

As I expected

var myEffect = app.project.activeItem.layer(1).effect.addProperty("Transform");
myEffect.name = "Transform";

Give me a 2D dimension capabilities only (Adobe dont think about 3D layers?)

With GimmePropPath i can see that position is: layer(1).property("Transform").property("Position") but

var myEffect = app.project.activeItem.layer(1).effect.addProperty("Transform").property("Position");
myEffect.name = "Transform";

Dont work, maybe a property can not work like an effect?...or script line is wrong

other questionis if I can add specific parameter of Transform effect instead invoke all effect?

Thanks!


Return to posts index

Dan Ebberts
Re: Create Effect controller (position) to control 3D layer Position
on Nov 28, 2012 at 10:15:46 pm

No, you can't add or remove properties of an effect, or add only a subset of an effect's properties.

Dan



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]