Commit Graph

352 Commits

Author SHA1 Message Date
curt
99a59763f1 Working on drawing sun and sun halo. 2000-03-02 23:07:25 +00:00
curt
0fa3a329e8 Fixed a typo in the sky dome painting code. 2000-03-02 19:06:28 +00:00
curt
5fbe532ec5 Sun now correctly placed in sky and correctly colored. 2000-03-02 18:20:52 +00:00
curt
5f3de889d7 Added top level ephemeris class. 2000-03-02 15:06:14 +00:00
curt
a8db14196a Working on separating out ephemeris code from the actual rendering code
which I am trying to ssg-ify at the same time.
2000-03-02 12:51:30 +00:00
curt
03b10d64a8 Separating out the Sky rendering as a separate unit and ssg-ifying it. 2000-03-02 02:03:18 +00:00
curt
86892d87e9 Starting to work on an independent sky implimentation that can be used by
any ssg application and can have it's components driven realistically based
on time.
2000-03-02 00:56:35 +00:00
curt
41218272c4 Working on skydome ... some actual progress has been made. :-) Still
something goofy with sunrise, sunset effects.
2000-02-29 23:31:32 +00:00
curt
8b5514fa9f Continuing work on ssg-ifying the sky dome. 2000-02-29 16:13:02 +00:00
curt
f14de56712 Further work on ssg-ifying the sky dome. (not tested) but I can build the
structures and update the colors.  I still need to set up the transforms
properly and connect it into the scene graph.
2000-02-28 23:04:07 +00:00
curt
ecc5c9865b Beginning work on a restructure of the sky code. 2000-02-28 12:58:41 +00:00
curt
929a56a6e8 Updated to 0.0.4 2000-02-22 16:21:15 +00:00
curt
4416df8c39 Added an include file that reports the current SimGear version. 2000-02-22 04:32:16 +00:00
curt
fc80610663 Removed mat3.h et. al. plib/sg.h provides a superset of mat3.h, has a
cleaner design, and is something that we are already linking in.
2000-02-19 20:58:58 +00:00
curt
cb03bfcb80 Fixed a warning message. 2000-02-19 02:28:58 +00:00
curt
35ed10e252 Updates. 2000-02-19 02:22:47 +00:00
curt
41fc1621b1 Updates .. 2000-02-17 16:04:35 +00:00
curt
9fefaef31e One more pass at a reorg. 2000-02-16 22:01:06 +00:00
curt
689a942f19 One more pass at reorgs. 2000-02-16 22:00:51 +00:00
curt
cb9654f1f4 Removed autogenerated file. 2000-02-15 05:15:23 +00:00
curt
a8f8cef484 Code reorganization. 2000-02-15 02:30:02 +00:00
curt
6cf51c3222 Added ... 2000-02-15 01:07:49 +00:00
curt
0d8ae0cabe Restructuring subdirectories. 2000-02-14 17:37:54 +00:00
curt
49d6f93d8b Removed autogen'd files. 2000-02-09 19:33:04 +00:00
curt
5173d709e0 Initial revision 2000-02-09 19:27:02 +00:00
Tim Moore
778c3ab25c Moved everything from Lib to simgear 2009-09-16 08:06:28 +02:00
curt
aa17d9ac9a Updated for plib-1.1.x 2000-02-04 21:50:04 +00:00
curt
ffe1d9485e Converted sky colors from floats to GLubytes to try to work around Linux
nVidia bug, with no success. :-(
1999-12-30 16:41:43 +00:00
curt
71abebe837 Use a more standard texture/blend mode combination for sun/moon halos to
avoid render path that's not supported by all cards/drivers.
1999-11-03 15:17:50 +00:00
curt
ca07b64af0 Moved where glBlendFunc() is reset to main.cxx 1999-10-22 15:15:43 +00:00
curt
2fde2ce581 Reset glBlendFunc() here to. 1999-10-22 12:58:39 +00:00
curt
cb0da2ca5e Set glBlendFunc ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ) ; when done drawing
the Sun so that the cloud texture alpha blending will work correctly.
1999-10-22 12:34:06 +00:00
curt
c0422839b9 MSVC++ portability fix. 1999-10-11 21:09:21 +00:00
curt
862b884f02 Various SGI portability tweaks. 1999-10-07 21:08:50 +00:00
curt
708e745cfd MACos fixes. 1999-09-11 14:35:28 +00:00
curt
63c9dcdd96 Tweaks to fix problems with moon rendering introduced with ssg. 1999-08-15 13:35:07 +00:00
curt
770ec00901 Scaled down the sun and moon sizes. 1999-08-10 01:42:34 +00:00
curt
4c6fe0328a Set up the model view matrix exactly as ssg does it before drawing sky, stars
sun, and moon.  I really should do a derived sgLeaf class so that these things
can be drawn within ssgCullandDraw() but this is quicker for now ...
1999-08-07 23:31:30 +00:00
curt
bb882a1239 Borland C++ tweaks.
MacOS/Metrowerks tweaks.
Fix for fgText default constructor.
1999-06-20 01:52:31 +00:00
curt
29e3a4e231 Initial revision 1999-06-17 18:07:36 +00:00
curt
ca444b07bd Changes contributed by Durk Talsma:
Here's a few changes I made to fg-0.58 this weekend. Included are the
following features:
- Sun and moon have a halo
- The moon has a light vector, moon_angle, etc. etc. so that we can have
  some moonlight during the night.
- Lot's of small changes tweakes, including some stuff Norman Vine sent
  me earlier.
2009-09-15 18:31:32 +02:00
curt
510b9ef07a Added initial support for native SGI compilers. 2009-09-15 18:31:32 +02:00
curt
d59a6218ab Modifications to incorporate Jon S. Berndts flight model code. 2009-09-15 18:31:32 +02:00
curt
5f26ba99bc MSVC++ portability changes by Bernie Bright:
Lib/Serial/serial.[ch]xx: Initial Windows support - incomplete.
Simulator/Astro/stars.cxx: typo? included <stdio> instead of <cstdio>
Simulator/Cockpit/hud.cxx: Added Standard headers
Simulator/Cockpit/panel.cxx: Redefinition of default parameter
Simulator/Flight/flight.cxx: Replaced cout with FG_LOG.  Deleted <stdio.h>
Simulator/Main/fg_init.cxx:
Simulator/Main/GLUTmain.cxx:
Simulator/Main/options.hxx: Shuffled <fg_serial.hxx> dependency
Simulator/Objects/material.hxx:
Simulator/Time/timestamp.hxx: VC++ friend kludge
Simulator/Scenery/tile.[ch]xx: Fixed using std::X declarations
Simulator/Main/views.hxx: Added a constant
2009-09-15 18:31:32 +02:00
curt
8fcfb73a57 Renamed FlightGear/Simulator/Flight to FlightGear/Simulator/FDM since
Jon accepted my offer to do this and thought it was a good idea.
2009-09-15 18:31:32 +02:00
curt
c9fb802b9e Bug fix in vertex order of inner disk (fan) of the sky dome. 2009-09-15 18:31:32 +02:00
curt
cbb1a37f5a Removed code to make sun appear larger at the horizon. 2009-09-15 18:31:32 +02:00
curt
42f9964e76 Don't know how this got in, but it is gone now. 2009-09-15 18:31:32 +02:00
curt
81c8f4c065 MacOS portability changes contributed by "Robert Puyol" <puyol@abvent.fr> 2009-09-15 18:31:32 +02:00
curt
0703cb0027 Removed unneeded #include 2009-09-15 18:31:32 +02:00