]> git.mxchange.org Git - simgear.git/log
simgear.git
20 years agoUpdate some light parameters
ehofman [Tue, 2 Sep 2003 09:11:21 +0000 (09:11 +0000)]
Update some light parameters

20 years agoFix the box like cloud layer appearance
ehofman [Sun, 31 Aug 2003 09:23:48 +0000 (09:23 +0000)]
Fix the box like cloud layer appearance

20 years agoFix some lighting values.
curt [Sun, 31 Aug 2003 03:12:27 +0000 (03:12 +0000)]
Fix some lighting values.

20 years agoNew automake, new problems. Use $base_LIBS where $LIBS was automatically added before
ehofman [Fri, 29 Aug 2003 07:35:55 +0000 (07:35 +0000)]
New automake, new problems. Use $base_LIBS where $LIBS was automatically added before

20 years agoRemove metakit from src-libs, remove metakit check from configure script,
curt [Fri, 29 Aug 2003 04:19:56 +0000 (04:19 +0000)]
Remove metakit from src-libs, remove metakit check from configure script,
remove README.metakit.

20 years agoActually use the calculated position in the layer list. This prevents the use of...
ehofman [Fri, 22 Aug 2003 16:58:01 +0000 (16:58 +0000)]
Actually use the calculated position in the layer list. This prevents the use of glDepthMask(). Clean up the code some.

20 years agoClouds3D crashes because there is no Light
ehofman [Fri, 22 Aug 2003 16:18:33 +0000 (16:18 +0000)]
Clouds3D crashes because there is no Light

20 years agoDisable depth buffer writes while drawing the layers and some cosmetic updates
ehofman [Fri, 22 Aug 2003 09:48:49 +0000 (09:48 +0000)]
Disable depth buffer writes while drawing the layers and some cosmetic updates

20 years agoA patch from Frederic Bouvier which performs z-buffer ordering of the cloud layers...
ehofman [Fri, 22 Aug 2003 08:07:21 +0000 (08:07 +0000)]
A patch from Frederic Bouvier which performs z-buffer ordering of the cloud layers to prevent transparency problems with other (se mi) transparent objects. Good work Frederic!

20 years agoAdjust the layer span and amount of curving based on the eleveation of the layer
ehofman [Tue, 19 Aug 2003 12:04:15 +0000 (12:04 +0000)]
Adjust the layer span and amount of curving based on the eleveation of the layer

20 years agoMacOS X fixes
ehofman [Tue, 19 Aug 2003 08:25:16 +0000 (08:25 +0000)]
MacOS X fixes

20 years agoGive calc_tex_coords() a more conformant name: sgCalcTexCoords()
curt [Tue, 19 Aug 2003 02:08:16 +0000 (02:08 +0000)]
Give calc_tex_coords() a more conformant name: sgCalcTexCoords()

20 years agoFrederic Bouvier:
ehofman [Sat, 16 Aug 2003 12:30:25 +0000 (12:30 +0000)]
Frederic Bouvier:
This patch was inspired by Norman. Otherwise there is a segfault on Linux because the global variable tries to access OGL before a valid context is initialized.

20 years agoDon't use glGet because of performance issues
ehofman [Fri, 15 Aug 2003 17:44:36 +0000 (17:44 +0000)]
Don't use glGet because of performance issues

20 years agoAdd support for NVidia cards with a broken OpenGL implementation
ehofman [Fri, 15 Aug 2003 17:19:22 +0000 (17:19 +0000)]
Add support for NVidia cards with a broken OpenGL implementation

20 years agoA small update to the fog punch through code
ehofman [Thu, 14 Aug 2003 12:32:58 +0000 (12:32 +0000)]
A small update to the fog punch through code

20 years agoAdjust the fog punch through effect for oursun
ehofman [Thu, 14 Aug 2003 09:58:48 +0000 (09:58 +0000)]
Adjust the fog punch through effect for oursun

20 years agoMSVC fixes
ehofman [Tue, 12 Aug 2003 19:26:03 +0000 (19:26 +0000)]
MSVC fixes

20 years agoRemove extraneous/unneeded dependencies on glut. SimGear should no longer
curt [Mon, 11 Aug 2003 21:16:53 +0000 (21:16 +0000)]
Remove extraneous/unneeded dependencies on glut.  SimGear should no longer
have any glut dependies.

