At 2/23/02, you wrote:
>* [EMAIL PROTECTED] (Michael Selig) [2002.02.23 13:32]:
> > At 2/23/02, you wrote:
> > >* [EMAIL PROTECTED] (Boslough, Mark B) [2002.02.22 18:40]:
> > >> Is there no longer a tower view option? 0.7.8 could toggle from
> > >> pilot to chase to tower view, I believe. 0.7.9 does not seem to
> > >> have this feature.
> > >
> > >I think you're mistaken. FlightGear has never had a tower view.
> >
> > In my 0.7.8 main.cxx I have this snippet of code:
> >
> > // Tower View
> > FGViewerLookAt *tower_view =
> > (FGViewerLookAt *)globals->get_viewmgr()->get_view( 2 );
> >
> > tower_view->set_view_forward( pilot_view->get_view_pos() );
> >
> > if (!tower_view_initialized) {
> > tower_view->set_geod_view_pos( cur_fdm_state->get_Longitude(),
> >
> cur_fdm_state->get_Lat_geocentric(),
> >
> (cur_fdm_state->get_Altitude()+200)*
> > SG_FEET_TO_METER );
> > tower_view->set_sea_level_radius( cur_fdm_state->
> > get_Sea_level_radius()*
> > SG_FEET_TO_METER );
> > tower_view->set_pilot_offset( npo[0], npo[1], npo[2] );
> > tower_view->set_view_up( wup );
> > tower_view_initialized = true;
> > }
> >
> > ... and I can toggle the 'v' key to go from cockpit, to external rear
> view,
> > to a tower view (when flying at the default airport) --- works great. Is
> > this not part of the standard fgfs? I mentioned to Mark that we have this
> > working in our fgfs 0.7.8. I don't see this same piece of code in 0.7.9,
> > however.
>
>Michael,
>You had to have put that there yourself because that was never committed
>to CVS (I know...I wrote it). It works, but it's a major hack and
>shouldn't be in the official FG source (IMHO).
>
>Someone needs to rewrite the viewer code to allow viewpoints to be added
>at runtime; then, we can define a tower position for specific airports
>and allow you to switch to the nearest tower. And as usual, I don't
>have the time (much less the programming prowess) to take on such a
>task.
Hummmm ... That's interesting. I was under the impression that it was
part of the fgfs CVS. Its apparently a case of the right hand not knowing
what the left hand was doing, i.e. I don't know how we got it.
I don't like hacks, but I will tell you I sure like flying from the tower
view. As you know it works w/ the 'v' key toggling from cockpit, to
external view, to tower view. When I get to the tower I can zoom in w/ 'x'
to get a better view of the aircraft.
Though I am a glider pilot, I also fly R/C models and the tower view suits
me best. A few of the UIUC (Roskam) aircraft models have bad yaw damping
and/or a dutch roll, and with those I get sick flying from the cockpit.
I sure hope something like this tower view gets to be permanent.
>--
>Cameron Moore
>[ Would a fly without wings be called a walk? ]
>
>_______________________________________________
>Flightgear-devel mailing list
>[EMAIL PROTECTED]
>http://mail.flightgear.org/mailman/listinfo/flightgear-devel
**************************************************
Prof. Michael S. Selig
Dept. of Aero/Astro Engineering
University of Illinois at Urbana-Champaign
306 Talbot Laboratory
104 South Wright Street
Urbana, IL 61801-2935
(217) 244-5757 (o), (509) 691-1373 (fax)
mailto:[EMAIL PROTECTED]
http://www.uiuc.edu/ph/www/m-selig
http://www.uiuc.edu/ph/www/m-selig/faq.html (FAQ)
**************************************************
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel