I am looking for some help on moving a point (which is a camera) along the surface of a 3D sphere. The point I am moving is my 'camera'(green in my diagram) and it is fixed looking at the target point(the red circle in my image). I have looked up 'arcball camera' but have not found any great resources to explain how to move a point along a surface in 3D. I want to make sure the orientation of the camera maintains its own local transform as well.
Quarternions seem to be the correct approach, but I am not sure, or perhaps do not understand if they solve my problem. I think there must be some other way to use spherical coordinates and vectors?
If it helps, I am doing this in C++ and OpenGL and using the GLM mathematics library. Though if I understand the math a bit more on the rotation, I think I can do the implemenetation.