20 years agoRemove "glut" dependency.
curt [Mon, 11 Aug 2003 21:14:48 +0000 (21:14 +0000)]
Remove "glut" dependency.

- SkyContext.[ch]pp needs to query the window size, but apparently doesn't
  do anything with it.  We can hard wire a size and the cloud code seems to
  behave fine.

- SkyLight.[ch]pp depends on glut_shapes so I copied over the code so it
  can access those routines locally.  (The routines that are used are
  simply combining calls to libGLU.a

20 years agoOops, it doesn't do much good to declare a function as "static" in the .hxx
curt [Mon, 11 Aug 2003 19:42:08 +0000 (19:42 +0000)]
Oops, it doesn't do much good to declare a function as "static" in the .hxx

20 years agoOnly use the ";" delimiter under WIN32
curt [Sat, 9 Aug 2003 02:54:15 +0000 (02:54 +0000)]
Only use the ";" delimiter under WIN32

20 years agoAdd a routines that takes a search path (separated by sgSearchPathSep) and
curt [Fri, 8 Aug 2003 19:54:49 +0000 (19:54 +0000)]
Add a routines that takes a search path (separated by sgSearchPathSep) and
seperates them into a vector of strings which it then returns.

20 years agoGo back to a function that actually does check wheter endian swapping needs to be...
ehofman [Thu, 7 Aug 2003 14:11:35 +0000 (14:11 +0000)]
Go back to a function that actually does check wheter endian swapping needs to be done

20 years agoAdd support for using textures as a basis for cloud fields. This is not yet completel...
ehofman [Thu, 7 Aug 2003 12:34:23 +0000 (12:34 +0000)]
Add support for using textures as a basis for cloud fields. This is not yet completely finished. The orientation is not right.

20 years agoAdd support for rgba textures
ehofman [Thu, 7 Aug 2003 12:31:16 +0000 (12:31 +0000)]
Add support for rgba textures

20 years agoImprove endian awareness somehwat. Still not therer though
ehofman [Wed, 6 Aug 2003 17:54:19 +0000 (17:54 +0000)]
Improve endian awareness somehwat. Still not therer though

20 years agoMelchior FRANZ: Make the clouds3d code valgrind clean
ehofman [Tue, 5 Aug 2003 18:59:58 +0000 (18:59 +0000)]
Melchior FRANZ: Make the clouds3d code valgrind clean

20 years agoChanged "GL/glut.h" to <GL/glut.h>
curt [Tue, 5 Aug 2003 14:45:42 +0000 (14:45 +0000)]
Changed "GL/glut.h" to <GL/glut.h>

20 years agoPut clouds3d back in the build proces after (hopefully) fixing all the build problems
ehofman [Mon, 4 Aug 2003 17:29:30 +0000 (17:29 +0000)]
Put clouds3d back in the build proces after (hopefully) fixing all the build problems

20 years agoAdd dynamic glMultiTextureARB detection
ehofman [Mon, 4 Aug 2003 17:10:52 +0000 (17:10 +0000)]
Add dynamic glMultiTextureARB detection

20 years agoAdd a safety precausion
ehofman [Mon, 4 Aug 2003 17:05:12 +0000 (17:05 +0000)]
Add a safety precausion

20 years agoAdd runtime detection of glActiveTextureARB
ehofman [Mon, 4 Aug 2003 12:54:57 +0000 (12:54 +0000)]
Add runtime detection of glActiveTextureARB

20 years agoPre-initialize the variables driving the external force
ehofman [Mon, 4 Aug 2003 12:07:04 +0000 (12:07 +0000)]
Pre-initialize the variables driving the external force

20 years agoNorman Vine:
ehofman [Sun, 3 Aug 2003 21:23:21 +0000 (21:23 +0000)]
Norman Vine:
Note that SSG and OpenGL use different representations
of Matrices.

1) SSG is row major and OpenGL is column major

2) SSG uses a Z is up whereas conventionally OpenGL uses
   Z is pointing into the screen
   ie this just requires swapping the Y and the Z axis < columns >
   and negating the new Y column

3) Now since SSG eventually calls OpenGL SSG must do this
   for us behind the scenes or else things just wouldn't work
   so inorder to get Clouds3D to render in the proper location
   we should just need to use the Matrix that SSG uses for a Camera
   Matrix and pass this directly to the Clouds3D Camers

20 years agoHide an obvious mistake by defining our own ulEndianLittleDouble function for now
ehofman [Sun, 3 Aug 2003 08:25:26 +0000 (08:25 +0000)]
Hide an obvious mistake by defining our own ulEndianLittleDouble function for now

