]> git.mxchange.org Git - simgear.git/log
simgear.git
24 years agoComplete overhaul of the sky/sun/moon/stars/planets. It is now an ssg
curt [Thu, 16 Mar 2000 03:17:04 +0000 (03:17 +0000)]
Complete overhaul of the sky/sun/moon/stars/planets.  It is now an ssg
model that get's inserted into the scene graph.

24 years agoPass current latitude to moon position calculations to compenstate for it's
curt [Thu, 16 Mar 2000 03:14:23 +0000 (03:14 +0000)]
Pass current latitude to moon position calculations to compenstate for it's
parallax.

24 years agoUpdated to eliminate rendering component and allow initialization without a
curt [Thu, 16 Mar 2000 03:00:58 +0000 (03:00 +0000)]
Updated to eliminate rendering component and allow initialization without a
known time.

24 years agoInitial revision.
curt [Tue, 7 Mar 2000 00:47:37 +0000 (00:47 +0000)]
Initial revision.

24 years agoWorking on ssg-ifying sky.
curt [Mon, 6 Mar 2000 22:29:21 +0000 (22:29 +0000)]
Working on ssg-ifying sky.

24 years agoWorking on ssg-ifying the sky dome. Added the moon and other various tweaks.
curt [Mon, 6 Mar 2000 22:27:52 +0000 (22:27 +0000)]
Working on ssg-ifying the sky dome.  Added the moon and other various tweaks.

24 years agoWorking on drawing sun and sun halo.
curt [Thu, 2 Mar 2000 23:07:25 +0000 (23:07 +0000)]
Working on drawing sun and sun halo.

24 years agoFixed a typo in the sky dome painting code.
curt [Thu, 2 Mar 2000 19:06:28 +0000 (19:06 +0000)]
Fixed a typo in the sky dome painting code.

24 years agoSun now correctly placed in sky and correctly colored.
curt [Thu, 2 Mar 2000 18:20:52 +0000 (18:20 +0000)]
Sun now correctly placed in sky and correctly colored.

24 years agoAdded top level ephemeris class.
curt [Thu, 2 Mar 2000 15:06:14 +0000 (15:06 +0000)]
Added top level ephemeris class.

24 years agoWorking on separating out ephemeris code from the actual rendering code
curt [Thu, 2 Mar 2000 12:51:30 +0000 (12:51 +0000)]
Working on separating out ephemeris code from the actual rendering code
which I am trying to ssg-ify at the same time.

24 years agoSeparating out the Sky rendering as a separate unit and ssg-ifying it.
curt [Thu, 2 Mar 2000 02:03:18 +0000 (02:03 +0000)]
Separating out the Sky rendering as a separate unit and ssg-ifying it.

24 years agoStarting to work on an independent sky implimentation that can be used by
curt [Thu, 2 Mar 2000 00:56:35 +0000 (00:56 +0000)]
Starting to work on an independent sky implimentation that can be used by
any ssg application and can have it's components driven realistically based
on time.

24 years agoWorking on skydome ... some actual progress has been made. :-) Still
curt [Tue, 29 Feb 2000 23:31:32 +0000 (23:31 +0000)]
Working on skydome ... some actual progress has been made. :-)  Still
something goofy with sunrise, sunset effects.

24 years agoContinuing work on ssg-ifying the sky dome.
curt [Tue, 29 Feb 2000 16:13:02 +0000 (16:13 +0000)]
Continuing work on ssg-ifying the sky dome.

24 years agoFurther work on ssg-ifying the sky dome. (not tested) but I can build the
curt [Mon, 28 Feb 2000 23:04:07 +0000 (23:04 +0000)]
Further work on ssg-ifying the sky dome.  (not tested) but I can build the
structures and update the colors.  I still need to set up the transforms
properly and connect it into the scene graph.

24 years agoBeginning work on a restructure of the sky code.
curt [Mon, 28 Feb 2000 12:58:41 +0000 (12:58 +0000)]
Beginning work on a restructure of the sky code.

24 years agoUpdated to 0.0.4
curt [Tue, 22 Feb 2000 16:21:15 +0000 (16:21 +0000)]
Updated to 0.0.4

