Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expression for Camera Z-Rotation

  • Expression for Camera Z-Rotation

    Posted by Sebastian Martinez on April 10, 2008 at 8:11 am

    Hi,
    I’ve got a very difficult problem to solve.

    What it’s about:
    I’m moving a non-parented camera over a map in various directions and hights.
    The problem is that the camera is not keeping it’s angle to the landscape. So when it moves on the opposite side of the map everything is up-side-down.

    Parenting to a null is not the solution because other expression between camera and objects don’t work at all. Auto-orienting off on the camera isn’t the solution either.

    The way I’m solving the problem right now is by Brut Force: I created a layer with concentric circles that is moving just in X and Y space with the camera. With these circles I can tune the Z-Rotation of the camera – when they are right in the middle of the camerafield the camera is stable.

    But this costs a load of time and is to fuzzy by far for my taste!

    So I wonder if there might be a expression that keeps controle over the Z-Rotation of a camera in that way.

    I’m a forward starter on expressions but here I reach my limits. I guess I was missing during trigonometrie lessons 😉

    I’m thankful for any help from you guys! Chears,
    Sebastian

    Sebastian Martinez

    Sebastian Martinez replied 18 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • Trent Armstrong

    April 17, 2008 at 9:59 pm

    Hi!

    I’m not sure I completely understand what your problem is. Can you elaborate a little? Or post a clip of the issue online somewhere?

    Thanks,
    Trent

    Trent Armstrong – Creative Cow Leader
    https://www.dallasaeug.com

  • Sebastian Martinez

    April 18, 2008 at 9:09 am

    Hey Trent,
    thank you for replying to my post! I just discovered that you posted so I hope you can still respond …

    Alright, I’m animating a camera flying over a google-like map while countries, borders and traveling routs of ancient kings and their armies and sorts of stuff blend in. So the flying camera should look kind of real too. Most of the time it does but other it doesn’t: For example the camera travels around a spot in a circle. Untouching the Z-Rotation of the camera the entirely map rotates upsidedown in the cameras viewer. What doesn’t look real at all (when I walk around a spot nothing turns upsidedown).

    So far I adjusted that “misbehaviour” of the camera by the Z-Rotaion with a layer of circles that move in X and Y coordinates beneath the camera (if the circles fit symmetrically in the viewer the camera is stable – a good working brute force trick!).

    But that way it’s too tedious if you change the path or something of the camera. And it’s not accurate at all in some situations.

    So that was the reason I was wondering about a expression that turns the Z-Rotation in that way did it to make the animation look right.

    Auto otrientation off make no use, parenting the camera to a null ether because other expressions aren’t working anymore.

    Trent, I hope I could make it mor clear now what my problem is. It would be more than greatful if there is a solution you might know of.

    Ta,
    Sebastian

    Sebastian Martinez

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy