Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE AFTER EFFECTS:HomeForumBasicsExpressionsTutorialsPodcastsAE TechniquesTrainingCreative Cloud DebateFAQ

Triangulate/find the center of 3 x 3d points in After Effects?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook
Jordan ShipmanTriangulate/find the center of 3 x 3d points in After Effects?
by on Jun 15, 2012 at 10:58:53 pm

Is there a way to find the center and/or triangulate 3 x 3d points in after effects and create a new 3d null at that position? Thanks for any help!


Return to posts index
Reply   Like  

Dan EbbertsRe: Triangulate/find the center of 3 x 3d points in After Effects?
by on Jun 16, 2012 at 1:57:09 am

I think this works:

p1 = thisComp.layer("3D Layer 1").transform.position;
p2 = thisComp.layer("3D Layer 2").transform.position;
p3 = thisComp.layer("3D Layer 3").transform.position;
(p1 + p2 + p3)/3


Dan



Return to posts index
Reply   Like  

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook


FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]