On 11/26/03 at 10:08 AM James Turner wrote:
>One thing I'd really like is the ability to place some generic, 
>rectangular buildings objects down, on the airports. Obviously this 
>outputs to a totally different place to the runways.dat file so .... is 
>there any chance of eventually rolling TaxiDraw into FGSD? (I assume 
>the hard / complex work is the canvas and positioning code, so moving 
>from wx to FLTK would be tedious but not especially difficult)

A lot of it is (or should be) decoupled between screen and physical using
ViewPointToXY, ViewPointToLatLon, LatLonToViewPoint, XYToViewPoint,
XYToLatLon and LatLonToXY, where viewpoint is a screen pixel coordinate, XY
is an orthogonal meters based local coordinate system (at the moment the
simple ATC projection is used to convert to and from lat/lon, but any
'proper' projection could be used instead) and LatLon is of course in
WGS84.  By re-implementing those functions, a lot of the trouble would be
over, and a lot of the rest would be a FLTK / wxWindows cut 'n paste the
differences job.  Maybe!

>
>The reason I mention is, I was about to add a couple of GUI features to 
>taxidraw (like a list box to select airports by name instead of ICAO 
>code), but I don't really want to invest brain-space learning WxWindows 
>if I can avoid it. Not that I'm a fan of FLTK either ...
>
>Any ideas how this might develop in the future?
>H&H
>James
>

Well I'm not going to ditch it, but I agree that it would be logical to see
it in fgsd as well.

Philosophically, I think that fgsd is eventually going to end up becoming a
complex, sophisticated tool, and I'll definately end up working either on
it or with it one day.  However, I don't think that that necessarily
precludes the existence of a simpler tool that does a subset of the tasks,
possibly with it's own individual slant on some aspects.

Practically, at the moment I find it easier to get the taxiway editing
functionality 'out there' by hacking at my own code.

Cheers - Dave



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

Reply via email to