In python, how do I calculate/find/retrieve the XYZ vector from the location of the camera and through the midpoint of the camera view?
In the example below the camera is at location (7.4, -6.9, 5.0) and points at the origin (0,0,0); therefore the vector should be (-7.4, +6.9, -5.0)
I suspect the camera's location and rotation parameters hold the answer, but the I can't figure out the calculations. For example, in moving the origin there is clearly movement along the Y axis, but the rotation on the Y-axis is zero so I don't know how to do it.