Hyper,
Ok I need your help again. I thought everything was great until I started creating more complex paths or changing pitch. Then I realized my move wasn’t working properly. I think this is because it is a factor of the camera.direction. For instance, if I face the camera downward at 90 degrees toward the earth, the camera does not move. I think what I need is to incrementally rotate along the Great Circle between coordinates. This way I can move the camera between points independently of how I set the camera heading, pitch and roll much like a camera on a satellite orbiting the earth. But I just don’t have a handle on all this spatial math yet and my brain is getting tired. Perhaps you can give me another hand here.
I want to move from Point A to Point B where A and B are coordinates on the Earth surface. Along the way I want to be able to control the camera to look left/right, up/down and move it up and down the normal. I think I have a handle on how to implement the camera controls. However, I am unable to figure out how to rotate the camera along the Great Circle incrementally between A and B. As you have seen I have set my increments to be 1 meter or some multiple of that, so I think I need to compute an angle that is equal to an arc of that length as well as what axis on which to rotate. The EllipsoidGeodesic gives me the geodesic I need but I can’t figure out how to rotate along it.
I appreciate a little nudge here.
Thanks!
Joe