1
0
Fork 0
Commit graph

213 commits

Author SHA1 Message Date
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
curt
b77c2362c5 Debugging output tweaks. 1998-03-23 21:23:05 +00:00
curt
003267eed8 Beginning initial terrain texturing experiments. 1998-03-14 00:30:50 +00:00
curt
2805fb7cb2 Thursday's tweaks. 1998-02-20 00:16:14 +00:00
curt
e5a447ece9 Incorporated some HUD tweaks from Michelle America.
Tweaked the sky's sunset/rise colors.
Other misc. tweaks.
1998-02-19 13:05:43 +00:00
curt
c0954417a7 Tweaks to build with SGI OpenGL (and therefor hopefully other accelerated
drivers will work.)
1998-02-18 15:07:02 +00:00
curt
e1639ee6c1 Miscellaneous weekend tweaks. Fixed? a cache problem that caused whole
tiles to occasionally be missing.
1998-02-16 13:39:42 +00:00
curt
913fe75558 Incorporated code changes contributed by Charlie Hotchkiss
<chotchkiss@namg.us.anritsu.com>
1998-02-12 21:58:27 +00:00
curt
d0694b34cd Minor changes. 1998-02-11 02:50:34 +00:00
curt
b570e9ce9a Removed "depend" files from cvs control. Other minor make tweaks. 1998-02-09 22:56:28 +00:00
curt
fb9347b2e6 Fixed a nagging problem with terrain tiles not "quite" matching up perfectly. 1998-02-09 21:30:18 +00:00
curt
d126b3d8f0 Minor tweaks. 1998-02-09 15:07:47 +00:00
curt
50c0f6c9e6 Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
<chotchkiss@namg.us.anritsu.com>
1998-02-07 15:29:31 +00:00
curt
0bb3c2969a Lots of little tweaks to fix various consistency problems discovered by
Solaris' CC.  Fixed a bug in fg_debug.c with how the fgPrintf() wrapper
passed arguments along to the real printf().  Also incorporated HUD changes
by Michele America.
1998-02-03 23:20:08 +00:00
curt
b2e8448645 Minor tweaks. 1998-02-01 03:39:53 +00:00
curt
5e44c9dd0a Added MetroWorks patches from Carmen Volpe. 1998-01-31 00:42:57 +00:00
curt
4ec2093a99 First pass at tile cache, dynamic tile loading and tile unloading now works. 1998-01-29 00:51:38 +00:00
curt
156f35932b Playing with new fgPrintf command. 1998-01-27 03:26:41 +00:00
curt
3680a11148 Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
system and commandline/config file processing code.
1998-01-27 00:47:41 +00:00
curt
ec3fa29ae2 Progressing on building dynamic scenery system. 1998-01-26 15:55:24 +00:00
curt
db9fbe603f Initial revision. Taken from Mark Kilgard's GLUT examples. 1998-01-24 13:03:21 +00:00
curt
9dcdb982dc Initial revision. 1998-01-24 00:03:27 +00:00
curt
e3f22ebb2a tileutils.* renamed to bucketutils.* 1998-01-23 20:06:50 +00:00
curt
38264efc4d Changed #ifdef FILE_H to #ifdef _FILE_H 1998-01-22 02:59:23 +00:00
curt
ec140f2161 More misc. tweaks for rpk make merge. 1998-01-19 19:42:58 +00:00
curt
bda27365e4 Merged in make system changes from Bob Kuehne <rpk@sgi.com>
This should simplify things tremendously.
1998-01-19 19:26:51 +00:00
curt
f1ec224b73 Tons of little changes to clean up the code and to remove fatal errors
when building with the c++ compiler.
1998-01-19 18:40:15 +00:00
curt
ebc946c2df Makde offset_bucket visible to outside. 1998-01-14 02:19:04 +00:00
curt
0f64d76c81 Initial changes to support loading and management of scenery tiles. Note,
there's still a fair amount of work left to be done.
1998-01-13 00:23:08 +00:00
curt
3cead5c91d Misc api changes and tweaks. 1998-01-10 00:01:47 +00:00
curt
b671090310 Continue working on basic features. 1998-01-08 02:22:26 +00:00
curt
3a3210a2de "area" renamed to "tile" 1998-01-07 23:50:01 +00:00
curt
fac8774c78 Initial revision. 1998-01-07 23:23:40 +00:00
curt
bebb590b9c Miscellaneous tweaks. 1998-01-07 03:31:25 +00:00
curt
ecd729cf47 Given an arbitrary lat/lon, we can now:
generate a unique index for the chunk containing the lat/lon
  generate a path name to the chunk file
  build a list of the indexes of all the nearby areas.
