I am interested in implemeting a fly-through function for a 3D image within OpenGL for use within C#.
A fly-through is an effect created by moving the camera through three-dimensional space, giving the impression that you are flying along with the camera as if in an aircraft. You can fly through regions of a scene that might be otherwise obscured by objects in the scene or you can fly by a scene by keeping the camera focused on a particular point.
To accomplish these effects, move a camera along a particular path, the x-axis for example, in a series of steps. To produce a fly-through, move both the camera position and the camera target at the same time.
Assuming that I have a representation of an object as a set of (x, y, z) coordinates, the ability to fully rotate this object along each axis (I am using a standard TrackBall algorithm for this), what extra computations do I need to achieve a fly-though?
Initially I thought a combination of zoom and rotation would function, however a similar function within Adobe changes the camera AND the target properties simultaneously. Zoom and rotation only alters the camera parameters (x, y, z). If I could work out the relationship between the camera and the target, and map onto some OpenGL functions, that would be a starting point I think.