curt [Fri, 12 Jun 1998 01:00:59 +0000 (01:00 +0000)]
Build only static libraries.
Declare memmove/memset for Sloaris.
Added support for exponetial fog, which solves for the proper density to
achieve the desired visibility range.
curt [Fri, 12 Jun 1998 00:59:52 +0000 (00:59 +0000)]
Build only static libraries.
Declare memmove/memset for Sloaris.
Rewrote fg_time.c routine to get LST start seconds to better handle
Solaris, and be easier to port, and understand the GMT vs. local
timezone issues.
curt [Fri, 5 Jun 1998 18:18:12 +0000 (18:18 +0000)]
Incorporated some automake conditionals to try to support mktime() correctly
on a wider variety of platforms.
Added the declaration of memmove needed by the stl which apparently
solaris only defines for cc compilations and not for c++ (__STDC__)
curt [Wed, 3 Jun 1998 00:47:11 +0000 (00:47 +0000)]
Updated to compile in audio support if OSS available.
Updated for new version of Steve's audio library.
STL includes don't use .h
Small view optimizations.
curt [Sat, 23 May 1998 14:09:20 +0000 (14:09 +0000)]
Added tile.cxx and tile.hxx.
Working on rewriting the tile management system so a tile is just a list
fragments, and the fragment record contains the display list for that fragment.
curt [Fri, 22 May 1998 21:14:53 +0000 (21:14 +0000)]
Rewrote event.cxx in C++ as a class using STL for the internal event list
and run queue this removes the arbitrary list sizes and makes things much
more dynamic. Because this is C++-classified we can now have multiple
event_tables if we'd ever want them.
curt [Wed, 20 May 1998 20:53:53 +0000 (20:53 +0000)]
Moved global ref point and radius (bounding sphere info, and offset) to
data file rather than calculating it on the fly.
Fixed polygon winding problem in scenery generation stage rather than
compensating for it on the fly.
Made a fgTILECACHE class.
curt [Sat, 16 May 1998 13:09:57 +0000 (13:09 +0000)]
Beginning to add support for view frustum culling.
Added some temporary code to calculate bouding radius, until the
scenery generation tools and scenery can be updated.
curt [Sat, 16 May 1998 13:08:34 +0000 (13:08 +0000)]
C++ - ified views.[ch]xx
Shuffled some additional view parameters into the fgVIEW class.
Changed tile-radius to tile-diameter because it is a much better
name.
Added a WORLD_TO_EYE transformation to views.cxx. This allows us
to transform world space to eye space for view frustum culling.
curt [Wed, 13 May 1998 18:29:56 +0000 (18:29 +0000)]
Added a keyboard binding to dynamically adjust field of view.
Added a command line option to specify fov.
Adjusted terrain color.
Root path info moved to fgOPTIONS.
Added ability to parse options out of a config file.
curt [Thu, 7 May 1998 23:14:14 +0000 (23:14 +0000)]
Added "D" key binding to set autopilot heading.
Made frame rate calculation average out over last 10 frames.
Borland C++ floating point exception workaround.
Added a --tile-radius=n option.
Added command line rendering options:
enable/disable fog/haze
specify smooth/flat shading
disable sky blending and just use a solid color
enable wireframe drawing mode
Fixed a horible bug that cause the time to be *WAY* off when compiling
with the CygWin32 compiler. This may not yet completely address other
Win32 compilers, but we'll have to take them on a case by case basis.
Minor transformation adjustments to try to keep scenery tiles closer to
(0, 0, 0) GLfloats run out of precision at the distances we need to model
the earth, but we can do a bunch of pre-transformations using double math
and then cast to GLfloat once everything is close in where we have less
precision problems.