On Mon 4. March 2002 18:32, you wrote:
> David Findlay wrote:
> > I started FGFS with the property enabling the virtual cockpit, then
> > used right click twice to get to the mode where you can move the mouse
> > to move the viewpoint. The panel would stay at the bottom of the
> > screen when I moved my mouse downwards.
>
> Ah, I see. David found this too. The problem here is that the mouse
> scrolling code sets the view/offset-deg property, but not the
> view/pitch-deg one. The code there is old, and seemingly obscure.
> It's computing quats and matrices that no one appears to use. :) I'll
> get a patch ready for the mouse scrolling soon.
Thera are a lot of strange things in view code. It is initialized here and
there. There is also problem with lat,lon positions. The code is too oriented
towards FDM position not to viewer position. It's not problem with current
view modes, but it could be problem with tower (or ground :) view.
I will try to rewrite the view code from scratch, but with some reuse of code
in next month. I want to get to code where you can specify as much as you
want of view modes.
<sim>
<views>
<view>
<type>pilot</type>
</view>
<view>
<type>chase</type>
<default>
<radius-m>25</radius-m>
</default>
</view>
<view>
<type>chase</type>
<default>
<radius-m>100</radius-m>
</default>
</view>
<view>
<type>ground</type>
<default>
<left-m>5</left-m>
<before-m>3</before-m>
<agl-m>2</agl-m>
</default>
</view>
</views>
</sim>
I don't know if it is above my programing skills :-(
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