24 years agoAdded an include file that reports the current SimGear version.
curt [Tue, 22 Feb 2000 04:32:16 +0000 (04:32 +0000)]
Added an include file that reports the current SimGear version.

24 years agoRemoved mat3.h et. al. plib/sg.h provides a superset of mat3.h, has a
curt [Sat, 19 Feb 2000 20:58:58 +0000 (20:58 +0000)]
Removed mat3.h et. al.  plib/sg.h provides a superset of mat3.h, has a
cleaner design, and is something that we are already linking in.

24 years agoFixed a warning message.
curt [Sat, 19 Feb 2000 02:28:58 +0000 (02:28 +0000)]
Fixed a warning message.

24 years agoUpdates.
curt [Sat, 19 Feb 2000 02:22:47 +0000 (02:22 +0000)]
Updates.

24 years agoUpdates ..
curt [Thu, 17 Feb 2000 16:04:35 +0000 (16:04 +0000)]
Updates ..

24 years agoOne more pass at a reorg.
curt [Wed, 16 Feb 2000 22:01:06 +0000 (22:01 +0000)]
One more pass at a reorg.

24 years agoOne more pass at reorgs.
curt [Wed, 16 Feb 2000 22:00:51 +0000 (22:00 +0000)]
One more pass at reorgs.

24 years agoRemoved autogenerated file.
curt [Tue, 15 Feb 2000 05:15:23 +0000 (05:15 +0000)]
Removed autogenerated file.

24 years agoCode reorganization.
curt [Tue, 15 Feb 2000 02:30:02 +0000 (02:30 +0000)]
Code reorganization.

24 years agoAdded ...
curt [Tue, 15 Feb 2000 01:07:49 +0000 (01:07 +0000)]
Added ...

24 years agoRestructuring subdirectories.
curt [Mon, 14 Feb 2000 17:37:54 +0000 (17:37 +0000)]
Restructuring subdirectories.

24 years agoRemoved autogen'd files.
curt [Wed, 9 Feb 2000 19:33:04 +0000 (19:33 +0000)]
Removed autogen'd files.

24 years agoInitial revision
curt [Wed, 9 Feb 2000 19:27:02 +0000 (19:27 +0000)]
Initial revision

15 years agoMoved everything from Lib to simgear
Tim Moore [Wed, 16 Sep 2009 06:06:28 +0000 (08:06 +0200)]
Moved everything from Lib to simgear

24 years agoUpdated for plib-1.1.x
curt [Fri, 4 Feb 2000 21:50:04 +0000 (21:50 +0000)]
Updated for plib-1.1.x

24 years agoConverted sky colors from floats to GLubytes to try to work around Linux
curt [Thu, 30 Dec 1999 16:41:43 +0000 (16:41 +0000)]
Converted sky colors from floats to GLubytes to try to work around Linux
nVidia bug, with no success. :-(

25 years agoUse a more standard texture/blend mode combination for sun/moon halos to
curt [Wed, 3 Nov 1999 15:17:50 +0000 (15:17 +0000)]
Use a more standard texture/blend mode combination for sun/moon halos to
avoid render path that's not supported by all cards/drivers.

25 years agoMoved where glBlendFunc() is reset to main.cxx
curt [Fri, 22 Oct 1999 15:15:43 +0000 (15:15 +0000)]
Moved where glBlendFunc() is reset to main.cxx

25 years agoReset glBlendFunc() here to.
curt [Fri, 22 Oct 1999 12:58:39 +0000 (12:58 +0000)]
Reset glBlendFunc() here to.

25 years agoSet glBlendFunc ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ) ; when done drawing
curt [Fri, 22 Oct 1999 12:34:06 +0000 (12:34 +0000)]
Set glBlendFunc ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ) ; when done drawing
the Sun so that the cloud texture alpha blending will work correctly.

25 years agoMSVC++ portability fix.
curt [Mon, 11 Oct 1999 21:09:21 +0000 (21:09 +0000)]
MSVC++ portability fix.