20 years agoAdjust the fog according to visibillity
ehofman [Fri, 1 Aug 2003 14:20:20 +0000 (14:20 +0000)]
Adjust the fog according to visibillity

20 years agoAdd cloud movement direction and speed
ehofman [Thu, 31 Jul 2003 14:46:24 +0000 (14:46 +0000)]
Add cloud movement direction and speed

20 years agoKeep the stack clean
ehofman [Thu, 31 Jul 2003 09:04:32 +0000 (09:04 +0000)]
Keep the stack clean

20 years agoActually commit the code changes which impliment a "scale" animation type.
curt [Fri, 25 Jul 2003 14:48:02 +0000 (14:48 +0000)]
Actually commit the code changes which impliment a "scale" animation type.

20 years agoMSVC warning fixes
ehofman [Wed, 23 Jul 2003 09:59:39 +0000 (09:59 +0000)]
MSVC warning fixes

20 years agoJim Wilson:
ehofman [Mon, 21 Jul 2003 08:37:22 +0000 (08:37 +0000)]
Jim Wilson:
Fixed texture translation so step and scroll values work with interpolation tables as well.  Moved step/scroll calculation to utility function to improve code readability.

20 years agoFix a typo
ehofman [Wed, 16 Jul 2003 11:32:08 +0000 (11:32 +0000)]
Fix a typo

20 years agoDon't bother other develoers with problems caused by MipsPro (version < 7.3) compilers
ehofman [Sun, 13 Jul 2003 12:34:52 +0000 (12:34 +0000)]
Don't bother other develoers with problems caused by MipsPro (version < 7.3) compilers

20 years agoDon't check for OpenGL libraries without at least including -lm
ehofman [Sat, 12 Jul 2003 09:18:54 +0000 (09:18 +0000)]
Don't check for OpenGL libraries without at least including -lm

20 years agoAttempt to get these files back to a compilable state.
curt [Fri, 11 Jul 2003 17:50:32 +0000 (17:50 +0000)]
Attempt to get these files back to a compilable state.

20 years agoDon't use floats where ints are more appropriate
ehofman [Fri, 11 Jul 2003 10:55:17 +0000 (10:55 +0000)]
Don't use floats where ints are more appropriate

20 years agoAllow removing of the texture data after it is sent to OpenGL
ehofman [Fri, 11 Jul 2003 09:57:28 +0000 (09:57 +0000)]
Allow removing of the texture data after it is sent to OpenGL

21 years agoSync he configure script with that one from FLightGear by splitting the LIBS cariable...
ehofman [Thu, 10 Jul 2003 10:02:10 +0000 (10:02 +0000)]
Sync he configure script with that one from FLightGear by splitting the LIBS cariable into a base_LIBS, opengl_LIBS, network_LIBS and thread_LIBS variable

21 years agoJim Wilson:
ehofman [Thu, 10 Jul 2003 09:49:29 +0000 (09:49 +0000)]
Jim Wilson:
This update adds the ability to do multiple texture transforms (Steve B. thinks supporting them at the plib level would be inefficient, which is probably true).

Removed units (e.g. "_m") from texture translation property and variable names since the texture translation values are dimensionless.

Added the ability to specify a scroll factor for stepped texture animation that needs to scroll smoothly when approaching the step interval (e.g. odometer movement).

21 years agoDon't delete the texture data after sending it to OpenGL.
ehofman [Thu, 10 Jul 2003 09:14:34 +0000 (09:14 +0000)]
Don't delete the texture data after sending it to OpenGL.

21 years agoA couple more sanity checking tweaks for texture freeing.
curt [Wed, 9 Jul 2003 20:58:39 +0000 (20:58 +0000)]
A couple more sanity checking tweaks for texture freeing.

21 years agoPrevent deleting the texture data for a second time in the destructor
ehofman [Wed, 9 Jul 2003 20:51:04 +0000 (20:51 +0000)]
Prevent deleting the texture data for a second time in the destructor

21 years agoFix a silly bug where is tested against the wrong variable
ehofman [Wed, 9 Jul 2003 19:46:04 +0000 (19:46 +0000)]
Fix a silly bug where is tested against the wrong variable

21 years agoLeave the clouds3d commented out for now
ehofman [Wed, 9 Jul 2003 14:46:30 +0000 (14:46 +0000)]
Leave the clouds3d commented out for now

