Camera Zoom Expression

Hi All, I've been recently using a workflow I quite like to create hundreds or thousands of instances of a 3D object in AE, and I'd like to take some of the guesswork out of it with an expression for the camera.
Let me give you an example of the kind of shot I'm working on. 
Imagine you're pushing in towards the window of an office building when it opens and out of it starts pouring hundreds of paper airplanes.  My workflow is to do the following once I've got the office building and the airplanes built in AE.  Design the camera move, with one airplane which follows a typical path.  Then use the perspective changes on that airplane to create a 2D "card" which can be fed to a particle system which replicates the move hundreds of times with minor variations.
What I'm trying to make:  a set of expressions to use with the camera for the purposes of creating the 2D card.   What it needs to do is point the camera at the object and control zoom.  Ultimately it needs to keep the object's  orientation and apparent size constant through the shot, so that the only change in the object that you see is the change in perspective.
I've been eyeballing this in the past and it works relatively well, but I think if I nailed it down I could have a really useful system for creating apparently 3D particles.   Thanks in advance for any help!

Say your 3D object is called "target". It might be as simple as adding this to the camera's POI:
thisComp.layer("target").transform.position
and this to the Zoom:
p = thisComp.layer("target").transform.position;
length(p,transform.position);
It could get more complicated than that, depending on what you're doing exactly, but that's the basic idea.
Dan

