1
0
Fork 0
Commit graph

752 commits

Author SHA1 Message Date
curt
7c3f6dd15d Dohhh, I knew I would screw it up the first time. But no, I doubly screwed
it up.  Read the rows from bottom to top rather than top to bottom and
flipped row/col ...
2003-03-11 20:21:30 +00:00
curt
c9757cb753 Add the ability to extract out an individual elev by array position rather
than only by lat/lon.
2003-03-11 20:20:04 +00:00
curt
b3935db989 Add back code to clip polygons against land mass. This temporarily breaks
the ability for roads/railways to bridge ocean, but I hope to get that fixed
soon.
2003-03-11 20:19:09 +00:00
curt
ea58728f5c With the latest version of the libnurbs++, the include file extension has
changed from .hh -> .h
Generate a complete enclosing area around the airport including taxiways,
  not just runways.
2003-03-11 20:17:57 +00:00
curt
1bfc2da8ee Fix a compile problem for some platforms/compilers. 2003-03-11 16:04:49 +00:00
curt
6c26352508 Avoid telling the nurbs library to do something it can't do (resulting
in a segfault.)
2003-03-10 15:01:08 +00:00
curt
4bb5decbcb A simple perl::GD script to convert .hgt to a .png for visualization purposes.
The explicite draw each pixel method is inefficient, but used anyway to make
it utterly clear what the data order is in the original .hgt file.
2003-03-10 14:56:12 +00:00
curt
266772ee39 Add a routine to dump out the .hgt data in a simplistic ascii format. 2003-03-10 14:54:42 +00:00
curt
bf96033516 Tweaking parameters. 2003-03-10 03:00:59 +00:00
curt
c986802faa The resulting airport surfaces still had too much undulation from the noise
in the DEM data.  Coarsen the nurbs grid and average some surrounding data
to hide the noise.
2003-03-09 19:19:19 +00:00
curt
846473a424 Make each representative grid point the average of a larger set of points. 2003-03-09 18:51:00 +00:00
curt
d61e2d958b Since configure refers to these files, it seems like a good idea to actually
add them.
2003-03-09 18:14:19 +00:00
curt
c170e77854 Switch to calculating node elevations based on the nurbs surface rather
than raw dem data.
2003-03-09 18:13:53 +00:00
curt
abd30e0352 Initial revsion of testnurbs.cxx which exercises some basic capabilities of
the nurbs++ library.
2003-03-09 18:12:25 +00:00
curt
15ae058d4a First stab at code to build a nurbs surface that approximates the surface
of an airport.
2003-03-09 18:11:29 +00:00
curt
b628d7cdd8 Add a check for the nurbs++ library.
Add a README.nurbs++ explaining where the nurbs++ package can be found
  and a bit about what it is.
2003-03-09 18:10:32 +00:00
curt
83388f0c38 Switch to bool return types. 2003-03-09 17:27:07 +00:00
curt
0d53ec0be0 Fill in "void" data with surrounding data. 2003-03-09 17:22:22 +00:00
curt
e55881e063 More informative output. 2003-03-09 17:21:47 +00:00
curt
887297d8d0 A slightly more flexible way to find the best elevation data. 2003-03-08 03:25:05 +00:00
curt
e7d08d90d1 A couple minor changes to this helper script. 2003-03-08 01:44:28 +00:00
curt
e6c1dc4c0c Rewrite the line to polygon making routine to (hopefully) make the
line widths consistant and accurate always.
2003-03-08 01:43:47 +00:00
curt
1a741df940 Remove an unneeded define. 2003-03-08 01:42:46 +00:00
curt
1a46456fbd Use .arr as the intermediate height field rather than .dem since .dem
implies a different format.
2003-02-27 21:19:00 +00:00
curt
e483bf0a34 Switch to using .arr as the intermediate height elevation array file extension. 2003-02-27 21:13:17 +00:00
curt
15ba15538b Output file is written with a ".arr" (Array) extension since it's no longer
in .dem format.  The .arr format is a much simpler (and a bit less flexible)
specifically for use as an intermediate format when building scenery.  Any
number of various raw terrain formats could be translated into the common
.arr format which then greatly simplifies life for the build tiles util.
2003-02-27 21:06:57 +00:00
curt
d11e7c7b3f First crack at a Prep utility to process SRTM "hgt" data into TerraGear's
intermediate format.
2003-02-26 21:39:27 +00:00
curt
61764b286d Renamed FGTexParms -> TGTexParams. 2003-02-26 21:20:43 +00:00
curt
0e4f17ad51 Rename FGRunway -> TGRunway. 2003-02-26 21:16:43 +00:00
curt
62a3a1936c Rename FGSuperPoly -> TGSuperPoly 2003-02-26 21:09:39 +00:00
curt
bd1b254506 Rename: FGPolygon to TGPolygon 2003-02-26 20:59:34 +00:00
curt
7709953518 Rename: FGGenFans -> TGGenFans 2003-02-26 20:36:15 +00:00
curt
61445e9af6 Renaming:
- FGContourNode -> TGContourNode
 - FGTriNodes    -> TGTriNodes
 - FGTriSeg      -> TGTriSeg
 - FGTriSegments -> TGTriSegments
