curt
f8356621c1
Add basic fgFACE methods contributed by Charlie Hotchkiss.
...
intersect optimization from Norman Vine.
1998-07-22 21:41:42 +00:00
curt
adee4bc151
Added far clip plane to fragment clipping calculations and tie this to
...
weather->visibility. This way you can increase framerates by increasing
for and lowering visibility.
1998-07-20 12:51:26 +00:00
curt
5ed5107fc1
Ground collision detection optimizations contributed by Norman Vine.
1998-07-16 17:34:24 +00:00
curt
4abe562805
Wrote access functions for current fgOPTIONS.
1998-07-13 21:00:09 +00:00
curt
262b2f0607
Added ground collision detection. This involved:
...
- saving the entire vertex list for each tile with the tile records.
- saving the face list for each fragment with the fragment records.
- code to intersect the current vertical line with the proper face in
an efficient manner as possible.
Fixed a bug where the tiles weren't being shifted to "near" (0,0,0)
1998-07-12 03:18:27 +00:00
curt
a0f58259dd
Fix GL_MODULATE vs. GL_DECAL problem introduced by splash screen.
...
polare3d.h renamed to polar3d.hxx
fg{Cartesian,Polar}Point3d consolodated.
Added some initial support for calculating local current ground elevation.
1998-07-08 14:47:20 +00:00
curt
39c1facaef
Added using namespace std for compilers that support this.
1998-07-06 21:34:33 +00:00
curt
6d48ba08a0
Added automatic mipmap generation.
...
When rendering fragments, use saved model view matrix from associated tile
rather than recalculating it with push() translate() pop().
1998-07-04 00:54:28 +00:00
curt
be9d6ea4ea
Check for GL_VERSION_1_1 or GL_EXT_texture_object to decide whether to use
...
"EXT" versions of texture management routines.
1998-06-27 16:54:59 +00:00
curt
24c78e8146
Load and manage multiple textures defined in the Materials library.
...
Boost max material fagments for each material property to 800.
Multiple texture support when rendering.
1998-06-17 21:36:39 +00:00
curt
7b98736e32
Build only static libraries.
...
Declare memmove/memset for Sloaris.
1998-06-12 00:55:58 +00:00
curt
a6c7336cad
Working first pass at material proporty sorting.
1998-06-08 17:57:54 +00:00
curt
d0b19c0ce1
I goofed on the log message in the last commit ... now fixed.
1998-06-06 01:09:31 +00:00
curt
0a840e1dbd
Increased per material fragment list size from 100 to 400.
1998-06-06 01:07:17 +00:00
curt
5c10725624
Working on sorting by, and rendering by material properties.
1998-06-05 22:39:53 +00:00
curt
22dd9999a8
Recognize file, file.gz, and file.obj as scenery object files.
1998-06-05 18:19:18 +00:00
curt
eda1cfe31c
No .h for STL includes.
...
Minor view culling optimizations.
1998-06-03 00:47:50 +00:00
curt
3615dd708a
Incremental additions to material.cxx (not fully functional)
...
Tweaked vfc_ratio math to avoid divide by zero.
1998-06-01 17:56:20 +00:00
curt
823c662ed4
Added material.cxx material.hxx
1998-05-30 01:56:44 +00:00
curt
922f9e9ba1
Implimented fragment level view frustum culling.
1998-05-24 02:49:09 +00:00
curt
4c1ec83f52
farting around with CVS ...
1998-05-23 14:49:58 +00:00
curt
26757b73b2
Derived file "Makefile.in" removed from version control.
1998-05-23 14:18:28 +00:00
curt
a1654d7c8d
removed from version control.
1998-05-23 14:17:45 +00:00
curt
a60f1d812d
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.
1998-05-23 14:09:20 +00:00
curt
70fae724a7
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.
1998-05-20 20:53:53 +00:00
curt
e57fd21bd3
Frist pass at view frustum culling now operational.
1998-05-17 16:59:34 +00:00
curt
7f1d04962e
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.
1998-05-16 13:09:57 +00:00
curt
37df3de51d
Root path info moved to fgOPTIONS.
1998-05-13 18:25:34 +00:00
curt
a205e76218
Fixed a glTexImage2D() usage bug where width and height were mis-swapped.
...
Added support for --tile-radius=n option.
1998-05-07 23:15:20 +00:00
curt
36ba635389
Added an option to control square tile radius.
1998-05-06 03:16:42 +00:00
curt
e7f0f1956c
Updated texture coordinate fmod() parameter.
1998-05-03 00:48:01 +00:00
curt
5a4b56c58e
Playing around with texture coordinates.
1998-05-02 01:52:14 +00:00
curt
401b414feb
Added a command line rendering option specify smooth/flat shading.
1998-04-30 12:35:26 +00:00
curt
09bd08b931
Wrapped zlib calls up so we can conditionally comment out zlib support.
1998-04-28 21:42:50 +00:00
curt
96525339ed
Tweaked texture parameter calculations to keep the number smaller. This
...
avoids the "swimming" problem.
Type-ified fgTIME and fgVIEW.
1998-04-28 01:21:42 +00:00
curt
78268051c9
Screwing around with texture coordinate generation ... still needs work.
1998-04-27 15:58:15 +00:00
curt
ed0acbad5b
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.
1998-04-27 03:30:13 +00:00
curt
aa6f7608d7
Added zlib support.
1998-04-26 05:06:29 +00:00
curt
0b782544a3
Edited cvs log messages in source files ... bad bad bad!
1998-04-25 22:06:24 +00:00
curt
a7213d8a82
Changed "r" to "rb" in gzopen() options. This fixes bad behavior in win32.
1998-04-25 15:09:57 +00:00
curt
435f374258
Added "file.obj.gz" support.
1998-04-24 14:21:08 +00:00
curt
10fb3d1a0c
Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
...
Tweaked the scenery file extentions to be "file.obj" (uncompressed)
or "file.obz" (compressed.)
1998-04-24 00:51:07 +00:00
curt
aba1974dad
C++ - ifing the code a bit.
1998-04-22 13:21:26 +00:00
curt
664b1fa4a8
Prepairing for C++ integration.
1998-04-21 17:02:27 +00:00
curt
7d39aa3777
Moved fg_debug.c to it's own library.
1998-04-18 04:13:51 +00:00
curt
580b1acec6
Added zlib on the fly decompression support for loading scenery objects.
1998-04-18 04:13:17 +00:00
curt
ab59ca78b9
Code reorganizations. Added a Lib/ directory for more general libraries.
1998-04-14 02:23:04 +00:00
curt
e84ad0511b
Adopted Gnu automake/autoconf system.
1998-04-08 23:30:04 +00:00
curt
b69c64da41
Minor cleanups and reorganizations.
1998-04-06 15:56:15 +00:00
curt
74e16d77f8
Converting to Gnu autoconf system.
1998-04-03 22:09:02 +00:00