If you set up a "look-at" view high above the aircraft, what some sims call a 
map view, you can't look straight down or the sim will flicker as the 
view-heading changes rapidly.  The solution is to have a z-offset of 
something non-zero, so the view is not exactly straight down.  Here's a map 
view.  Note a z-offset-m of -1.


  <view>
    <name>Map View</name>
    <type>lookat</type>
    <config>
      <from-model type="bool">false</from-model>
      <eye-lat-deg-path>/position/latitude-deg</eye-lat-deg-path>
      <eye-lon-deg-path>/position/longitude-deg</eye-lon-deg-path>
      <eye-alt-ft-path>/position/altitude-ft</eye-alt-ft-path>

      <at-model type="bool">true</at-model>

      <ground-level-nearplane-m type="double">10.0f</ground-level-nearplane-m>
      <default-field-of-view-deg 
type="double">55.0</default-field-of-view-deg>

      <x-offset-m type="double">1000</x-offset-m>
      <y-offset-m type="double">0</y-offset-m>
      <z-offset-m type="double">-1</z-offset-m>
    </config>
  </view>


Dave
-- 
****************************
David Culp
davidculp2[at]comcast.net
****************************

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to