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

Camera and 3d layer positioning

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook
Eduardo CruzCamera and 3d layer positioning
by on May 4, 2012 at 4:09:22 am

Hi, i'm a total newb with expressions. I'm doing a sky replacement but i want the sky to stay the same distance away from the camera through out the timeline. the reason i made the sky a 3d layer is because there is some camera swivel and panning that doesn't look natural unless the sky is a 3d layer. I was thinking an expression that takes the z position of the camera and the z position of the layer, figures out the difference and maintains it regardless of where i move the camera. Parenting isn't giving me the effect i want. thanks


Return to posts index
Reply   Like  

Eduardo CruzRe: Camera and 3d layer positioning
by on May 4, 2012 at 6:16:49 am

well, i found a solution that works pretty well, any other ways to do this?

NewZ=this_comp.layer("Camera 1");
[position[0],position[1],NewZ.position[2]+"the initial difference"];


Return to posts index
Reply   Like  

Jeff BobbingtonRe: Camera and 3d layer positioning
by on May 4, 2012 at 10:39:19 am

I would have thought separating the dimensions of positions of each, then parenting the Z axis of the sky to the Z axis of the camera would have worked.


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]