25 years agoVarious SGI portability tweaks.
curt [Thu, 7 Oct 1999 21:08:50 +0000 (21:08 +0000)]
Various SGI portability tweaks.

25 years agoMACos fixes.
curt [Sat, 11 Sep 1999 14:35:28 +0000 (14:35 +0000)]
MACos fixes.

25 years agoTweaks to fix problems with moon rendering introduced with ssg.
curt [Sun, 15 Aug 1999 13:35:07 +0000 (13:35 +0000)]
Tweaks to fix problems with moon rendering introduced with ssg.

25 years agoScaled down the sun and moon sizes.
curt [Tue, 10 Aug 1999 01:42:34 +0000 (01:42 +0000)]
Scaled down the sun and moon sizes.

25 years agoSet up the model view matrix exactly as ssg does it before drawing sky, stars
curt [Sat, 7 Aug 1999 23:31:30 +0000 (23:31 +0000)]
Set up the model view matrix exactly as ssg does it before drawing sky, stars
sun, and moon.  I really should do a derived sgLeaf class so that these things
can be drawn within ssgCullandDraw() but this is quicker for now ...

25 years agoBorland C++ tweaks.
curt [Sun, 20 Jun 1999 01:52:31 +0000 (01:52 +0000)]
Borland C++ tweaks.
MacOS/Metrowerks tweaks.
Fix for fgText default constructor.

25 years agoInitial revision
curt [Thu, 17 Jun 1999 18:07:36 +0000 (18:07 +0000)]
Initial revision

15 years agoChanges contributed by Durk Talsma:
curt [Mon, 22 Mar 1999 02:08:05 +0000 (02:08 +0000)]
Changes contributed by Durk Talsma:

Here's a few changes I made to fg-0.58 this weekend. Included are the
following features:
- Sun and moon have a halo
- The moon has a light vector, moon_angle, etc. etc. so that we can have
  some moonlight during the night.
- Lot's of small changes tweakes, including some stuff Norman Vine sent
  me earlier.

15 years agoAdded initial support for native SGI compilers.
curt [Fri, 26 Feb 1999 22:08:34 +0000 (22:08 +0000)]
Added initial support for native SGI compilers.

15 years agoModifications to incorporate Jon S. Berndts flight model code.
curt [Fri, 5 Feb 1999 21:28:09 +0000 (21:28 +0000)]
Modifications to incorporate Jon S. Berndts flight model code.

15 years agoMSVC++ portability changes by Bernie Bright:
curt [Tue, 2 Feb 1999 20:13:29 +0000 (20:13 +0000)]
MSVC++ portability changes by Bernie Bright:

Lib/Serial/serial.[ch]xx: Initial Windows support - incomplete.
Simulator/Astro/stars.cxx: typo? included <stdio> instead of <cstdio>
Simulator/Cockpit/hud.cxx: Added Standard headers
Simulator/Cockpit/panel.cxx: Redefinition of default parameter
Simulator/Flight/flight.cxx: Replaced cout with FG_LOG.  Deleted <stdio.h>
Simulator/Main/fg_init.cxx:
Simulator/Main/GLUTmain.cxx:
Simulator/Main/options.hxx: Shuffled <fg_serial.hxx> dependency
Simulator/Objects/material.hxx:
Simulator/Time/timestamp.hxx: VC++ friend kludge
Simulator/Scenery/tile.[ch]xx: Fixed using std::X declarations
Simulator/Main/views.hxx: Added a constant

15 years agoRenamed FlightGear/Simulator/Flight to FlightGear/Simulator/FDM since
curt [Mon, 1 Feb 1999 21:33:23 +0000 (21:33 +0000)]
Renamed FlightGear/Simulator/Flight to FlightGear/Simulator/FDM since
Jon accepted my offer to do this and thought it was a good idea.

15 years agoBug fix in vertex order of inner disk (fan) of the sky dome.
curt [Mon, 1 Feb 1999 21:09:00 +0000 (21:09 +0000)]
Bug fix in vertex order of inner disk (fan) of the sky dome.

15 years agoRemoved code to make sun appear larger at the horizon.
curt [Wed, 27 Jan 1999 04:46:45 +0000 (04:46 +0000)]
Removed code to make sun appear larger at the horizon.

15 years agoDon't know how this got in, but it is gone now.
curt [Fri, 22 Jan 1999 16:03:13 +0000 (16:03 +0000)]
Don't know how this got in, but it is gone now.

15 years agoMacOS portability changes contributed by "Robert Puyol" <puyol@abvent.fr>
curt [Tue, 19 Jan 1999 20:57:00 +0000 (20:57 +0000)]
MacOS portability changes contributed by "Robert Puyol" <puyol@abvent.fr>

15 years agoRemoved unneeded #include
curt [Wed, 6 Jan 1999 21:54:18 +0000 (21:54 +0000)]
Removed unneeded #include

15 years agoConverted "class fgVIEW" to "class FGView" and updated to make data
curt [Wed, 9 Dec 1998 18:50:12 +0000 (18:50 +0000)]
Converted "class fgVIEW" to "class FGView" and updated to make data
members private and make required accessor functions.

15 years agoSun now appears to grow in size as it gets very low in the horizon.
curt [Tue, 8 Dec 1998 21:42:31 +0000 (21:42 +0000)]
Sun now appears to grow in size as it gets very low in the horizon.

15 years agoRenamed class fgFLIGHT to class FGState as per request by JSB.
curt [Sat, 5 Dec 1998 15:53:59 +0000 (15:53 +0000)]
Renamed class fgFLIGHT to class FGState as per request by JSB.

15 years agomath domain error fix from Charlie Hotchkiss.
curt [Fri, 4 Dec 1998 01:25:05 +0000 (01:25 +0000)]
math domain error fix from Charlie Hotchkiss.

15 years agoConverted fgFLIGHT to a class.
curt [Thu, 3 Dec 1998 01:15:35 +0000 (01:15 +0000)]
Converted fgFLIGHT to a class.
Tweaks for Sun portability.

15 years agousing an uninitialized variable bug fixed.
curt [Mon, 30 Nov 1998 17:42:37 +0000 (17:42 +0000)]
using an uninitialized variable bug fixed.

15 years agoBorland portability tweaks.
curt [Mon, 23 Nov 1998 21:48:09 +0000 (21:48 +0000)]
Borland portability tweaks.

15 years agowhitespace tweak.
curt [Fri, 20 Nov 1998 01:01:45 +0000 (01:01 +0000)]
whitespace tweak.

15 years agoEnable release builds using the --without-logging option to the configure
curt [Sat, 7 Nov 1998 19:07:06 +0000 (19:07 +0000)]
Enable release builds using the --without-logging option to the configure
script.  Also a couple log message cleanups, plus some C to C++ comment
conversion.

15 years agoConverted to new logstream debugging facility. This allows release
curt [Fri, 6 Nov 1998 21:17:31 +0000 (21:17 +0000)]
Converted to new logstream debugging facility.  This allows release
builds with no messages at all (and no performance impact) by using
the -DFG_NDEBUG flag.

15 years agoChanges to track Bernie's updates to fgstream.
curt [Fri, 6 Nov 1998 14:46:59 +0000 (14:46 +0000)]
Changes to track Bernie's updates to fgstream.

15 years agoTweaked sunset/sunrise colors.
curt [Tue, 20 Oct 1998 18:28:30 +0000 (18:28 +0000)]
Tweaked sunset/sunrise colors.

15 years agoC++-ifying.
curt [Fri, 16 Oct 1998 23:26:44 +0000 (23:26 +0000)]
C++-ifying.

15 years agoConverted to Point3D class.
curt [Fri, 16 Oct 1998 00:51:46 +0000 (00:51 +0000)]
Converted to Point3D class.

15 years agoConverted to c++ style comments.
curt [Thu, 24 Sep 1998 15:36:19 +0000 (15:36 +0000)]
Converted to c++ style comments.

15 years agoMiscellaneous tweaks.
curt [Thu, 24 Sep 1998 15:25:22 +0000 (15:25 +0000)]
Miscellaneous tweaks.

