From: Christopher D. Johnson (cubicwts++at++excite.com)
Date: 02/06/2006 10:47:46
Greetings all. I have a Performer based application in which I have 2 video channels that use the same (x,y,z) coordinate as their origin but vector off ("look") in different directions. Each camera has the capability to change it's yaw, pitch, and roll. I am now trying to "tie" the cameras together in such a way that when camera A has a change in yaw, pitch, and/or roll, camera B keeps it's angular relationship with A. Here is an example of what I am trying to do:
Camera A is travelling North at 10000 "feet"(Yaw = 0, Pitch = 0, Roll = 0), and its location in world coordinates is (0,0,10000). Camera B always has the same (x,y,z) coordinate at camera A, so it is also at (0,0,10000). However, it is looking northeast and is pitched down 5 degrees (Yaw = 45, Pitch = -5.0, Roll = 0.0). Camera B is "stiff armed" to camera A. So if camera A rolls camera B's YPR values should change such that its relationship to camera A stays the same as it was to begin with. Using transform matrices and vector mathematics should get me the results I want, but I am a novice at this type of transform. Could someone give me any pointers or point me in the direction of an algorithm that would give me the desired effect? Thank you.
Christopher D. Johnson
AV-8B Harrier II Simulators
ISEO Support Team
Cherry Point, NC
252-466-4542
252-466-4538
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
This archive was generated by hypermail 2b29 : Mon Feb 06 2006 - 10:47:48 PST