Similar Messages

  • Camera zoom to certain spot

    Hello all I have a large image in in a smaller composition and I'm trying to zoom in on a certain spot but the camera zooms only on the center. I tried moving the anchor point but that didn't work. Is it possible to zoom in wherever you want to without position keyframes?

    If you're trying to animate the camera zoom control you have two options. First, have the camera orientation set to point of interest. Now the point of interest points to the center of the frame. Change the position of the point of interest and you change the framing of the zoom. It is difficult to see and animate this point. You can simplify the process by attaching the point of interest of the camera to a null using an expression. Simply hold down the Alt/option key and click the stopwatch variable for point of interest in the timeline and then drag the pickwhip to the position property of a 3D null.
    The second option is to have the camera orientation turned off and use the orientation or rotation controls to point the camera where you want it to look.
    Neither of these options is as easy as simply animating the position of the camera. Information on basic expressions, camera orientation and animating in 3D space is in the help files.

  • Camera zoom-out

    Hi.
    I'm using Motion 4 and I'm trying to achieve a camera zoom-out with some conditions. Here's a image to explain the size and the type of zoom I'm looking for. My background images have 3072x1536 pixels and my canvas in Motion is defined to be 1024x768 pixels.
    As you can see by the picture, I want to scale my camera view but I only want to do it through the upper right diagonal so that my bottom left point stays at the same place.
    I've already tried to change the camera between framing and viewpoint but If I got my layers appart in 3D space they all start to phase out because of the perspective. Considering a flat image on the background, how can I scale/zoom-out my camera to do the effect on the image?
    Thank you!

    Walk backwards, as there is no zoom in video mode. Either that, or look for an app that provides "video zoom".

  • I have footage that needs to be green screened. One of the cameras zoomed and panned, is there anyway to lock foreground and background so the motion is consistent

    I shot two cameras for green screen editing but one of the operators zoomed and panned so the key is good but when the camera zooms it looks like the subjects are floating, any idea how to synchronize the foreground to background
    Video Gal

    I think you will need the camera tracker effect in AfterEffects, It would be best to ask in their forum.

  • Lost all photos when updating camera zoom app

    hi there, i just updated camera zoom and lost all my photos both in camera and iphoto. when i go to the camera zoom app i can find the photos there, but there's blank screens on both camera and iphoto. anyone else have this problem?

    hi all,
    after losing access to iphone camera and iphoto when downloading upgrade of camera zoom 2, i just remembered to power off and restart the phone and everything is now back...

  • Lost the Trackball Camera Zoom Function

    Hole everyone,
    I recently did an upgrade on to my phone, which caused the Lost of the Trackball Camera Zoom Function. I was wondering how do I get it back??
    I have to manually zoom similar to how my old bb used to do by goin back n forth in the menu to click zoom in / zoom out. It was so much easier when the scroll bar was there and all you have to do is scroll up and down.
    Plz can anyone tell me how to get this back or if I have to upload an app to put it back
    Plz n Thank you

    Hey FieryT,
    Does the trackball still work? Or it just doesn't work when the Camera app is launched?
    If it works everywhere else, just not within the Camera, I would suggest a clean reload of the device software.
    Be sure to back up your device prior to the reload as all data will be wiped clean.
    Article KB11320 will show you how to do the clean reload.
    After the load completes, test the zoom on the camera before restoring any information.
    It is recommended to selectively restore data. KB10339 will walk you through this process.
    Thanks and have a great day!
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • How to make a crop looks like a camera zoom?

    If I crop a part of a video and want to make the crop looks like a camera zoom... is there a "zoom transition" to put before and after the crop part? Million thanks if someone can solve this technical question...

    Let's zoom in.
    Select the clip and move the playhead to where you want the zoom to start in the timeline.
    Activate the Crop function Shift-C and selec the middle crop function in the top left.
    Press the keyframe button.
    Move the playhead to where you want the zoom to end.
    Crop and reposition the selection as you like in the viewer.
    Click Done.

  • Camera zoom not working on 3g 3.0 upgrade

    i upgraded to 3.0 and then downloaded camera zoom app it do's not work apple said i to delete it and redownload it if that do's not work contact the maker he said they put a update out but apple needs to prove it frist . that can i do???

    Thanks for the pointer on the wired Mic, in all my efforts to make the application work with bluetooth, I completely forgot about the most obvious solution.
    Can't see the forest for the trees.
    As for writing in Caps, I have to admit I never really paid much attention to caps or no caps. I simply typed and if I hit the lock button I continued on.
    Your observation and willingness to share your observation with me is greatly appreciated. I honestly didn't know the implication or perception of typing in all Caps. It is not nor was it my intention to shout. Sorry.
    Again, thanks for taking the time to help
    Peg

  • My camera zooms in automatically when im using skype... 2009 macbook

    My camera zooms in automatically when im using skype... 2009 macbook anyone have any suggestions.. thank you

    Hi LynnAshley!
    You may want to try reinstalling iPhoto by deleting it from your Launchpad on your MacBook Pro, then re-downloading it from the Mac App Store:
    OS X Mavericks: Reinstall apps that came with your Mac
    http://support.apple.com/kb/PH14193
    You may also want to think about backing up your iPhoto Library first:
    iPhoto 9.5: Back up your iPhoto library
    http://support.apple.com/kb/PH15262
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Updated my iPhone 4 to new ios5 and now my camera zoom doesnt work

    Updated my iPhone 4 to new ios5 and now my camera zoom doesnt work!! 

    Tap Settings App>General>Reset, near bottom of list>Reset Nework Settings. See if this helps.

  • Is camera zoom with iphone 5 possible

    is camera zoom with iphone 5 possible?

    In iOS6.1.3 there is a slider in the bottom of the field (in Camera App), that is for zooming. You can also do it with two finger pinching.

  • Use camera zooms only in nested comps, not parent comp?

    hello
    I recently received some advice on a project where I was having some vector art pixelization problems during camera zooms--I was told that camera zooms should not be made in the main comp, but that instead, they should be made in the precomps (or nested comps) to avoid this pixelization problem. It seems to me that AE should be able to propogate clean, illustrator vector graphics during camera zooms, all the way up to a main comp, through the use of the "continuously rasterize" and "collapse transformation" options.. but perhaps this is not so?
    can anyone elaborate on this issue?
    thanks
    LML

    If vector images are set to continuously rasterize you can scale them or push the camera into them as far as you like with no problems. If certain effects have been applied to your eps or ai files they will be rasterized when imported into AE so they will behave exactly like a raster image. There's nothing you can do about that. Turning CR on or off will have no effect. If CR isn't fixing the pixelization issues then you've applied a layer effect somewhere in the chain that's causing the image to rasterize. Sometimes these problems can be fixed by pre-composing and doing the scaling in the pre-comp (layer effects). Sometimes they can't. Most of the time, if the problem is in the Illustrator file you can fix it by editing the original and removing the layer effects applied in Illustrator.
    You can change the antialiasing quality of vector graphics in the file interpretation options from faster to more accurate. You'll find it under More Options.

  • What should i do ???????????????bb 8520 camera zoom not working ......

    bb 8520 camera zoom not working ......

    Hello parthapratim
    Welcome to BlackBerry Support Community Forums
    Have you tried a battery pull restart if not then try it ,If that doesn't help you can try Reloading your device software to rule out any software issue.Try it it may help :
     KB11320 : How to perform a clean reload of the BlackBerry Device software using BlackBerry desktop software for windows.
    Prince
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Camera Zoom

    I am having some problems with the camera on my Curve.  It won't zoom, either with the trackball or volume keys.  Not sure what the problem is.  I used the zoom earlier on, but now it doesn't seem to work at all.  I'd appreciate any possible solutions...
    Solved!
    Go to Solution.

    Try a 30 second battery pull. 
    ~Lorrie~ Master of All Things Blackberry!

  • Video Camera Zoomed In Too Much

    I know there probably is not a fix for this but I just wanted to throw it out there. Why, when you switch from Camera to Video does it zoom in so much? I was trying to take video of my daughter in front of me and I couldn't back up enough where we were at the time to get enough of her in the frame.
    How annoying. Maybe someone has seen an App that uses the full frame of the camera lens?

    I'm wondering the same. It's quite an alteration over the still camera mode.

Maybe you are looking for