Kevin R. McClure (mcclure++at++chris.gcs.redstone.army.mil)
Tue, 24 Jan 95 11:04:09 -0600
I am presently working on a missile program in which I
need to get boresight errors( the offset from the missile
seeker look direction to the center of the target ) from a
tracker to the missile 6DOF. I intended to do this by using
the GL viewing matrix, the projection matrix, and the target's
position, and caluclating from this the clip coordinates
( normalized between -1 and 1 ) for that target in my
viewing frustrum. This is the same manner in which scene culling
is performed, I think. The reason for doing it in this manner
is that Performer (in the pfDraw routine) knows where/whether to
draw an object in the scene ( based on culling using clip
coordinates). Shouldn't this work for tracking using object clip
coordinates also? The objective is to keep the target in the middle
of the scene window( clip coord. of ( 0, 0 ) ). Has anyone
accomplished this with Performer? This has been done using
Vision Works. Is Performer is doing something to the ModelView
matrix that I just do not understand? Any suggestions or help
would be appreciated.
Thanks in advance,
Kevin McClure
email: Kevin McClure<mcclure++at++chris.gcs.redstone.army.mil>
phone: (205) 842-7290
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:53 PDT