ehofman
8c296d96c7
Fix an initialization problem
2004-01-19 13:37:26 +00:00
curt
65a49bb6e4
Oops, I originally had ramped the vasi/papi color transition the wrong way.
...
So as you passed through the target glide slope from low to high it would
be colored: red -> white -> small range of transition to red -> white.
Now it goes the right way so you get: red -> smooth transition to -> white.
You can tell you are getting high if you see the bottom vasi start to turn
pink ... etc. etc. hopefully just like in real life.
2004-01-16 17:37:05 +00:00
ehofman
cfedc90fdd
Try to prevent a devide by zero situation
2004-01-15 14:23:06 +00:00
ehofman
5665a62938
Don't do any calculations when thay are not needed
2004-01-15 14:22:03 +00:00
ehofman
36521869ae
Make sure MispPro compilers < 7.4 still work
2004-01-15 14:21:31 +00:00
curt
84fd7a49ad
The emissive values just don't seem like the right thing to do. You suddenly
...
see the dark side of the moon quite clearly, which usually isn't the case.
The rest of the moon still seems a bit oversaturated right now ...
2004-01-14 18:02:58 +00:00
curt
24b5f05522
Make the vasi lights slightly larger/brighter.
2004-01-09 16:49:13 +00:00
ehofman
17415424bf
Use the same coloring scheme for the moon and the sun, add a bit of light reflection to the moon
2004-01-09 10:19:00 +00:00
ehofman
920c0fdb62
Updates to the alpha-test animation class
2004-01-08 10:38:29 +00:00
ehofman
40414f2823
Updates to the alpha-test animation class
2004-01-08 10:25:23 +00:00
ehofman
3d43bc0480
Frederic Bouvier:
...
The attached patch adds a new animation class, called SGAlphaTestAnimation, to enable alpha test in 3D models.
This will remove many artefact caused by painting order of translucent models, and I need it for an upcoming model. In addition, I added a min-factor and a max-factor to the range animation to modulate min-m, min-property, max-m or max-property.
2004-01-07 09:07:57 +00:00
curt
7bee5f1ab6
Smarter vasi coloring.
2003-12-30 07:04:05 +00:00
curt
a43f5c8d21
Track some additional data required for computing vasi/papi colors.
2003-12-30 05:53:50 +00:00
curt
8361069344
Go with an all white texture for vasi/papi lights. We will vary the
...
background color externally to change from white to red.
2003-12-30 05:53:03 +00:00
ehofman
c9661e2732
Add a number of Metar related constants
2003-12-27 13:41:02 +00:00
ehofman
bd13cf84a1
Resolve some dependency problems
2003-12-27 09:31:02 +00:00
ehofman
e54cfc002b
Updates to support sgi's MIPSpro compiler version 7.4 and newer. This also fixes a number of C++ issues where FlightGear didn't follow the standard.
2003-12-26 13:55:09 +00:00
andy
5aac63d9f5
Parse/GC interaction fixed.
...
Remove the OP_NEWARGS "optimization" (it wasn't).
2003-12-22 19:27:51 +00:00
ehofman
6a19bbee7d
Melchior FRANZ:
...
There are constructors for sg_io_exception that don't initialize the
location. In this case getFormattedMessage does still output an extra
line with " at" followed by ... nothing. Looks silly.
2003-12-19 17:44:30 +00:00
andy
2e5c4b4515
Rewrite sg_geodesy. The new version is more accurate to the WGS84
...
standard and includes a sgCartToGeod() function which is 100%
symmetric (down to the precision of a double) with sgGeodToCart().
2003-12-19 02:40:33 +00:00
ehofman
79d1aaf7f5
Melchior FRANZ:
...
There's another problem with sg_socket.cxx: the timeout value is
hardcoded as 0. This is appropriate for servers as they continuously
poll the socket and never want to wait for clients. But clients
*do* want to wait a few seconds for a server response.
2003-12-14 14:45:29 +00:00
ehofman
a659969bcf
Make sure both client and server situations are hendled properly
2003-12-14 10:07:51 +00:00
ehofman
53bdf9dac4
Revert to the previous version
2003-12-11 15:26:23 +00:00
ehofman
ad394fb090
fgrun fixes
2003-12-11 13:17:45 +00:00
andy
92a123a47d
Extra i++ led to a "double skip" when parsing a \r\n pair. So a DOS
...
file would look like it was all on one line, and a comment would skip
to the end of the file.
2003-12-08 16:55:50 +00:00
andy
755173bd2e
Bug fixes. The priority queue wasn't handling boundary conditions at
...
the edge of the table properly. The new code is half the size -- it
*has* to be correct, right?
2003-12-07 19:53:34 +00:00
andy
27477402c9
Property interpolator subsystem. A utility, primarily for Nasal scripts
2003-12-05 01:49:44 +00:00
andy
dc9c41e119
Added setsize() and subvec() library functions
2003-12-05 01:49:02 +00:00
ehofman
3c7f9e7ba4
A first attempt on detecting endianness and number of bits
2003-12-01 18:57:32 +00:00
ehofman
fbf018598e
Rename IRIX to irix_string in simgear/compatibility and assign "simgear/compatibility/irix_string" to STL_STRING for IRIX
2003-12-01 18:56:53 +00:00
ehofman
83b4dcb55c
Add Nasal Vs. 1.5
2003-12-01 14:33:45 +00:00
curt
5812571df4
Attempt to fix a bug in SGSocket::read() affecting TCP style sockets.
2003-11-27 13:24:26 +00:00
ehofman
b1c688abe8
Revert an IRIX/O2 only setting again
2003-11-27 10:23:13 +00:00
ehofman
f4b30bbdd7
Portability fix
2003-11-27 10:22:29 +00:00
ehofman
e4008862ce
Make sure autogenerated files don't show up
2003-11-26 14:42:05 +00:00
ehofman
2b7079eed2
Portability fixes
2003-11-26 14:39:46 +00:00
curt
983685fde3
rename libnasal.a to libsgnasal.a to match the existing SimGear library
...
naming convention.
2003-11-25 22:49:02 +00:00
ehofman
eef1cc716d
MSVC > 6.0 fix
2003-11-25 21:45:56 +00:00
curt
34e2a9dc37
Nasal and event manager updates from Andy Ross.
2003-11-25 21:26:01 +00:00
curt
1786692406
Version 1.3 of Andy Ross's "NASAL" embedded scripting language.
2003-11-25 20:16:28 +00:00
david
c37afce303
Minor changes to logging messages (to STDOUT).
2003-11-24 17:41:43 +00:00
ehofman
1ea99cdd4d
MacOS X fixes
2003-11-23 10:04:45 +00:00
ehofman
4c1d22b8a6
FIx a typo
2003-11-21 21:56:57 +00:00
ehofman
5f22c93db7
Frederic Bouvier wrote:
...
> When a c172 is on one machine, I only got segfault on an animation
> not found. This animation is named ControlsGroup and I guess
> that one object name referenced in this null animation no
> longer exist in the .ac model. I say that because the
> preceding one is analogous and works.
>
> So I would say the multiplayer works, except when there is a c172.
It seems that this animation refers to 'PanelInstruments' that is
a panel outside the model, so, when loaded with SGModelLib::load_model
the object is not found in the model and there is a non tested
read access through a null pointer in sgMakeAnimation.
2003-11-19 15:16:21 +00:00
ehofman
13a42f1d9e
Change istringstream back to a typedef so there is no need to redefine every class memeber.
2003-11-09 08:56:09 +00:00
ehofman
c4d5d85c3e
Save on a number of CPU costly strcmp calls when using the blend function
2003-11-04 13:25:23 +00:00
curt
d915ccec6e
Updates for the official 0.3.4 version.
2003-10-22 19:21:24 +00:00
ehofman
ea1b70191c
Shoot, I was trying to hunt down a bug that wasn't even caused by the sstream implementation! Back out some of the previous patches
2003-10-20 19:53:35 +00:00
ehofman
19815c3bce
And don't forget to free up the used memory.
2003-10-20 19:38:27 +00:00
ehofman
66fb6b5a1c
Make it easy on myself (and make it work as a bonus)
2003-10-20 19:32:50 +00:00