1998-01-07 03:29:29 +00:00
curt
54837eb314 Moved astro stuff to .../Src/Astro/ 1998-01-07 03:22:28 +00:00
curt
37c910d1de Moved to ../Astro/ 1998-01-07 03:06:12 +00:00
curt
705247a6c0 Initial revision. 1998-01-07 02:05:48 +00:00
curt
68539c69f9 Tweaks to help building with MSVC++ 1998-01-06 01:20:16 +00:00
curt
2e27909b9e Add an option to advance/decrease time from keyboard. 1998-01-05 18:44:33 +00:00
curt
e20b2023dc Worked on winding problem without luck, so back to calling glFrontFace()
3 times for each scenery area.
1997-12-30 23:09:40 +00:00
curt
846a4d14d8 Further integration of event manager. 1997-12-30 22:22:31 +00:00
curt
2ebbbe0053 Integrated new event manager with subsystem initializations. 1997-12-30 20:47:34 +00:00
curt
92b6d61944 Added log at end of file. 1997-12-30 16:41:00 +00:00
curt
ed729a630e Merged in Durk's changes ... 1997-12-30 16:36:40 +00:00
curt
96068a55c9 A couple lighting tweaks ... 1997-12-30 13:06:56 +00:00
curt
09b8076bca Switched back to per vertex normals and smooth shading for terrain. 1997-12-30 01:38:37 +00:00
curt
feabb5024a Tweaked the sky coloring a bit to build in structures to allow finer rgb
control.
1997-12-23 04:58:38 +00:00
curt
67f36724dd First stab at sunset/sunrise sky glow effects. 1997-12-22 23:45:45 +00:00
curt
45ed7c79f8 Aligned sky with sun so dusk/dawn effects can be correct relative to the sun. 1997-12-22 04:14:28 +00:00
curt
3c398c79ca Lot's of tweaking with sky rendering and lighting. 1997-12-19 23:34:03 +00:00
curt
46e6042aab Working on scene rendering order and options. 1997-12-19 16:44:57 +00:00
curt
8b50eb1149 First stab at sky dome actually starting to look reasonable. :-) 1997-12-18 23:32:28 +00:00
curt
a26c9b75ee Worked on properly translating and positioning the sky dome. 1997-12-18 04:07:02 +00:00
curt
9dbcf67b4c Initial revision.
Begin work on rendering the sky. (Rather than just using a clear screen.)
1997-12-17 23:14:30 +00:00
curt
b22a4d27db Began working on rendering the sky. 1997-12-17 23:13:45 +00:00
curt
e292d8e660 Fixed so moon and sun display lists aren't recreate periodically. 1997-12-17 23:12:14 +00:00
curt
d19c5f0b6f Add xgl wrappers for debugging.
Generate terrain normals on the fly.
1997-12-15 23:54:25 +00:00
curt
d06b80036f Misc. tweaks. 1997-12-15 20:59:08 +00:00
curt
f92f2a5c29 More light/material property tweaking ... still a ways off. 1997-12-12 21:41:24 +00:00
curt
40f0747fac Working on lightling and material properties. 1997-12-12 19:52:47 +00:00
curt
09ee64ff67 Fixed sun vector and lighting problems. I thing the moon is now lit
correctly.
1997-12-11 04:43:53 +00:00
curt
28fad1d296 Prepended "fg" on the name of all global structures that didn't have it yet.
i.e. "struct WEATHER {}" became "struct fgWEATHER {}"
1997-12-10 22:37:34 +00:00
curt
871ee408fa Tweaks for verion 0.15 release. 1997-12-10 01:19:42 +00:00
curt
330ff4ab53 Working on tweaking lighting. 1997-12-09 05:11:54 +00:00
curt
4ab16fd58e Working on adding a global lighting params structure. 1997-12-09 04:25:25 +00:00
curt
2425bbe6bd Enhanced to handle ccw and cw tri-stripe winding. This is a temporary
admission of defeat.  I will eventually go back and get all the stripes
wound the same way (ccw).
1997-12-08 22:51:17 +00:00
curt
98ec9af098 Changed planets.dat Planets.dat 1997-11-25 23:20:44 +00:00
curt
57ae31aa50 Initial revision. 1997-11-25 23:20:22 +00:00
curt
c8d2e72433 Changes to integrate Durk's moon/sun code updates + clean up. 1997-11-25 19:25:27 +00:00
curt
b1cf1fcee0 minor tweaks. 1997-11-15 18:16:34 +00:00
curt
273bd9bc6e Transform scenery coordinates earlier in pipeline when scenery is being
created, not when it is being loaded.  Precalculate normals for each node
as average of the normals of each containing polygon so Garoude shading is
now supportable.
1997-11-14 00:26:49 +00:00
curt
62872fb302 Tweaking vertex orders. 1997-10-31 04:49:12 +00:00
curt
b5293f1f44 Working on new scenery subsystem. 1997-10-30 12:38:35 +00:00
curt
1482fc2d3e Initial revision. 1997-10-28 21:14:54 +00:00
curt
acfd549ea7 Changing to new terrain format. 1997-10-28 21:00:20 +00:00
curt
9c896fd77a Removed to make way for a simpler file loading sceme. 1997-10-28 20:58:17 +00:00