Hi,
I'm using another piece of software to create a background animation to go behind my XSI animation. To do this I need to program that software's camera to perform the same motion (in particular orientation) as the XSI camera. Specifically the other software needs me to construct a view matrix to orient its camera at each frame as per the following:
observer.view.setmatrix(m)
Set the view matrix.
Parameters:
m New view matrix.
The matrix is interpreted as follows: m[1] is the viewing direction. m[2] and m[3] are the other space-axes. All three must be orthogonal normalised vectors (i.e. the dot product of m[i] and m[j] is 1 if i=j, and 0 if i~=j). When building a view matrix, you usually start by setting m[3] to the (normalised) viewing direction, then set the