PSadrozinski
db1a734b19
Add an optimization to BuildBtg - the accumulator is kept in the native
...
clipping library format, so it doesn't have to be converted / reconverted
between clipping and TGPolygon types for each operation - shaves about
12 seconds from KATL build.
2012-03-25 23:53:49 +02:00
PSadrozinski
59b534616f
Fix for using clipper library
...
- it doesn't fix my donut problem - still need to fix degenerate nodes.
2012-03-25 23:53:49 +02:00
Christian Schmitt
33d88b8c27
Write out the taxiway sign headings
2012-03-25 23:53:49 +02:00
Christian Schmitt
812dd638af
Rework the runway designation code. All put into one function.
...
This does now support literal runway names like "07" instead of "7".
Also support upcoming "XX" designation which marks a runway as
non-numbered. Testing needed.
2012-03-25 23:53:49 +02:00
Christian Schmitt
10260917f8
adapt the help output a bit
2012-03-25 23:53:48 +02:00
PSadrozinski
2e07528da3
Added support for clipper library
...
- still some issues, but it 'mostly' works
(change #define in src/lib/polygon to select clipper library)
- added performance statistics
2012-03-25 23:53:48 +02:00
PSadrozinski
4fb1944964
Adding Clipper library (experimental)
2012-03-25 23:53:48 +02:00
Christian Schmitt
dc3449a860
Remove texture coordinates length calculations from certain places.
...
The width calculation is corrected now and should fix distorted
runway textures.
Hopefully we can get rid of this width mumbo-jumbo soon, too.
It has to stay for now as I found no solution.
2012-03-25 23:53:48 +02:00
PSadrozinski
1663620e35
command line option --airport working. Tested with full apt.dat
2012-03-25 23:53:48 +02:00
PSadrozinski
3ba27cd481
Added Airport boundary support.
...
- needs testing on lots of airports. I'm uncomfortable with expanding
concave polys by 20 meters. I really need to find a safe polygon expander.
2012-03-25 23:53:48 +02:00
Christian Schmitt
33c92f60f6
Fix a boundary size bug. All boundaries with < 2 nodes are discarded now
2012-03-25 23:53:48 +02:00
Christian Schmitt
8ebbb39893
generate simple runway including threshold
2012-03-25 23:53:48 +02:00
Christian Schmitt
c551e81136
add water runways. The corresponding buoys will follow into fgdata :)
2012-03-25 23:53:48 +02:00
Christian Schmitt
ec6b862730
...and also remove bug work-around scripts
2012-03-25 23:53:48 +02:00
Christian Schmitt
ec3aa2a623
Now that the important stuff is ported, remove old files
...
that are no longer needed
2012-03-25 23:53:48 +02:00
PSadrozinski
051497bede
Added taxiway/runway sign link creation
2012-03-25 23:53:48 +02:00
Christian Schmitt
e9a266fdf1
Helipads are also back, including some light
2012-03-25 23:53:42 +02:00
Christian Schmitt
1990ce6806
The size of the runway base should depend on the runway width
2012-03-25 23:53:32 +02:00
Christian Schmitt
504f5ef46c
Refactor the runway code and exclude some math functions
...
from the class for general use
2012-03-25 23:53:28 +02:00
PSadrozinski
fdb37b36c7
added linked objects for beacon and windsock support.
...
taxiway signs pending...
2012-03-25 23:53:18 +02:00
Christian Schmitt
b146149877
Port airport light objects support
2012-03-25 23:53:09 +02:00
Christian Schmitt
155d405ee2
Again, lower the light nodes above the terrain. This needs to be tested
2012-03-25 23:53:05 +02:00
PSadrozinski
81ec458cd7
lights are much better, but not perfect
2012-03-25 23:53:05 +02:00
PSadrozinski
39ea640499
cleanup airport.cxx and simple fix in linear features
2012-03-25 23:53:05 +02:00
PSadrozinski
4df32f7aed
First stab at taxiway lights
2012-03-25 23:53:05 +02:00
Christian Schmitt
ce08e218f6
Port runway lights over to the new framework
2012-03-25 23:53:00 +02:00
Christian Schmitt
6a6052f2f5
Fix overrun generation, broken by last commit
2012-03-25 23:52:53 +02:00
Christian Schmitt
d573b38430
Simplify runway code a bit.
2012-03-25 23:52:53 +02:00
PSadrozinski
6f7df8da5e
infrastructure for lights
2012-03-25 23:52:53 +02:00
PSadrozinski
5e1ed20e4d
Fix Linear feature when angles is close to 180 or 0 degrees.
...
- it doesn't hang anymore, but it generates artifacts. more study needed
2012-03-25 23:52:53 +02:00
Christian Schmitt
b0a1f38ccb
Make runway textures work
2012-03-25 23:52:47 +02:00
Christian Schmitt
761a71ba7b
Bring both 850 work (new taxiways and new runways) together.
2012-03-25 23:52:43 +02:00
PSadrozinski
ecbfc64b14
Added per linear feature width capability, so double lines are twice as wide, etc...
2012-03-25 23:52:43 +02:00
PSadrozinski
6dcf165438
linear features now have their own function to calc tex coords,
...
and the runway function scales.
Now, U should always be 1 width, and length is offset from minv.
This allows 1 polygons texture to start where the previous finished,
making it appear the texture flows continuously
2012-03-25 23:52:43 +02:00
PSadrozinski
c941c02c13
rams cp 2 - better, but not perfect
2012-03-25 23:52:43 +02:00
PSadrozinski
a547a9ba00
near feature checkpoint 1
...
- cut in to the terrain
- using asphalt texture, need a test texture to check texcoords
- need offset - it's hardcoded for pavement features, so centerlines are off
2012-03-25 23:52:43 +02:00
PSadrozinski
47b1b05ac7
Checkpoint : Linear features build their own superpoly_list on Finish() with
...
correct texture and heading for each quad. Still need to clip them against
their own accum during build btg
2012-03-25 23:52:43 +02:00
PSadrozinski
7d729633c1
Texturing works
2012-03-25 23:52:43 +02:00
PSadrozinski
ef486df526
Adding initial genapts 850 support
2012-03-25 23:52:38 +02:00
Christian Schmitt
324e6fc30f
Make size of runway base depend on its width
2012-03-25 23:52:31 +02:00
Christian Schmitt
6ce3e16d4b
Take care of simple runways, too
2012-03-25 23:52:31 +02:00
Christian Schmitt
c43ebccb7a
Lower the light nodes above the terrain. This needs to be tested
2012-03-25 23:52:31 +02:00
Christian Schmitt
b1264d5134
Support different runway edge light intensities
2012-03-25 23:52:31 +02:00
Christian Schmitt
dfd63f3fd8
water runway support
2012-03-25 23:52:31 +02:00
Christian Schmitt
d1aece0be3
Helipad lights support
2012-03-25 23:52:31 +02:00
Christian Schmitt
fa10efa1d0
Possibility to create runways without a designation (empty threshold)
2012-03-25 23:52:31 +02:00
Christian Schmitt
7c8b6781f3
Make helipads work
2012-03-25 23:52:27 +02:00
Christian Schmitt
b6c1b2c609
Add UK runway markings support. While at it, put most of the markings
...
logic into the markings function.
2012-03-25 23:52:10 +02:00
Christian Schmitt
ca7a097f9c
clean up runway parameter calcs
2012-03-25 23:52:10 +02:00
Christian Schmitt
2eb8428a59
Read and create airport light objects like PAPIs and calculate their light vectors.
2012-03-25 23:52:10 +02:00