15 years agoFixed output message.
curt [Thu, 17 Sep 1998 18:25:11 +0000 (18:25 +0000)]
Fixed output message.

15 years agoNew textured moon and rewritten/restructured Astro code contributed by Durk
curt [Tue, 15 Sep 1998 04:26:07 +0000 (04:26 +0000)]
New textured moon and rewritten/restructured Astro code contributed by Durk
Talsma.

15 years agolog file tweak.
curt [Thu, 3 Sep 1998 21:25:39 +0000 (21:25 +0000)]
log file tweak.

15 years agoChanges contributed by Bernie Bright <bbright@c031.aone.net.au>
curt [Tue, 1 Sep 1998 19:02:53 +0000 (19:02 +0000)]
Changes contributed by Bernie Bright <bbright@c031.aone.net.au>
 - The new classes in libmisc.tgz define a stream interface into zlib.
   I've put these in a new directory, Lib/Misc.  Feel free to rename it
   to something more appropriate.  However you'll have to change the
   include directives in all the other files.  Additionally you'll have
   add the library to Lib/Makefile.am and Simulator/Main/Makefile.am.

   The StopWatch class in Lib/Misc requires a HAVE_GETRUSAGE autoconf
   test so I've included the required changes in config.tgz.

   There are a fair few changes to Simulator/Objects as I've moved
   things around.  Loading tiles is quicker but thats not where the delay
   is.  Tile loading takes a few tenths of a second per file on a P200
   but it seems to be the post-processing that leads to a noticeable
   blip in framerate.  I suppose its time to start profiling to see where
   the delays are.

   I've included a brief description of each archives contents.

Lib/Misc/
  zfstream.cxx
  zfstream.hxx
    C++ stream interface into zlib.
    Taken from zlib-1.1.3/contrib/iostream/.
    Minor mods for STL compatibility.
    There's no copyright associated with these so I assume they're
    covered by zlib's.

  fgstream.cxx
  fgstream.hxx
    FlightGear input stream using gz_ifstream.  Tries to open the
    given filename.  If that fails then filename is examined and a
    ".gz" suffix is removed or appended and that file is opened.

  stopwatch.hxx
    A simple timer for benchmarking.  Not used in production code.
    Taken from the Blitz++ project.  Covered by GPL.

  strutils.cxx
  strutils.hxx
    Some simple string manipulation routines.

Simulator/Airports/
  Load airports database using fgstream.
  Changed fgAIRPORTS to use set<> instead of map<>.
  Added bool fgAIRPORTS::search() as a neater way doing the lookup.
  Returns true if found.

Simulator/Astro/
  Modified fgStarsInit() to load stars database using fgstream.

Simulator/Objects/
  Modified fgObjLoad() to use fgstream.
  Modified fgMATERIAL_MGR::load_lib() to use fgstream.
  Many changes to fgMATERIAL.
  Some changes to fgFRAGMENT but I forget what!

15 years agoRewrite of event manager thanks to Bernie Bright.
curt [Sat, 29 Aug 1998 13:07:16 +0000 (13:07 +0000)]
Rewrite of event manager thanks to Bernie Bright.

15 years agoContributions from Bernie Bright <bbright@c031.aone.net.au>
curt [Thu, 27 Aug 1998 17:01:55 +0000 (17:01 +0000)]
Contributions from Bernie Bright <bbright@c031.aone.net.au>
- use strings for fg_root and airport_id and added methods to return
  them as strings,
- inlined all access methods,
- made the parsing functions private methods,
- deleted some unused functions.
- propogated some of these changes out a bit further.

15 years agoShuffled $FG_ROOT file layout.
curt [Tue, 25 Aug 1998 20:53:24 +0000 (20:53 +0000)]
Shuffled $FG_ROOT file layout.

15 years agoNailed a uninitialized variable usage bug that was killing us on some
curt [Sat, 22 Aug 1998 02:01:11 +0000 (02:01 +0000)]
Nailed a uninitialized variable usage bug that was killing us on some
platforms with some compiler options.

15 years agoMinor tweaks to avoid using unitialized memory.
curt [Sat, 22 Aug 1998 01:18:59 +0000 (01:18 +0000)]
Minor tweaks to avoid using unitialized memory.

15 years agoSky now tracks adjusted fog color so it blends well with terrain.
curt [Wed, 12 Aug 1998 21:40:44 +0000 (21:40 +0000)]
Sky now tracks adjusted fog color so it blends well with terrain.

15 years agoRewrote star loading and rendering to:
curt [Mon, 10 Aug 1998 20:33:09 +0000 (20:33 +0000)]
Rewrote star loading and rendering to:
  1. significantly improve load speed
  2. transition from no stars to stars through eight stages.

15 years agoModified to bring in stars in 8 increments based on magnitude, not number
curt [Thu, 6 Aug 1998 12:45:20 +0000 (12:45 +0000)]
Modified to bring in stars in 8 increments based on magnitude, not number
of stars.

15 years agoEliminated glScale call so that glutSolidSphere normals are preserved
curt [Thu, 30 Jul 1998 23:43:30 +0000 (23:43 +0000)]
Eliminated glScale call so that glutSolidSphere normals are preserved
correctly.  Also made the sun & moon a bit smaller.

15 years agoLower skirt tracks adjusted fog color, not fog color.
curt [Wed, 22 Jul 1998 21:39:21 +0000 (21:39 +0000)]
Lower skirt tracks adjusted fog color, not fog color.

15 years agoWrote access functions for current fgOPTIONS.
curt [Mon, 13 Jul 1998 21:00:09 +0000 (21:00 +0000)]
Wrote access functions for current fgOPTIONS.

15 years agoIn fgCalculatePlanet() pass a pointer to a structure to be modified, rather
curt [Sat, 27 Jun 1998 16:51:54 +0000 (16:51 +0000)]
In fgCalculatePlanet() pass a pointer to a structure to be modified, rather
than returning the entire structure.

15 years agoBuild only static libraries.
curt [Fri, 12 Jun 1998 01:01:14 +0000 (01:01 +0000)]
Build only static libraries.

15 years agoAdded zlib support for reading in compressed data files.
curt [Fri, 29 May 1998 20:35:41 +0000 (20:35 +0000)]
Added zlib support for reading in compressed data files.

15 years agoDerived file "Makefile.in" removed from version control.
curt [Sat, 23 May 1998 14:18:28 +0000 (14:18 +0000)]
Derived file "Makefile.in" removed from version control.

15 years agoUse new C++ events class.
curt [Sat, 23 May 1998 14:07:14 +0000 (14:07 +0000)]
Use new C++ events class.

15 years agoRoot path info moved to fgOPTIONS.
curt [Wed, 13 May 1998 18:25:34 +0000 (18:25 +0000)]
Root path info moved to fgOPTIONS.

15 years agoType-ified fgTIME and fgVIEW
curt [Tue, 28 Apr 1998 01:18:59 +0000 (01:18 +0000)]
Type-ified fgTIME and fgVIEW

15 years ago"struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
curt [Sun, 26 Apr 1998 05:10:00 +0000 (05:10 +0000)]
"struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.

15 years agoEdited cvs log messages in source files ... bad bad bad!
curt [Sat, 25 Apr 1998 22:06:24 +0000 (22:06 +0000)]
Edited cvs log messages in source files ... bad bad bad!

15 years agoWrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
curt [Fri, 24 Apr 1998 00:45:00 +0000 (00:45 +0000)]
Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
Fixed a bug when generating sky colors.

15 years agoC++ - ifing the code a bit.
curt [Wed, 22 Apr 1998 13:21:26 +0000 (13:21 +0000)]
C++ - ifing the code a bit.

15 years agoPrepairing for C++ integration.
curt [Tue, 21 Apr 1998 17:02:27 +0000 (17:02 +0000)]
Prepairing for C++ integration.

15 years agoMoved fg_debug.c to it's own library.
curt [Sat, 18 Apr 1998 04:13:51 +0000 (04:13 +0000)]
Moved fg_debug.c to it's own library.