how to converts absolute 3d coordinates to pov coordinates?

46 Views Asked by At

Given the coordinates of the planets in spaces, how can I convert them into a point-of-view coordinates, i.e. a person standing on Earth looking at the sky?

I am trying to write a software to simulate the motion of the planets from the view point of a person in a certain latitude/longitude on Earth when he looks at the sky.