ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Please advice : how to convert point of interest of a camera to 2D on-screen X/ Y points, including the zoom of the camera ?

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Filip Vandueren
Re: Please advice : how to convert point of interest of a camera to 2D on-screen X/ Y points, including the zoom of the camera ?
on Jan 6, 2019 at 7:29:06 pm

Hi there,

This seems to work for me; even if the other camera is zooming:

cam=thisComp.layer("top_cam");
if (cam.hasParent) {
cam_poi = cam.parent.toWorld(cam.pointOfInterest);
} else {
cam_poi = cam.pointOfInterest;
}




Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]