>
> That looks good -- a single, configurable view manager would be better
> than a few ad-hoc, hard-coded ones.  You'll need to be able to specify
> a few more parameters (i.e. draw the 3D model, look towards the plane,
> reverse view direction [for external], etc.).
>
So i'm trying to reorganize the code first :-)
But there are som properties which I fully don't understand
    <view-mode type="string">pilot</view-mode>
for what is this, it drive only if cur_fdm_state is copied to cur_view_fdm, 
but I don't know any case when isn't used current fdm.

    <view>
      <offset-deg type="double">0.000000</offset-deg>
      <desc>pilot view</desc>
      <goal-offset-deg type="double">0.000000</goal-offset-deg>
      <tilt-deg type="double">0.000000</tilt-deg>
      <goal-tilt-deg type="double">0.000000</goal-tilt-deg>
      <pilot>
        <x-offset-m type="float">0.000000</x-offset-m>
        <y-offset-m type="float">0.000000</y-offset-m>
        <z-offset-m type="float">0.000000</z-offset-m>
      </pilot>
It is offset from CG? But only YASim set this values.

      <axes>
        <long type="double">0.000000</long>
        <lat type="double">0.000000</lat>
      </axes>
What is this ?

    </view>
    <view n="1">
      <desc>chase view</desc>
      <default>
        <pilot-offset>
          <heading-deg>180.0</heading-deg>
          <pitch-deg>0</pitch-deg>
          <radius-m>25</radius-m>
        </pilot-offset>
      </default>
      <current>
        <pilot-offset>
          <heading-deg type="float">180.000000</heading-deg>
          <pitch-deg type="float">0.000000</pitch-deg>
          <radius-m type="float">25.000000</radius-m>
        </pilot-offset>
      </current>
    </view>

What about this property system. The last I suggest doesn't allow to easy 
change via command line options.

<views>
 <pilot>
   <desc>pilot view</desc>
   <offset-deg>0</offset-deg>
   <tilt-deg>0</tilt-deg>
   <x-offset-m>0.0</x-offset-m>
   <y-offset-m>0.0</y-offset-m>
   <z-offset-m>0.0</z-offset-m>
   <inside>true</inside> <!-- if inside don't render current fdm 3d model -->
what more panel? hud?
   <current>hear is tree of current values</current>
 </pilot>
 <chase>
   <desc>chase view</desc>
   <heading-deg>180.0</heading-deg>
   <pitch-deg>0</pitch-deg>
   <radius-m>25</radius-m>
   <inside>false</inside>
what more panel? hud?
   <current>hear is tree of current values</current>
 </chase>
</views>

Regards,
Madr

-- 
      Martin Dressler

e-mail: [EMAIL PROTECTED]
http://www.musicabona.com/

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

Reply via email to