Activity › Forums › Adobe After Effects Expressions › 3D corner pin
-
3D corner pin
Posted by Frank Brown on January 4, 2011 at 7:37 pmI`ve got three nulls and one triangle. I`d like to parent every coner to null and manipulate them it in 3d. I tried to experiment, but
corner pin is for rectangle, pupet doesn`t support 3d.
Correct me, if i`m not right.Please, help with this question.
I`m looking for solutions about month…Anil Kumar replied 10 years ago 4 Members · 7 Replies -
7 Replies
-
Kevin Camp
January 4, 2011 at 8:05 pmi think dan’s 3d corner pin expression will work for the puppet tool as well, you just need to apply it to the puppet pin positions.
so the puppet pin 1 position expression would look something like this:
target = thisComp.layer(“Null 1”); // this would be the null for pin 1
fromComp(target.toComp(target.anchorPoint));and the expression for pin 2:
target = thisComp.layer(“Null 2”); // the null for pin 2
fromComp(target.toComp(target.anchorPoint));etc…
Kevin Camp
Senior Designer
KCPQ, KMYQ & KRCW -
Kevin Camp
January 4, 2011 at 8:27 pmwell i just played around with that for a few minutes, and while the expression works well to have the pins follow the 3d nulls, the deformation doesn’t function the way i thought it might…
i thought the mesh could be set down to just a single triangle, but it seems to assume the layer to be square and requires a minimum of 2 triangles, which doesn’t work as expected.
Kevin Camp
Senior Designer
KCPQ, KMYQ & KRCW -
Frank Brown
January 4, 2011 at 8:50 pm -
Dan Fredley
January 4, 2011 at 9:36 pmI did a similar effect by using a solid and 3D corner pin putting 2 of the corner pin points on the same point therefore having the effect of 3 points.
Dan Fredley
Here’s a link:
https://dl.dropbox.com/u/234493/CreativeCow/3DcornerPin_ex.mov
-
Kevin Camp
January 4, 2011 at 10:21 pmyep, if your triangle layer(s) are just simple colors that should work (if they had detail of some sort, then that would get pinched at one vertex).
it still won’t produce a true 3d layer since corner pin is still just a 2d effect, but the expression will map a 3d positional array to the 2d comp viewer, so it will look correct from the comp viewers perspective.
Kevin Camp
Senior Designer
KCPQ, KMYQ & KRCW -
Frank Brown
January 4, 2011 at 11:04 pmThanks Dan. Solid was a key to solution. I also tried to put 2 of the corner pin points on the same point, but it only distorted triangle.
Kevin, I parented points into position and animated it. Finally it works.
Edge seams appeared on the one side, but this problem can be solved 🙂
Thanx! -
Anil Kumar
May 2, 2016 at 10:08 amHi
i think Dan create a method for 3d cornerpin.
i need a way to convert 4point corner pin data to 3d null.result same as cameraspace but using with 3d null no cornerpin.
i create my project with corner track and need to export it to my editing software but thats only support translate xyz and scale xyz and rotation xyz but not cornerpin data so i want to convert corner pin data to null 3d and use its transformation data to own use but no changes in cameraspace.
is this possible in after effects.
thanks in advance
Reply to this Discussion! Login or Sign Up
