curt
e8d0a16e41
Updated struct fgGENERAL to class FGGeneral.
1999-01-07 20:24:43 +00:00
curt
790657391d
Fixed view frustum culling accuracy bug so we can look out the sides and
...
back without tri-stripes dropping out.
1998-12-11 20:26:25 +00:00
curt
f450f4a9af
Converted "class fgVIEW" to "class FGView" and updated to make data
...
members private and make required accessor functions.
1998-12-09 18:50:12 +00:00
curt
71f334cc0d
Renamed class fgFLIGHT to class FGState as per request by JSB.
1998-12-05 15:53:59 +00:00
curt
7fbb963a39
Converted fgFLIGHT to a class.
1998-12-03 01:14:58 +00:00
curt
f2234416b0
Added pow() macro bug work around.
...
Added support for starting FGFS at various resolutions.
Added some initial serial port support.
Specify default log levels in main().
1998-11-16 13:59:58 +00:00
curt
4fee7f9df2
Tweaks for the instrument panel.
1998-11-09 23:39:22 +00:00
curt
c74350c4fe
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.
1998-11-06 21:17:31 +00:00
curt
7efee52485
Point3D tweaks.
1998-10-18 01:17:16 +00:00
curt
5b752bfb5f
C++ ifying ...
1998-10-17 01:33:52 +00:00
curt
7e240adff1
Converted to Point3D class.
1998-10-16 00:51:46 +00:00
curt
6438a27244
Added F8 to toggle fog and F9 to toggle texturing.
1998-09-17 18:35:30 +00:00
curt
032806000b
Optimizations by Norman Vine.
1998-09-08 15:04:33 +00:00
curt
3eb6f1d640
Reshuffled some of the code in and around views.[ch]xx
1998-08-20 20:32:31 +00:00
curt
009c34bd23
Set near clip plane to 0.5 meters when close to the ground. Also, let the view get a bit closer to the ground before hitting the hard limit.
1998-07-24 21:56:59 +00:00
curt
f6f21702ce
Debugging output tweaks.
...
Cast glGetString to (char *) to avoid compiler errors.
Optimizations to fgGluLookAt() by Norman Vine.
1998-07-24 21:39:08 +00:00
curt
4abe562805
Wrote access functions for current fgOPTIONS.
1998-07-13 21:00:09 +00:00
curt
330c78ac73
Added ground collision detection.
...
Did some serious horsing around to be able to "hug" the ground properly
and still be able to take off.
Set the near clip plane to 1.0 meters when less than 10 meters above the
ground.
Did some serious horsing around getting the initial airplane position to be
correct based on rendered terrain elevation.
Added a little cheat/hack that will prevent the view position from ever
dropping below the terrain, even when the flight model doesn't quite
put you as high as you'd like.
1998-07-12 03:14:42 +00:00
curt
0099b307bc
polar3d.h renamed to polar3d.hxx
...
vector.h renamed to vector.hxx
updated audio support so it waits to create audio classes (and tie up
/dev/dsp) until the mpg123 player is finished.
1998-07-08 14:45:07 +00:00
curt
2be63aa0fb
Add my own version of gluLookAt() (which is nearly identical to the
...
Mesa/glu version.) But, by calculating the Model View matrix our selves
we can save this matrix without having to read it back in from the video
card. This hopefully allows us to save a few cpu cycles when rendering
out the fragments because we can just use glLoadMatrixd() with the
precalculated matrix for each tile rather than doing a push(), translate(),
pop() for every fragment.
Panel status defaults to off for now until it gets a bit more developed.
Extract OpenGL driver info on initialization.
1998-07-04 00:52:22 +00:00
curt
476d5e73b2
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.
1998-06-03 00:47:11 +00:00
curt
2cd509d3de
View optimizations by Norman Vine.
1998-05-27 02:24:05 +00:00
curt
fdc94bd13a
First pass at view frustum culling now operational.
1998-05-17 16:59:03 +00:00
curt
65cc9a9e66
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.
1998-05-16 13:08:34 +00:00
curt
1f5aeb1d46
Updated polartocart conversion routine.
1998-05-02 01:51:01 +00:00
curt
d87408c767
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
1998-04-30 12:34:17 +00:00
curt
7352183ad9
Type-ified fgTIME and fgVIEW.
...
Added a command line option to disable textures.
1998-04-28 01:20:20 +00:00
curt
4a487175c9
"struct fgLIGHT" -> "fgLIGHT" because fgLIGHT is typedef'd.
1998-04-26 05:10:00 +00:00
curt
d4c9d9cbb3
Use already calculated LaRCsim values to create the roll/pitch/yaw
...
transformation matrix (we call it LOCAL)
1998-04-25 22:04:53 +00:00
curt
dd4a17a011
Cleaned up initialization sequence to eliminate interdependencies
...
between sun position, lighting, and view position. This creates a
valid single pass initialization path.
1998-04-25 20:24:00 +00:00
curt
f4c7a35129
Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
...
Trying out some different option parsing code.
Some code reorganization.
1998-04-24 00:49:17 +00:00
curt
920eefd4a7
C++ - ifing the code.
...
Starting a bit of reorganization of lighting code.
1998-04-22 13:25:39 +00:00