2003-02-26 20:25:29 +00:00
curt
d2206e9214 Rename: FGDem -> TGDem 2003-02-26 20:04:12 +00:00
curt
0a1108e494 Rename: FGArray -> TGArray 2003-02-26 19:59:25 +00:00
curt
595ed50097 Add src/Libs/HGT subdir. 2003-02-26 19:57:26 +00:00
curt
698fb1b869 Add HGT subdir 2003-02-26 19:57:04 +00:00
curt
f048b73a9a Clean up various accumulated cruft. 2003-02-26 19:56:39 +00:00
curt
1d71909929 Initial revision of code to read SRTM "hgt" format data. 2003-02-26 19:30:25 +00:00
curt
38c42b34fb Additional tweaks for 0.0.5 release. 2003-02-25 19:16:13 +00:00
curt
f56af62248 Various pre-0.0.5 release tweaks. 2003-02-25 17:58:40 +00:00
curt
d86e28a880 Initial revision. 2003-02-25 17:56:40 +00:00
curt
927540c8b1 One more Irix tweak. 2003-01-08 16:29:04 +00:00
curt
8b269dc000 Erik Hofman:
A big honkin' set of minor tweaks to bring TerraGear into Irix compliance.
2003-01-07 22:46:51 +00:00
curt
27a068f721 Various fixes and tweaks. 2003-01-07 19:48:32 +00:00
curt
bb4c4f6b13 First stab at a utility to fetch scenery based on the current flightgear
position.

Terrasync runs as a separate process and accepts the --atlas=port format.
The fgfs output tells the terrasync util where FlightGear is currently flying.
Terrasync will then issue the appropriate commands to rsync the surrounding
areas to your local scenery directory.

As you fly, terrasync will periodically refresh and pull any new scenery tiles
in the vicinity.

This also works if the scenery on the scenery server is update.  Rsync will
pull any missing files, or any updated files.

There is a chicken/egg problem when you first start up in a brand new area.
FlightGear is expecting the scenery to be there *now* but it hasn't been
fetched yet.  I suppose without making a more complex protocol, the user
will need to be aware of this.  The user could restart flightgear after the
initial rsync completes, and then after that everything should be good,
assuming the user has the necessary bandwidth to keep up with flight speeds.

Final notes:

At the moment Alex Perry has a partial rsync server, but I don't know it's
status.  I hope to have a full server up and running at some point soon.

Currently the terragear utility just echos the commands it would run to
rsync the data, it doesn't actually run the commands.  This is a work in
progress.
2002-11-23 03:17:47 +00:00
curt
58bd28bb03 Make centerline light generation more robust for ultra short runways.
This keeps us from generation a bogus output file that could crash fgfs.
2002-11-22 22:00:08 +00:00
curt
585fc97859 Julian Foad:
acinclude.m4
- Correct "subdirr" to "subdir".

configure.ac
- Include <stdio.h> to avoid warning for printf.
2002-11-11 15:20:18 +00:00
curt
8c992abfa4 Julian Foad:
- In runway error message, say which runway.
2002-11-11 15:19:56 +00:00
curt
5bb24ff286 Julian Foad:
- Put a space between arguments and redirection operator: looks nicer
  and may be necessary in some circumstances.
- Add missing option "--min-angle" to help text.
2002-11-11 15:19:34 +00:00