There seems to be a vestigial reference to TOWER_VIEW in
0.7.9, but as Michael says, the code section that was in
0.7.8 is no longer there.  This would be a useful feature
for simulating r/c flight.

Mark

> -----Original Message-----
> From: Michael Selig [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, February 23, 2002 12:30 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Flightgear-devel] Tower view
> 
> 
> 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.
> 
> 
> 
> 
> >--
> >Cameron Moore
> >[ Why is a boxing ring square? ]
> >
> >_______________________________________________
> >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
> 


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

Reply via email to