From: Serge Kourdakov (serge++at++vrtainment.com)
Date: 08/29/2002 08:00:06
Sorry my mail system reports delivery error and I resend a message. sorry
if there will be two replies from me ...
after mail system will recover ....
Hi Ken
you wrote.
-----------------------------------------------------
Given psi,theta and phi (in WGS84 coords) and a local lat/lon, does
anybody have a good algorithm for calculating the flatearth HPR for
performer? I've searched the archives and found several references on
converting wgs and lat,lon to xyz, but I haven't been able to find any
references to converting the orientation. Thanks.
------------------------------------------------------
My idea is that though angles could be different
http://mathworld.wolfram.com/EulerAngles.html
or
http://users.ece.gatech.edu/~slabaugh/personal/research/euler/euler.pdf
etc ....
the resulting cosine direction matrix should be the same (though just maybe
I'm wrong ..).
Thus you might compute cosine direction matrix in one set of angles .
Then extract angles in another way to present rotations ...
So take a look at pdf for some hints how to extract angles for the matrix..
And the way might be such as - using your psi,theta and phi you get a
matrix as described in
http://users.ece.gatech.edu/~slabaugh/personal/research/euler/euler.pdf
then using procedure like described in this doc extract angles for Performer
rotation matrix....
Regards
Serge
http://www.vrtainment.de
This archive was generated by hypermail 2b29 : Thu Aug 29 2002 - 07:55:39 PDT