1
0
Fork 0
Commit graph

976 commits

Author SHA1 Message Date
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
Christian Schmitt
785c4afcda Move the whole genapts over to the metric system.
Now we calculate with metric values internally, however, the
fixed feet values in the source will have to be converted or
be used with SG_FEET_TO_METER for now.
2012-03-25 23:52:10 +02:00
Christian Schmitt
2fff6d803e Work on supporting 850 light definitions.
This is still WIP, but lots of stuff already working.
2012-03-25 23:52:09 +02:00
Christian Schmitt
0bffde0f2d Make stopways work again, too 2012-03-25 23:52:09 +02:00
Christian Schmitt
66fc88c666 Implement individual runway markings for both ends.
Simplified code a lot, removed runway-specific files with
a lot of duplicate code. Put marking logic into
functions.
2012-03-25 23:52:09 +02:00
Christian Schmitt
8ac29ac8a8 Implement two runway end designations for precision runway 2012-03-25 23:52:00 +02:00
Christian Schmitt
0e83e180fc Introduce 2nd variable for other runway end designation.
Some cleanup, too.
2012-03-25 23:51:38 +02:00
Christian Schmitt
83144f66a3 get runway center calculation right 2012-03-25 23:51:38 +02:00