I have a camera and I want to identify specific points in the world with it. I want it to be the more precise as it can be. I tried to convert to (x, y, z) using the answer in this: Lat Long to X Y Z position in JS .. not working. But the thing is, I don't know how to affect the camera angles (yaw, pitch, roll) with the curvature of the earth, so it gets kind of weird. So I was thinking of converting it to a flat 3D representation and convert altitude, latitude, and altitude without the curvature of the earth to (x, y, z) so that I can see all the points in front.
Is this a good idea? If not, how can I affect the angles of the camera depending on the position in the world so that I always have the right perspective from the camera?