21 years agoA first attempt at making the clouds3d endian aware. Almost there.
ehofman [Wed, 9 Jul 2003 14:43:53 +0000 (14:43 +0000)]
A first attempt at making the clouds3d endian aware. Almost there.

21 years agoBack out a patch that never went in CVS ...
ehofman [Wed, 9 Jul 2003 13:40:06 +0000 (13:40 +0000)]
Back out a patch that never went in CVS ...

21 years agoDon't link agains OpenGL libraries when it's not needed
ehofman [Mon, 7 Jul 2003 11:27:10 +0000 (11:27 +0000)]
Don't link agains OpenGL libraries when it's not needed

21 years agoClean up, and make more flexible and prevent unnessecary library includes
ehofman [Sun, 6 Jul 2003 17:13:25 +0000 (17:13 +0000)]
Clean up, and make more flexible and prevent unnessecary library includes

21 years agoSolaris updates
ehofman [Wed, 2 Jul 2003 12:25:08 +0000 (12:25 +0000)]
Solaris updates

21 years agoAdd a function which might return whether a texture is in video memory, delete the...
ehofman [Tue, 1 Jul 2003 09:49:45 +0000 (09:49 +0000)]
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

21 years agoMSVC fixes
ehofman [Sat, 28 Jun 2003 21:43:41 +0000 (21:43 +0000)]
MSVC fixes

21 years agoPut the refference to fast_log() back in after checkit it actually works as expected
ehofman [Sat, 28 Jun 2003 13:43:09 +0000 (13:43 +0000)]
Put the refference to fast_log() back in after checkit it actually works as expected

21 years agoFix some problems
ehofman [Sat, 28 Jun 2003 12:58:59 +0000 (12:58 +0000)]
Fix some problems

21 years agoAdd some fast math functions
ehofman [Sat, 28 Jun 2003 12:06:09 +0000 (12:06 +0000)]
Add some fast math functions

21 years agoDo some math omtimizations as pointed out by Norman
ehofman [Fri, 27 Jun 2003 21:36:05 +0000 (21:36 +0000)]
Do some math omtimizations as pointed out by Norman

21 years agoExplicitely initialize planets.
curt [Thu, 26 Jun 2003 17:13:27 +0000 (17:13 +0000)]
Explicitely initialize planets.

21 years agoUse the dlsym based approach on all unices and depreciate the glXGetProcAddressARB...
ehofman [Tue, 24 Jun 2003 08:22:33 +0000 (08:22 +0000)]
Use the dlsym based approach on all unices and depreciate the glXGetProcAddressARB function

21 years agocygwin and mingw fixes
ehofman [Sun, 22 Jun 2003 11:49:19 +0000 (11:49 +0000)]
cygwin and mingw fixes

21 years agoCross platform fixsimgear/screen/extensions.hxx
ehofman [Fri, 20 Jun 2003 20:05:52 +0000 (20:05 +0000)]
Cross platform fixsimgear/screen/extensions.hxx

21 years agoIncrease the maximum number of simultanious audio streams to the maximum defined...
ehofman [Fri, 20 Jun 2003 19:44:41 +0000 (19:44 +0000)]
Increase the maximum number of simultanious audio streams to the maximum defined by plib

21 years agoMac OS X fix
ehofman [Fri, 20 Jun 2003 19:32:04 +0000 (19:32 +0000)]
Mac OS X fix

21 years agoMSVC and Apple OS X fixes
ehofman [Thu, 19 Jun 2003 07:40:54 +0000 (07:40 +0000)]
MSVC and Apple OS X fixes

21 years agoAdd our own function to check whether a certain OpenGL extension is supported
ehofman [Wed, 18 Jun 2003 09:06:54 +0000 (09:06 +0000)]
Add our own function to check whether a certain OpenGL extension is supported

21 years agoAdd an OpenGL extension query function which should be cross platform
ehofman [Tue, 17 Jun 2003 16:55:21 +0000 (16:55 +0000)]
Add an OpenGL extension query function which should be cross platform

21 years agoDon't make the sun imune for fog
ehofman [Fri, 13 Jun 2003 19:56:05 +0000 (19:56 +0000)]
Don't make the sun imune for fog

21 years ago- Tweaks to doxygen main page.
curt [Wed, 11 Jun 2003 18:55:36 +0000 (18:55 +0000)]
- 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.

