FORUMS TUTORIALS FEATURES VIDEOS PODCASTS EVENTS SERVICES NEWSLETTER NEWS BLOGS
 ADOBE AFTER EFFECTS: Home Forum Basics Expressions Tutorials Podcasts AE Techniques Creative Cloud Debate FAQ

# Turning Corner Pin into 3d coordinates

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
 Turning Corner Pin into 3d coordinates by Nicolas Plaire on Feb 26, 2012 at 5:32:03 am

Hi!

Probably a long shot, but I was wondering if there would be a way to turn the corner pin effect into 3d coordinates to have a solid moving in z space exactly the same way a solid is moving in the fake 3d space of corner pin?

Thanks

 Re: Turning Corner Pin into 3d coordinatesby Dan Ebberts on Feb 26, 2012 at 4:43:58 pm

Theoretically, you should be able to do it with just three corners. You know that one side is the solid's width and the other is the height and that the actual angle between the sides is 90 degrees. Given that, and the coordinates of the three corners projected onto the comp view should be enough (I think) to calculate the position and orientation of the solid. I don't have the 3D transform chops to do it though.

Dan

 Re: Turning Corner Pin into 3d coordinatesby Nicolas Plaire on Feb 26, 2012 at 7:58:07 pm

Thanks!

I'll look into it, but I don't think it's worth the pain of having to find out the trigonometry for an idea that could have been cool, but next time...

 Re: Turning Corner Pin into 3d coordinatesby Chris Wright on Feb 27, 2012 at 3:12:53 am

Create 3D depth from 2D planar tracking using corner pin into quatra points in 3d space. bam?

http://www.videocopilot.net/tutorials/magic_tracking/