I have a .ma file with a Maya camera and a bunch of nulls. I have imported this into After Effects.
I want to turn the 3D position points of the nulls relative to the camera into 2D position points based on the Comp window position.
Is there a way to do this with an expression?
Thanks
Convert 3D null position points to 2D, with an expression?
-
- Posts: 320
- Joined: June 26th, 2004, 10:01 am
- Location: Folsom, CA
- Contact:
I general, it would look like this:
L = thisComp.layer("Null 1");
L.toComp(L.anchorPoint)
Dan
L = thisComp.layer("Null 1");
L.toComp(L.anchorPoint)
Dan
Could anyone clarify this one? I'd love to use a 3d null from c4d that I set up as 'the sun'
Use that to drive the positional values of a 2 dimensional item such as the position of Knoll Lens Flare.
I tried putting this on a new null and targeting the 3d null (thisComp.layer("sun"));
But it errors out. Must be more to it.
~ noob
// jayse
Use that to drive the positional values of a 2 dimensional item such as the position of Knoll Lens Flare.
I tried putting this on a new null and targeting the 3d null (thisComp.layer("sun"));
But it errors out. Must be more to it.
~ noob
// jayse
-
- Posts: 320
- Joined: June 26th, 2004, 10:01 am
- Location: Folsom, CA
- Contact:
You would apply the expression to the effect point (assuming the effect is applied to a comp-sized 2D layer).
Dan
Dan
That's awesome Dan - thanks so much - this will become one of my most used expressions!