Re: Transformation Matrix

New Message Reply Date view Thread view Subject view Author view

Marcus (Marcus++at++multigenuunet.UU.NET)
Mon, 19 Dec 1994 18:20:00 PST


        Reply to: RE>Transformation Matrix
>From: "Tracy Hunt" <hunt++at++gts.elan.af.mil>
>Message-Id: <9412191037.ZM3588++at++gts.elan.af.mil>
>Date: Mon, 19 Dec 1994 10:37:43 -0800
>To: info-performer++at++sgi.com
>Subject: Transformation Matrix
>
>Question:
>
>I have converted DMA data using MultiGen into terrain files with
>specific lats and longs or XY position. I want to place these files
>in their exact XY locations using pfNewSCS. How do I create the
>transformation matrix with the exact coordinates necessary for proper
>placement? Should I use a bounding sphere or is there another way
>without enter the coordinates by hand? I'm running Performer 1.2
>on an Onyx with 5.2.
>
>Tracy Hunt

The MultiGen Terrain option stores the lat/long projection
information in the database header record. You can get this
data from the OpenFlight loader via the loader callback facility.
See the loader readme file (i.e. README.SS.R14_1) or The MultiGen
Newsletter vol 1, issues 2 and 3 for details on how to setup the
loader callback. Look in pfflt.h for the HEADERcb structure
definition, wherein the data you want is packaged and passed
back to your loader callback function.

Also:

1. The OpenFlight loader converts everything into meters.
2. Consider handling the non-uniform lat/long scale in your
   pfSCS too.

Regards,
Marcus Barnes, Member Technical Staff
MultiGen Inc., 1884 The Alameda, San Jose CA, 95126
PH: (408) 261 4118 FX: (408) 247 4329
EMAIL: multigen!marcus++at++uunet.UU.NET


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:45 PDT

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