logo
ホーム •  フォーラム •  日本語wikiトップ •  アカウント情報 •  サイト内検索 •  新規登録
 ログイン
ユーザー名:

パスワード:


パスワード紛失

新規登録
 メインメニュー
 米国サイト
 オンライン状況
65 人のユーザが現在オンラインです。 (8 人のユーザが フォーラム を参照しています。)

登録ユーザ: 0
ゲスト: 65

もっと...

Re: FlightGear用の気泡六分儀

このトピックの投稿一覧へ

なし Re: FlightGear用の気泡六分儀

msg# 1.1.1.1.1.1
depth:
5
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2008-10-6 1:51 | 最終変更
toshi  長老   投稿数: 1534
toshiです。

sambarさん、ご指摘ありがとうございました。
確かに、FlightGear v1.0.0 では簡単に動かすことはできなさそうですね。
工夫して動かす方法がもし見つかったらまたご報告します。

また、hideさんの最新投稿「天文航法でロビンソンの島へ(前編) 」を拝見しました。

マウスの視点移動時の分解能については、$FG_ROOT/mice.xml を改造することで、一応微調整ができるようになります。
ただし、私が試した方法にはちょっと癖があります。

Altキーを押しながらマウスを動かしたときの視点方向の変化量が1/10になるよう設定しようとしたのですが、実際には、Altキーを押しながら他の視点関連のキー(v/V やx/Xなど)を押したときに変化量が1/10になる、という挙動を示します。

ちょっと使いにくい方法ですが、もしよろしければお試しください。

ちなみに、操縦に関するマウス操作の分解能については、tetsuさんがかなり昔にお書きになった「マウスの操縦桿感度設定について」をご参照ください。

以下、$FG_ROOT/mice.xml の修正点を赤字で示します。

mice.xml 214行目付近 - x軸の設定
   <!-- Mouse left/right motion -->
   <x-axis>

    <!-- No buttons pressed: rotate the view left or right -->
    <binding>
     <condition>
      <and>
       <not>
        <property>/devices/status/mice/mouse[0]/button[0]</property>
       </not>
       <not>
        <property>/devices/status/mice/mouse[0]/button[1]</property>
       </not>
       <not>
       <property>/devices/status/keyboard/alt</property>
       </not>
      </and>
     </condition>
     <command>property-adjust</command>
     <property>/sim/current-view/heading-offset-deg</property>
     <factor type="double">-360</factor>
     <min type="double">0</min>
     <max type="double">360</max>
     <wrap type="bool">true</wrap>
    </binding>

    <!-- Alt pressed: rotate the view left or right precisely -->
    <binding>
     <condition>
      <and>
       <not>
        <property>/devices/status/mice/mouse[0]/button[0]</property>
       </not>
       <not>
        <property>/devices/status/mice/mouse[0]/button[1]</property>
       </not>
       <property>/devices/status/keyboard/alt</property>
      </and>
     </condition>
     <command>property-adjust</command>
     <property>/sim/current-view/heading-offset-deg</property>
     <factor type="double">-36</factor>
     <min type="double">0</min>
     <max type="double">360</max>
     <wrap type="bool">true</wrap>
    </binding>


mice.xml 256行目付近 - y軸の設定
   <!-- Mouse up/down motion -->
   <y-axis>

    <!-- No buttons pressed: tilt the view up and down -->
    <binding>
     <condition>
      <and>
       <not>
        <property>/devices/status/mice/mouse[0]/button[0]</property>
       </not>
       <not>
        <property>/devices/status/mice/mouse[0]/button[1]</property>
       </not>
       <not>
       <property>/devices/status/keyboard/alt</property>
       </not>
      </and>
     </condition>
     <command>property-adjust</command>
     <property>/sim/current-view/pitch-offset-deg</property>
     <factor type="double">-180</factor>
     <min type="double">-90</min>
     <max type="double">90</max>
     <wrap type="bool">false</wrap>
    </binding>

    <!-- Alt pressed: tilt the view up and down precisely -->
    <binding>
     <condition>
      <and>
       <not>
        <property>/devices/status/mice/mouse[0]/button[0]</property>
       </not>
       <not>
        <property>/devices/status/mice/mouse[0]/button[1]</property>
       </not>
       <property>/devices/status/keyboard/alt</property>
      </and>
     </condition>
     <command>property-adjust</command>
     <property>/sim/current-view/pitch-offset-deg</property>
     <factor type="double">-18</factor>
     <min type="double">-90</min>
     <max type="double">90</max>
     <wrap type="bool">false</wrap>
    </binding>
factorタグの値を変えると、もっと細かくすることができます。
投票数:32 平均点:5.00

投稿ツリー

  条件検索へ


 検索

高度な検索
 新しい登録ユーザ
fb188steL1 2024-7-27
ecykowo 2024-7-27
apibosuh 2024-7-27
ytyqowy 2024-7-27
edylycu 2024-7-27
ci888staxD 2024-7-27
iwocoloji 2024-7-27
yqixygis 2024-7-27
statesof 2024-7-26
ivibyzi 2024-7-26
 最近の画像(画像付)
自作11機目 F/A-18... (2022-5-27)
自作11機目 F/A-18...
飛んでみる八尾空港 (2022-4-10)
飛んでみる八尾空港
作ってみる八尾空港 (2022-4-2)
作ってみる八尾空港
F117 nighthawk (2021-5-19)
F117 nighthawk
HiTouchさん宛の画像... (2020-11-8)
HiTouchさん宛の画像...
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Theme designed by OCEAN-NET