ehofman
19b61eec1e
Fix a model loading problem
2003-09-17 09:44:37 +00:00
curt
5d6eafc091
Oops, get rid of some extraneous debugging output.
2003-09-16 22:38:41 +00:00
curt
7f2757a7ab
Expose the time of day setting through the fg_command and property interface
...
so a gui interface can be built.
2003-09-16 22:35:16 +00:00
curt
b10715833c
Fix a few potential gotcha's in setting up start time.
2003-09-16 22:34:22 +00:00
ehofman
0f6e4e1c74
Don't just disable depth buffer writes but instead disable the depth test all together
2003-09-16 16:27:01 +00:00
ehofman
174852f01e
Try to prevent z-buffer problems for video cards with a 16-bit depth buffer
2003-09-16 14:31:14 +00:00
ehofman
44fda9805b
Enable back face culling for cockpit instruments, disable depth buffer writes for 2d instruments but enable depth buffer writes for the magnetic compass. Does anyone care to create a 3d magnetic compass?
2003-09-16 10:02:32 +00:00
ehofman
a5bd132143
Make sure the joystick name gets printed
2003-09-16 08:25:16 +00:00
curt
9bb782ce72
Added a command line option to specify a starting time of day in the sense of:
...
--timeofday=dawn
--timeofday=dusk
--timeofday=noon
--timeofday=midnight
2003-09-15 22:55:39 +00:00
ehofman
13d8e0edab
Allow -jsbsim, -yasim or -uiuc in the name of the configuration file when it resides in it's own subdirectory
2003-09-15 16:00:18 +00:00
ehofman
4d6b14a08c
Add support for loading aircraft which have the configuration file inside it's own subdirectory
2003-09-15 14:21:16 +00:00
ehofman
b7e3f95300
Add support for <aircraft>-set.xml configuration files inside it's own subdirectory. This applies only to the --show-aircraft option for now.
2003-09-15 14:07:50 +00:00
ehofman
7249aaea33
Frederic Bouvier:
...
This patch is there to correct a problem that prevent to load static objects when specifying a relative fg-root or a different, relative, fg-scenery. It appears that there is a mix between fg-root, fg-scenery and PLIB's model-dir.
It has been reported on the list that users are not able to see the buildings, especially those running the win32 builds because they run 'runfgfs.bat' that set FG_ROOT=./DATA.
I decided not to use model-dir because it just add confusion and to build a valid path earlier.
2003-09-13 11:47:30 +00:00
ehofman
2be37c04fe
Enable two sided lighting calculations when specular highlight is enabled
2003-09-13 09:27:50 +00:00
ehofman
dd963990dc
Turn back to default lighting when specular-highlight gets disabled
2003-09-12 22:09:54 +00:00
ehofman
9812739a71
Add the posibillity to disable specular highlight because it looks like some implementations switch over to sofware rendering when this is enabled
2003-09-12 21:43:01 +00:00
ehofman
774faa157d
Make it possible for textured object to change color to white when lit by a strong light source. This might affect rendering time a bit
2003-09-12 09:27:19 +00:00
curt
5705ad715b
Changes to facilitate replaying the last "n" seconds.
2003-09-11 19:36:04 +00:00
david
72be3f287a
Added --failure option.
2003-09-10 01:29:19 +00:00
daveluff
d3b7c2ac10
Fix a couple of bugs that resulted in ATIS not being heard at airports with AI traffic active
2003-09-05 13:58:51 +00:00
daveluff
b898c5e4ff
Change the start of descent point of the AI plane when the circuit has been extended when following previous traffic - it should not land short now, although it can land a way down the runway if start of descent should occur during a turn, since it doesnt start descending until the turn is finished
2003-09-05 10:26:11 +00:00
daveluff
be274df23b
Guard against update(...) getting called before init(...)
2003-09-05 10:23:20 +00:00
daveluff
1520fd648e
Output a few properties for AI code devel convienience - probably temporary
2003-09-05 10:22:18 +00:00
daveluff
3f162abf09
Whitespace cleanup
2003-09-05 10:21:29 +00:00
ehofman
3e98bccbaf
Remove unused gamma corrections
2003-09-03 18:47:48 +00:00
ehofman
ffd64f7a8c
Fix a reset bug for at least JSBSim by removing some apperently old UIUC code. This falls in the same category as the code from main.cxx which was recently removed by advice from the UIUC developers.
2003-09-03 17:10:52 +00:00
curt
c81fbb937a
David Luff:
...
Firstly, the search of a given runway number was coming out wrong if the
reverse of the one actually in the database was given, resulting in the AI
plane going to the wrong runway. This was caused by the fact that if the
reverse runway number to the one wanted was matched then revrwyno was
assigned to rwy.rwy_no, whereas actually it was the original runwayno that
should have been assigned.
Secondly, whilst instrumenting the search with couts to see what was going
wrong, I noticed that one runway would come up loads of times. It turns
out that this is because taxiways and the next airport line were loaded in
as the last runway, with only the type changed, in the constructor. Thus
the total number of runway entries for all except the last airport equalled
(no-of-runways + no-of-taxiways + 1). I've changed a couple of lines to
fix this.
[Curt: this was partially fixed last week, but now it should be completely
fixed. Thanks Dave!]
2003-09-02 19:12:11 +00:00
david
2ce5cbf854
Add a --ceiling=FT_AGL[:THICKNESS_AGL] option to create a default
...
overcast ceiling at the given altitude AGL, optionally with the given
thickness (or default to 2000 ft).
2003-09-01 22:58:19 +00:00
david
fccea06ed3
Roll out last change for now. It kills the mag compass on the default
...
172, and seems to have unpredictable results depending on the drawing
order.
2003-09-01 22:03:46 +00:00
ehofman
7a29fc0613
Average sunlight and ambient light instead of multiplying it
2003-08-29 22:13:05 +00:00
curt
27a36e6059
- The latest volley in the FlightGear lighting wars.
...
- Ambient is based off the lookup table only.
- Diffuse is based off of the lookup table, but multiplied by a combination
of sun/fog colors.
The result is a bit more ambient light at dusk and night since the world is
never 100% dark. And we still get nice sunset/sunrise colored illumination
of surfaces that are directly illuminated by the sun.
2003-08-29 21:24:13 +00:00
curt
1cbcd89e5e
I had to make a small mod to the runways.dat format, code changes to handle
...
that.
2003-08-29 20:27:48 +00:00
ehofman
1dea70fffa
Use the glPointParameter function pointer rather than the function itself
2003-08-29 16:50:20 +00:00
ehofman
82ba3ebbde
Remove a possible glut dependency and do some code cleaning
2003-08-29 16:46:21 +00:00
ehofman
3ba01fa762
New automake, new problems. Add $base_LIBS for programs since $LIBS isn't substituted automatically anymore
2003-08-29 09:03:49 +00:00
curt
ff2740f085
Remove the last traces of metakit (hopefully) :-)
2003-08-29 04:42:43 +00:00
curt
314c324556
Depricated ...
2003-08-29 04:12:34 +00:00
curt
e6859e4fe0
Redo the runway database scheme to use a flat/ascii file and load the entire
...
database into memory at the start. This should completely eliminate any
dependencies we have on metakit.
2003-08-29 04:11:23 +00:00
curt
f0ddd9048f
Fix a small oops on my part.
2003-08-28 21:05:01 +00:00
curt
212f5d66bf
Depricated ...
2003-08-28 21:04:12 +00:00
curt
6665d7d609
Remove one dependence on MetaKit.
2003-08-28 20:53:08 +00:00
curt
b23183f018
Put the id of the tile we are flying over into the property tree for
...
convenience of debugging.
2003-08-28 20:52:34 +00:00
curt
c86c81dad0
Minor tweak.
2003-08-28 20:52:05 +00:00
ehofman
69d0052375
Fix an undeclared function refference in one of the supported compiler environments
2003-08-25 12:41:40 +00:00
ehofman
ced6b4f520
Updates needed for z-ordewring of the cloud layers
2003-08-22 08:05:00 +00:00
ehofman
9c2cc7c309
Rename every instance of GLUT_H to FG_GLUT_H to prevent a freeglut naming clash
2003-08-22 08:03:10 +00:00
ehofman
6f8aa7b331
Change GLUT_H to FG_GLUT_H to prevent a naming clash with freeglut.
2003-08-21 09:12:12 +00:00
ehofman
32cb0df98e
Add support for moving cloud layers
2003-08-19 13:06:51 +00:00
ehofman
fb3717003e
Fix some network layer issues. Some htonl() calls didn't use the return value.
2003-08-18 11:11:08 +00:00
ehofman
c745a8f956
Add a comment on how to enable an alternative HOT algorithm that enables one to fly underneath static objects
2003-08-18 09:34:12 +00:00