Commit Graph

971 Commits

Author SHA1 Message Date
ehofman
e046b1bfdb Clean up, and make more flexible and prevent unnessecary library includes 2003-07-06 17:13:25 +00:00
ehofman
01007986dc Solaris updates 2003-07-02 12:25:08 +00:00
ehofman
ad56ba1bfa Add a function which might return whether a texture is in video memory, delete the texture buffer after sending it to OpenGL and comment out the set/get_pixel functions 2003-07-01 09:49:45 +00:00
ehofman
54c2d5a6cc MSVC fixes 2003-06-28 21:43:41 +00:00
ehofman
25ad84e5cb Put the refference to fast_log() back in after checkit it actually works as expected 2003-06-28 13:43:09 +00:00
ehofman
dcdf8a4d5c Fix some problems 2003-06-28 12:58:59 +00:00
ehofman
5d24be8c51 Add some fast math functions 2003-06-28 12:06:09 +00:00
ehofman
fa42efcf91 Do some math omtimizations as pointed out by Norman 2003-06-27 21:36:05 +00:00
curt
7f4f778bb1 Explicitely initialize planets. 2003-06-26 17:13:27 +00:00
ehofman
8a2e5cace8 Use the dlsym based approach on all unices and depreciate the glXGetProcAddressARB function 2003-06-24 08:22:33 +00:00
ehofman
23c66b6cfe cygwin and mingw fixes 2003-06-22 11:49:19 +00:00
ehofman
b65fe814a0 Cross platform fixsimgear/screen/extensions.hxx 2003-06-20 20:05:52 +00:00
ehofman
e74c8587bd Increase the maximum number of simultanious audio streams to the maximum defined by plib 2003-06-20 19:44:41 +00:00
ehofman
ab34b86574 Mac OS X fix 2003-06-20 19:32:04 +00:00
ehofman
011ecd980d MSVC and Apple OS X fixes 2003-06-19 07:40:54 +00:00
ehofman
9ca1c6666e Add our own function to check whether a certain OpenGL extension is supported 2003-06-18 09:06:54 +00:00
ehofman
ba5316ca8e Add an OpenGL extension query function which should be cross platform 2003-06-17 16:55:21 +00:00
ehofman
f957227576 Don't make the sun imune for fog 2003-06-13 19:56:05 +00:00
curt
70f763dbe0 - Tweaks to doxygen main page.
- Added documentation for SGCloudLayer
- Updated the SGSky interface a bit to make it more sensible, flexible,
  and generic.  This requires a code tweak on the FlightGear side as well.
2003-06-11 18:55:36 +00:00
curt
f8201e6478 Make sky dome scaling values sensible (i.e. the sky dome will now fill up
the dimensions provided.)  We draw the sky dome before everything else
  and draw it with depth buffer off so it really doesn't matter, but it just
  makes a little more sense this way.
Updated a few doxygen comments.
2003-06-09 20:19:52 +00:00
ehofman
e053941467 Add the ability to include stepped texture translations for things like digital displays in 3D model animation. 2003-06-09 09:11:20 +00:00
ehofman
17e2478522 Jim Wilson:
1. Added support for defining arbitrary rotation axes using (x1,y1,z1), (x2,y2,z2).  The center is calculated automatically (midpoint on line) or you may specify an alternate "center" using the current scheme.  This makes it about  100 times easier to animate flaps, ailerons, etc.

2. Added support for plib's ssgTexTrans.  This will allow more sophisticated 3D instrument features by allowing the texture mapping itself to be animated. Included function for "texrotate" and "textranslate".  They configure the same as the geometry, except the arbitrary axis definition is not necessary (textures are flat).
2003-06-08 13:19:34 +00:00
ehofman
17df7141ae Remove some now depreciated lighting code 2003-06-07 10:35:20 +00:00
ehofman
5167dee0e3 Remove an unused variable 2003-06-03 19:37:21 +00:00
ehofman
a1a596b02a Add some more descriptive comments 2003-06-03 19:35:20 +00:00
curt
27f98d24eb Various 0.3.3 last minute tweaks. 2003-06-03 18:48:49 +00:00
curt
51ef4568dd Various documentation tweaks and additions. 2003-06-03 18:32:51 +00:00
curt
4c731de8b7 Tweaks to doxygen comments. 2003-06-03 18:22:10 +00:00
ehofman
fc692cb540 compiler fixes 2003-06-03 13:30:07 +00:00
curt
cedfade08d Updated dsp/dsw files for MSVC. 2003-06-02 20:11:43 +00:00
curt
eedbc7f436 Tweaks for the 0.3.2 release. 2003-06-02 19:58:49 +00:00
curt
b6a683eb6e Fix a bug in cloud texture state loading which caused the cloud textures to
be loaded 5 times! for a lot of wasted texture RAM.  Thanks to Erik H. for
noticing the problem.
2003-06-02 15:23:45 +00:00
curt
df677ff8aa Working on adding a top leve Doxygen docs introduction. 2003-05-30 16:41:36 +00:00
curt
1d8b352d2d Clean up a class renaming mistake. 2003-05-30 15:27:32 +00:00
curt
c8432e3763 Move simgear/sky/ -> simgear/scene/sky/ as part of the consolidation of
graphics code.
2003-05-30 15:16:25 +00:00
curt
b3f88735a8 Rename FGSerialPort to SGSerialPort. 2003-05-30 14:59:47 +00:00
curt
789b56872c Fix a very small oops. 2003-05-28 21:00:05 +00:00
curt
009ed26fd2 Moved low level "tg" format object loader code over to SimGear. 2003-05-28 20:59:11 +00:00
curt
5ed0ce79ab Moved random ground cover object management code over to simgear. 2003-05-28 20:25:37 +00:00
curt
8b8a82bb67 Make gen_surface_points accessible through the API. 2003-05-28 19:02:43 +00:00
ehofman
94c22fec46 Updates for a better sunrise/sunset effect 2003-05-21 17:17:47 +00:00
ehofman
8be760b594 Convert char* to string to prevent stdup/malloc/free 2003-05-19 15:40:11 +00:00
ehofman
42b4ec310f Add a gamma correction function 2003-05-17 12:43:47 +00:00
ehofman
4ea676b229 Adjust sunset/sun rise color scheme 2003-05-16 16:32:47 +00:00
curt
dda676b1b2 Forgot to #include <vector> 2003-05-16 13:22:03 +00:00
curt
f7a3dbc5ed I missed committing t hese changes yesterday. 2003-05-16 11:40:07 +00:00
ehofman
1f3947ea4c A patch from Frederic Bouvier to correct a naming problem caused bu Curts work. This gets FlightGear/SimGear compiling again 2003-05-16 08:51:24 +00:00
curt
cb7589cc95 Various code massaging. 2003-05-15 21:35:31 +00:00
curt
2ca4b30553 Rename matobj -> matmodel. 2003-05-15 16:19:56 +00:00
curt
bb238c4106 Separate out the SGMaterial::Object{,Group} code into it's own source file. 2003-05-15 15:08:39 +00:00