Re: [Flightgear-devel] Java FlightGear airport viewer (very alpha)

2003-10-17 Thread David Luff
On 10/13/03 at 11:41 AM David Luff wrote:


www.nottingham.ac.uk/~eazdluf/TaxiDraw-0p0-preAlpha-src.tar.gz
 - Source [34K].  'make' should compile it cleanly on Linux if you apt-get
install wxGTK-devel first.  (I used version 2.4.0).  Can't be any worse
than having to download the Backdown jre ;-))  I was hoping to statically
link it and have a Linux binary as well, but it appears there might be,
urm, 'issues', related to statically linking to GTK. 

Needs runways.dat in working directory.  Use 'LoadRawAirport' menu entry
and enter ICAO code.  F4/F5 zoom in/out, arrows pan.  j/k rotate all
taxiways (not runways).  d/f/r/c translate all taxiways.  w writes out all
taxiways in FG format to ICAO.dat.  Try it on KSQL.


There was no way the source version could have compiled - I'd put an old
makefile and a couple of old files into it :-(  

A working version is now up at
http://www.nottingham.ac.uk/~eazdluf/TaxiDraw-0p0p1-preAlpha-src.tar.gz

Removal of all the old files including the makefile (the case of the 'm'
might have changed) would be advised.

Cheers - Dave


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


Re: [Flightgear-devel] Java FlightGear airport viewer (very alpha)

2003-10-13 Thread David Luff
On 10/12/03 at 6:03 PM David Megginson wrote:

I've been hacking around with Java Swing classes during free moments
over the Canadian Thanksgiving weekend, and I have managed to come up
with a minimally-used FlightGear airport viewer. I'm using JDK 1.4,
but 1.3 might work as well (if it has the Java2D graphics API
bundled).  To try it out, follow these steps:

snip

I'm going to try to make this into a proper editor, but for now, it
just makes for a cute, minimalist viewer.  I'll package up the source
code when I have time -- so far, it's not commented or even sorted
into packages.


Neat!

However, I'll see your Java airport viewer and raise you a C++ one :-)

www.nottingham.ac.uk/~eazdluf/TaxiDraw-0p0-preAlpha-w32bin.zip
 - Windows Binary (statically linked) [266K]

www.nottingham.ac.uk/~eazdluf/TaxiDraw-0p0-preAlpha-src.tar.gz
 - Source [34K].  'make' should compile it cleanly on Linux if you apt-get
install wxGTK-devel first.  (I used version 2.4.0).  Can't be any worse
than having to download the Backdown jre ;-))  I was hoping to statically
link it and have a Linux binary as well, but it appears there might be,
urm, 'issues', related to statically linking to GTK. 

Needs runways.dat in working directory.  Use 'LoadRawAirport' menu entry
and enter ICAO code.  F4/F5 zoom in/out, arrows pan.  j/k rotate all
taxiways (not runways).  d/f/r/c translate all taxiways.  w writes out all
taxiways in FG format to ICAO.dat.  Try it on KSQL.

Cheers - Dave


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


Re: [Flightgear-devel] Java FlightGear airport viewer (very alpha)

2003-10-13 Thread David Megginson
David Luff writes:

  However, I'll see your Java airport viewer and raise you a C++ one
  :-)

Excellent -- I'll take a look.  Do you plan to make it into a
full-fledged editor, like the one in XPlane?  I've had a lot of fun
learning the Java2D API for my Java viewer, but I won't go through all
the work needed to support creating and dragging around runways and
taxiways if you're already planning to do it in C++.


Thanks, and all the best,


David


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


Re: [Flightgear-devel] Java FlightGear airport viewer (very alpha)

2003-10-13 Thread David Luff

On 10/13/03 at 9:33 AM David Megginson wrote:

David Luff writes:

  However, I'll see your Java airport viewer and raise you a C++ one
  :-)

Excellent -- I'll take a look.  Do you plan to make it into a
full-fledged editor, like the one in XPlane?  I've had a lot of fun
learning the Java2D API for my Java viewer, but I won't go through all
the work needed to support creating and dragging around runways and
taxiways if you're already planning to do it in C++.


Hey, a bit of friendly competition was meant to spur you to greater
heights, not bin it :-)

It was originally intended (and is intended primarily) as a facilities
editor similar to afcad - to edit the logical networks, parking places,
circuit directions, that sort of stuff.  However, it seemed pretty
reasonable to add simple taxiway / runway editing to it since I'm
visualising them anyway.  I'm not familiar with the X-plane editor, but
yes, I'm planning on enabling editing of individual X-plane type taxiways
and runways (centre, length, heading) with the mouse and keyboard.  Not at
an individual scenery polygon level though - I'll leave that to fgsd.

Cheers - Dave


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


[Flightgear-devel] Java FlightGear airport viewer (very alpha)

2003-10-12 Thread David Megginson
I've been hacking around with Java Swing classes during free moments
over the Canadian Thanksgiving weekend, and I have managed to come up
with a minimally-used FlightGear airport viewer. I'm using JDK 1.4,
but 1.3 might work as well (if it has the Java2D graphics API
bundled).  To try it out, follow these steps:

1. Copy $FG_ROOT/Airports/basic.dat.gz and
   $FG_ROOT/Airports/runways.dat.gz to some other location and unzip
   them.

2. Download http://www.megginson.com/flightsim/apteditor.jar (14K).

3. Type java -jar apteditor.jar basic.dat runways.dat to start.

You can also add a fourth argument containing the ID of the default
starting airport, as in

  java -jar apteditor.jar basic.dat runways.dat KSFO

I'm going to try to make this into a proper editor, but for now, it
just makes for a cute, minimalist viewer.  I'll package up the source
code when I have time -- so far, it's not commented or even sorted
into packages.


All the best,


David

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


Re: [Flightgear-devel] Java FlightGear airport viewer (very alpha)

2003-10-12 Thread Lee Elliott
On Sunday 12 October 2003 23:03, David Megginson wrote:
 I've been hacking around with Java Swing classes during free moments
 over the Canadian Thanksgiving weekend, and I have managed to come up
 with a minimally-used FlightGear airport viewer. I'm using JDK 1.4,
 but 1.3 might work as well (if it has the Java2D graphics API
 bundled).  To try it out, follow these steps:
 
 1. Copy $FG_ROOT/Airports/basic.dat.gz and
$FG_ROOT/Airports/runways.dat.gz to some other location and unzip
them.
 
 2. Download http://www.megginson.com/flightsim/apteditor.jar (14K).
 
 3. Type java -jar apteditor.jar basic.dat runways.dat to start.
 
 You can also add a fourth argument containing the ID of the default
 starting airport, as in
 
   java -jar apteditor.jar basic.dat runways.dat KSFO
 
 I'm going to try to make this into a proper editor, but for now, it
 just makes for a cute, minimalist viewer.  I'll package up the source
 code when I have time -- so far, it's not commented or even sorted
 into packages.
 
 
 All the best,
 
 
 David

Neat:)  I can see a new addition to my favourites drawer.

LeeE


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