Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Mathematical relationship to control camera heading

Mathematical relationship to control camera heading

Mathematical relationship to control camera heading

Hi everyone, I want to find a mathematical relationship between my head direction and the direction of a camera placed at a distance.  The objective is to make the camera heading to same point where my head is looking at. Both my head and the camera are in the horizontal plane and the motion will be Pan (yaw) motion. Some type of reference transformation has to be applied but I don't know how to find the relation of my heading verses the camera heading.

RE: Mathematical relationship to control camera heading


If I think I am visualizing the problem correctly, it is a simple problem of trigonometry.  If the camera is in front of you by "y" meters in the vertical direction, your head angle will create a horizontal point at x = tan(head angle)/y.  If the point on this horizontal line is what you are looking at, then your camera angle will be 90 deg from the centerline.  At any point past this you will need more information.  You will need to know the vertical distance beyond the camera or the staightline distance past the point x along the Head Angle line.  You will have a simliar triangle, that you can then use sin law or cosine law to figure out your camera angle.  I think this is what you are looking for.



Richard Nornhold, PE

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close