Original Post
I am trying to calculate the three othrogonal camera axis but the only information I have is a Camera position and POI. Basically I know where the camera is and what its looking at so I can calculate the look-at vector, I now need to calculate the UP and RIGHT vectors based on this AT vector. This is to stop the camera image being distorted. I tried calculating the angles between the UP vector(0,1,0) and the AT vector to give me the vertical rotation angle around X and the same for the Right vector (1,0,0) and the AT, then rotating the camera matrices by these values but that doesn''t seemed to work, any suggestions?
Cheers