Commit Graph
2538 Commits
Author SHA1 Message Date
ehofman e37752f957 Use a more clever way to deselect a fully translucent leaf. 2004-03-12 17:38:57 +00:00
ehofman 40d920ddc9 Unselect the branch if the object has become fully translucent. 2004-03-12 10:09:09 +00:00
ehofman 4362eb79e6 Update for non-conformal (older) compilers 2004-03-12 08:59:12 +00:00
ehofman f6c9af488b MacOS X refinement 2004-03-08 08:59:58 +00:00
ehofman a34ac6a596 Silently ignore texture files that are not present. 2004-03-07 18:47:37 +00:00
ehofman 3b3baa996b MSVC .NET 2003 fix 2004-03-07 09:36:31 +00:00
ehofman d6b81a9721 MacOS X 10.3 fix 2004-03-07 09:28:48 +00:00
curt a460c753e7 Work around a limitation of gc_calc_course_dist(). When the start and end
points are too close together, this routine can return a course of "nan"
but the distance is valid.  Someday someone who understands the math should
rewrite the gc_calc_course_dist() routine so it is more robust, but for now
it's easiest to simply check for a nan result and code around the limitation.
2004-03-03 21:37:41 +00:00
curt 9f59e956fa #define isnan _isnan for MSVC and Mingwin. 2004-03-03 21:35:38 +00:00
ehofman bd02eb8e6b Remove a typo 2004-03-03 20:06:28 +00:00
ehofman a266790a25 Put Curt's cloud movement fix back in 2004-03-03 20:05:18 +00:00
ehofman 3462e3b6c1 MSVC .NET 2003 fix. 2004-03-03 19:59:44 +00:00
ehofman ed29944b91 Add const back in the function 2004-03-03 19:54:24 +00:00
ehofman a0251b3256 Some small fixes 2004-03-03 19:48:28 +00:00
ehofman 557474095f A real MSVC fix this time 2004-03-02 15:18:18 +00:00
ehofman b7dd267807 Revert the last change, MSVC still doesn't like it. 2004-03-02 14:58:58 +00:00
ehofman 58a0b1d2c3 MSVC fixes 2004-03-02 14:49:01 +00:00
ehofman d8acc3a8f2 Use a round-robin scheme rather than returning a random textured state. 2004-03-02 13:28:12 +00:00
ehofman 5f21c75e02 Make it possible to define multiple texture for a material (multiple <texture> entries in the materials.xml file). The code can return a random texture, or a pre defined texture upon request (default is random) 2004-03-02 10:51:13 +00:00
curt 79d72b6292 Add front() methods SGQueue, SGLockedQueue, and SGBlockingQueue so that the
can be used more interchangably with a regular STL queue.
2004-02-28 18:51:20 +00:00
david aa67c738a1 Load submodels before animations, so that we can animate submodels.
Allow submodels to be named when they are loaded.
2004-02-27 03:30:01 +00:00
ehofman 117628bf7e Melchior FRANZ:
Add proxy support to the metar class. Authorization is untested, but everything else works. Martin will have to tell us ...
2004-02-26 09:46:36 +00:00
ehofman 70dbbf52f0 Melchior FRANZ:
Here are some updates for the metar class:

- support for empty visibility group
- support for 4-alnum IACO ids (rather than only 4-alpha)
- better diagnosis in exception messages
- check for 404 http response
- replace last constant by constants.h definition
2004-02-23 20:07:20 +00:00
curt 99bf2c6f9e Comment out an improperly written constructor. 2004-02-23 01:34:31 +00:00
ehofman 3fdeea7f65 An ugly hack to get MipsPro 7.4.1 working on IRIX 6
.5.20 (Yuck)
2004-02-20 16:07:51 +00:00
andy ea9d110036 Fix from Richard Harke for 64 bit systems. The reftag was left
uninitialized by naNum().  If it happened to be constructing it on the
stack in a location previously occupied by a real reference, it would
generate a corrupt naRef.
2004-02-20 15:10:49 +00:00
ehofman 16ad232e0d Changes to tke sky dome coloring 2004-02-18 14:33:16 +00:00
ehofman 5b8e5fce20 Remove an extra sgSetVec call 2004-02-17 14:40:05 +00:00
david 0633d703d0 Be a little quieter at the default debug level. 2004-02-07 21:36:20 +00:00
ehofman ec6ce9fcd8 Move the new metar class from FlightGear to SimGear 2004-02-02 10:12:31 +00:00
andy c9e53d5a30 Yank the MSVC special handling. It turns out it was becuase "strlen"
has special voodoo in the parser.  That's much more cleanly handled by
renaming the function than by #ifdef'ing.
2004-02-01 17:47:08 +00:00
curt 828e10773c Fix a slight ambiguity in variable names. 2004-01-31 19:50:35 +00:00
ehofman 34b5c1a1b9 Activate the driver fog workaround again. It doesn't seem to be solved yet. 2004-01-29 18:25:55 +00:00
curt b2a7975493 Frederic BOUVIER:
Win32 serial port communication fixes.
2004-01-27 15:55:47 +00:00
ehofman f0af686d17 Make sure all libraries are used to test for certain functions 2004-01-27 09:41:33 +00:00
ehofman eda1121054 Fix a mistake 2004-01-26 19:59:36 +00:00
ehofman d97eb240d9 Clean up the Pre-, and PostDraw functions a bit. Especially the glPushAttrib has had some attention. The NVidia hack is commented out for now. 2004-01-24 12:08:12 +00:00
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