3D to 2D. projection etc

zeezick

New member
Joined
Nov 18, 2013
Messages
1
Hi, was wondering if anyone know and can help me out with the algorithm or whatever, on how to translate a 3d point in 3d space to a 2d position on a camera lense / screen?

What data I know:

x,y,z of the 3d point i wanna translate into 2d
camera x,y,z position
x,y position of the point that the camera is facing (not z tho)
distance from that point to the camera
yaw, pitch, roll, field of view of camera

origin is in the south west corner, x axis is east, y axis is north, z axis is height (start at 0 on the ground and then negative further from ground)
the yaw angle is 0 when facing south, and 90 when facing east
the pitch angle is 0 when looking straight forward, 90 when looking down in the ground, and -90 when looking up in the sky.

lots of appreciation if someone can show me how to calculate it
 
Top