1
0
Fork 0
Commit graph

64 commits

Author SHA1 Message Date
curt
2e27909b9e Add an option to advance/decrease time from keyboard. 1998-01-05 18:44:33 +00:00
curt
4c3662a8f9 Tweaked fg_time.c to be able to use ftime() instead of gettimeofday() 1997-12-31 17:46:50 +00:00
curt
41dd9d6dae Calculate lighting parameters here. 1997-12-30 23:10:19 +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
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
b89d27f083 Initial revision. 1997-12-30 04:19:22 +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
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
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
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
91aef7cb1c Reverse direction of sun vector, so object normals can be more normal. 1997-11-15 18:15:39 +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
b5293f1f44 Working on new scenery subsystem. 1997-10-30 12:38:35 +00:00
curt
ed2fc539b2 Changed GLUT/ -> Main/ 1997-10-28 21:07:21 +00:00
curt
d06ebf220e Misc. tweaks. 1997-10-25 03:30:02 +00:00
curt
3fe61cf7ef Tweaks to get things to compile with gcc-win32. 1997-09-23 00:29:27 +00:00
curt
31519b5cd1 Continuing to try to align stars correctly. 1997-09-22 14:44:19 +00:00
curt
14efd49c8b Still trying to get those durned stars aligned properly. 1997-09-20 03:34:25 +00:00
curt
3b5f599f73 Tweaked time of day lighting equations. Don't draw stars during the day. 1997-09-16 22:14:47 +00:00
curt
1ba17de9ba Working on star alignment and time issues. 1997-09-16 15:50:29 +00:00
curt
45d02e3e68 Mostly working on stars and generating sidereal time for accurate star
placement.
1997-09-13 01:59:45 +00:00
curt
5d76cf2eaa More tweaking with stars. 1997-09-05 14:17:26 +00:00
curt
ad22cbffca Working on getting stars right. 1997-09-05 01:35:53 +00:00
curt
b830d97782 Shufflin' stuff. 1997-09-04 02:17:18 +00:00
curt
89a9811607 Changed naming scheme of basic shared structures. 1997-08-27 03:29:38 +00:00
curt
90e39d537f Merged in initial HUD and Joystick code. 1997-08-25 20:27:21 +00:00
curt
6510c9f3b4 Doing a bit of reorganizing and house cleaning. 1997-08-22 21:34:32 +00:00
curt
cdb1417490 Worked on better simulating real lighting. 1997-08-19 23:55:03 +00:00
curt
3d5df76461 Working on improving the lighting/shading. 1997-08-16 12:22:38 +00:00
curt
6876c9b34c Initial revision. 1997-08-13 21:55:59 +00:00
curt
bcf7870083 The interface to sunpos now updates a global structure rather than returning
current sun position.
1997-08-13 20:23:49 +00:00
curt
88c803c7fc Working on correct real time sun lighting. 1997-08-06 00:24:22 +00:00
curt
c89d21196b Misc. tweaks. 1997-08-02 16:23:47 +00:00
curt
2bbf8d1770 Added sunpos.c 1997-08-01 15:28:44 +00:00
curt
39902fe0d6 Initial revision. 1997-08-01 15:27:56 +00:00
curt
36a9adcffc Working on redoing internal coordinate systems & scenery transformations. 1997-07-31 22:52:21 +00:00