21 years agoMake sky dome scaling values sensible (i.e. the sky dome will now fill up
curt [Mon, 9 Jun 2003 20:19:52 +0000 (20:19 +0000)]
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.

21 years agoAdd the ability to include stepped texture translations for things like digital displ...
ehofman [Mon, 9 Jun 2003 09:11:20 +0000 (09:11 +0000)]
Add the ability to include stepped texture translations for things like digital displays in 3D model animation.

21 years agoJim Wilson:
ehofman [Sun, 8 Jun 2003 13:19:34 +0000 (13:19 +0000)]
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).

21 years agoRemove some now depreciated lighting code
ehofman [Sat, 7 Jun 2003 10:35:20 +0000 (10:35 +0000)]
Remove some now depreciated lighting code

21 years agoRemove an unused variable
ehofman [Tue, 3 Jun 2003 19:37:21 +0000 (19:37 +0000)]
Remove an unused variable

21 years agoAdd some more descriptive comments
ehofman [Tue, 3 Jun 2003 19:35:20 +0000 (19:35 +0000)]
Add some more descriptive comments

21 years agoVarious 0.3.3 last minute tweaks.
curt [Tue, 3 Jun 2003 18:48:49 +0000 (18:48 +0000)]
Various 0.3.3 last minute tweaks.

21 years agoVarious documentation tweaks and additions.
curt [Tue, 3 Jun 2003 18:32:51 +0000 (18:32 +0000)]
Various documentation tweaks and additions.

21 years agoTweaks to doxygen comments.
curt [Tue, 3 Jun 2003 18:22:10 +0000 (18:22 +0000)]
Tweaks to doxygen comments.

21 years agocompiler fixes
ehofman [Tue, 3 Jun 2003 13:30:07 +0000 (13:30 +0000)]
compiler fixes

21 years agoUpdated dsp/dsw files for MSVC.
curt [Mon, 2 Jun 2003 20:11:43 +0000 (20:11 +0000)]
Updated dsp/dsw files for MSVC.

21 years agoTweaks for the 0.3.2 release.
curt [Mon, 2 Jun 2003 19:58:49 +0000 (19:58 +0000)]
Tweaks for the 0.3.2 release.

21 years agoFix a bug in cloud texture state loading which caused the cloud textures to
curt [Mon, 2 Jun 2003 15:23:45 +0000 (15:23 +0000)]
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.

21 years agoWorking on adding a top leve Doxygen docs introduction.
curt [Fri, 30 May 2003 16:41:36 +0000 (16:41 +0000)]
Working on adding a top leve Doxygen docs introduction.

21 years agoClean up a class renaming mistake.
curt [Fri, 30 May 2003 15:27:32 +0000 (15:27 +0000)]
Clean up a class renaming mistake.

21 years agoMove simgear/sky/ -> simgear/scene/sky/ as part of the consolidation of
curt [Fri, 30 May 2003 15:16:25 +0000 (15:16 +0000)]
Move simgear/sky/ -> simgear/scene/sky/ as part of the consolidation of
graphics code.

21 years agoRename FGSerialPort to SGSerialPort.
curt [Fri, 30 May 2003 14:59:47 +0000 (14:59 +0000)]
Rename FGSerialPort to SGSerialPort.

21 years agoFix a very small oops.
curt [Wed, 28 May 2003 21:00:05 +0000 (21:00 +0000)]
Fix a very small oops.

21 years agoMoved low level "tg" format object loader code over to SimGear.
curt [Wed, 28 May 2003 20:59:11 +0000 (20:59 +0000)]
Moved low level "tg" format object loader code over to SimGear.

21 years agoMoved random ground cover object management code over to simgear.
curt [Wed, 28 May 2003 20:25:37 +0000 (20:25 +0000)]
Moved random ground cover object management code over to simgear.

21 years agoMake gen_surface_points accessible through the API.
curt [Wed, 28 May 2003 19:02:43 +0000 (19:02 +0000)]
Make gen_surface_points accessible through the API.

21 years agoUpdates for a better sunrise/sunset effect
ehofman [Wed, 21 May 2003 17:17:47 +0000 (17:17 +0000)]
Updates for a better sunrise/sunset effect

21 years agoConvert char* to string to prevent stdup/malloc/free
ehofman [Mon, 19 May 2003 15:40:11 +0000 (15:40 +0000)]
Convert char* to string to prevent stdup/malloc/free