Jan A. Barglowski (jan++at++archimedes.chinalake.navy.mil)
Wed, 11 May 1994 12:24:20 -0700 (PDT)
The way I've been going about it is: take the position of the model and
subtract the position of the camera. This gives a vector from the camera
to the model. The problem now is getting this vector into a hpr form so
that I can use the pfChanView function to set the viewing direction.
Am I going about this wrong? I've looked in the myriad of Performer
function calls to see if there is a conversion from vector to hpr, but
can't find any. Is there a "Performer way" that does all this
automatically?
Thanks in advance!
jan.
Jan Anthony Barglowski Phone: (619) 927-1057
Computer Dude Internet: jan++at++archimedes.nwc.navy.mil
Visualization Lab Packet: SYSOP++at++WA6YBN.#SOCA.CA.US.NA
Naval Air Warfare Center kc6uth++at++kc6uth.ampr.org
-Weapons Division [44.17.2.6]
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:16 PDT