view vector -> hpr

New Message Reply Date view Thread view Subject view Author view

jason allen bryan (jbryan++at++cis.ohio-state.edu)
Wed, 13 Oct 1999 18:15:04 -0400 (EDT)


anyone-

given three vectors representing the view direction, the up vector,
and the right vector, how does one convert to hpr?
specifically, i know how an object is oriented in a given coordinate
system by the aforementioned orthogonal vectors. but i need to
convert to hpr so performer can properly orient the object.
i tried searching the archives manually with no luck, and i'm not sure if
it's possible to coax pfMatrix into performing the desired transformation.
has anyone conquered this before?

thanks in advance!

Jason Bryan
Ohio Supercomputer Center
www.osc.edu


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Oct 13 1999 - 15:15:25 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.