So far this is the question... and I'll try to explain this the best I can.
Below I have a pic of the problem , the teal line is the camera. The red and black lines are the camera look at vectors (respectively the camera_vector_initial and camera_vector_final). The obj_final is the black circle where the camera will look at with this vector camera_vector_final; the red circle is obviously the initial location with the camera vector camera_vector_initial. What I want to do is interpolate the camera look at positions between the red and black circle indicated by the teal arrow.
Code: Select all
camera_vector_initial = (cam->getTarget() - cam->getPosition()).normalize();
camera_vector_final = (obj_final - cam->getPosition()).normalize();