]> git.mxchange.org Git - simgear.git/log
simgear.git
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

21 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

21 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.

21 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

21 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

21 years agoAdd a gamma correction function
ehofman [Sat, 17 May 2003 12:43:47 +0000 (12:43 +0000)]
Add a gamma correction function

21 years agoAdjust sunset/sun rise color scheme
ehofman [Fri, 16 May 2003 16:32:47 +0000 (16:32 +0000)]
Adjust sunset/sun rise color scheme

21 years agoForgot to #include <vector>
curt [Fri, 16 May 2003 13:22:03 +0000 (13:22 +0000)]
Forgot to #include <vector>

21 years agoI missed committing t hese changes yesterday.
curt [Fri, 16 May 2003 11:40:07 +0000 (11:40 +0000)]
I missed committing t hese changes yesterday.

21 years agoA patch from Frederic Bouvier to correct a naming problem caused bu Curts work. This...
ehofman [Fri, 16 May 2003 08:51:24 +0000 (08:51 +0000)]
A patch from Frederic Bouvier to correct a naming problem caused bu Curts work. This gets FlightGear/SimGear compiling again

21 years agoVarious code massaging.
curt [Thu, 15 May 2003 21:35:31 +0000 (21:35 +0000)]
Various code massaging.

21 years agoRename matobj -> matmodel.
curt [Thu, 15 May 2003 16:19:56 +0000 (16:19 +0000)]
Rename matobj -> matmodel.

21 years agoSeparate out the SGMaterial::Object{,Group} code into it's own source file.
curt [Thu, 15 May 2003 15:08:39 +0000 (15:08 +0000)]
Separate out the SGMaterial::Object{,Group} code into it's own source file.

21 years agoAdd some missing requirements
ehofman [Wed, 14 May 2003 20:36:20 +0000 (20:36 +0000)]
Add some missing requirements

21 years agoJust a bit of renaming.
curt [Wed, 14 May 2003 19:31:53 +0000 (19:31 +0000)]
Just a bit of renaming.

21 years agoMoved some low level scene graph construction code over to simgear/scene/tgdb/
curt [Wed, 14 May 2003 19:20:36 +0000 (19:20 +0000)]
Moved some low level scene graph construction code over to simgear/scene/tgdb/

21 years agoRemoved global instance of the material manager. Each application will
curt [Wed, 14 May 2003 18:27:25 +0000 (18:27 +0000)]
Removed global instance of the material manager.  Each application will
need to create it's own instance itself.

21 years agoRemoved non-textured and flat shaded support because it really clutters up
curt [Tue, 13 May 2003 19:05:09 +0000 (19:05 +0000)]
Removed non-textured and flat shaded support because it really clutters up
the API and I don't believe we'd have any hope of running at any kind of
reasonable frame rates on a non-hardware-3d accelerated box these days anyway.

21 years agoMake the current color of the sun available
ehofman [Tue, 13 May 2003 19:00:49 +0000 (19:00 +0000)]
Make the current color of the sun available

21 years agoImprove speed and readabillity
ehofman [Tue, 13 May 2003 17:14:38 +0000 (17:14 +0000)]
Improve speed and readabillity

21 years agoOops, make the cloud layer look more like an inverted bowl than like a sombrero
ehofman [Tue, 13 May 2003 12:11:48 +0000 (12:11 +0000)]
Oops, make the cloud layer look more like an inverted bowl than like a sombrero

21 years agoAdded generated files.
david [Tue, 13 May 2003 10:21:53 +0000 (10:21 +0000)]
Added generated files.

21 years agoAdded props_test program.
david [Tue, 13 May 2003 10:21:36 +0000 (10:21 +0000)]
Added props_test program.

21 years agoCosmetic changes for new code moved into simgear to make the naming scheme
curt [Tue, 13 May 2003 03:18:35 +0000 (03:18 +0000)]
Cosmetic changes for new code moved into simgear to make the naming scheme
better follow simgear conventions.

21 years agoMoved fgfs_src/Object/newmat.[ch]xx and fgfs_src/Object/matlib.[ch]xx into
curt [Mon, 12 May 2003 21:30:25 +0000 (21:30 +0000)]
Moved fgfs_src/Object/newmat.[ch]xx and fgfs_src/Object/matlib.[ch]xx into
simgear/scene/material/

21 years agosimgear/sky/
ehofman [Sun, 11 May 2003 22:29:52 +0000 (22:29 +0000)]
simgear/sky/

21 years agoCygwin build fixes
ehofman [Sun, 11 May 2003 20:54:26 +0000 (20:54 +0000)]
Cygwin build fixes

21 years agoMoved loader.[ch]xx and model.[ch]xx from fgfs/src/Model/ to
curt [Fri, 9 May 2003 20:19:36 +0000 (20:19 +0000)]
Moved loader.[ch]xx and model.[ch]xx from fgfs/src/Model/ to
simgear/scene/model.

21 years agoMinor tweaks and clean ups.
curt [Fri, 9 May 2003 19:37:28 +0000 (19:37 +0000)]
Minor tweaks and clean ups.

21 years agoMoved to SimGear from FlightGear/src/Model/
curt [Fri, 9 May 2003 19:37:10 +0000 (19:37 +0000)]
Moved to SimGear from FlightGear/src/Model/

21 years agoAdded "SG" prefixes to match other SimGear classes.
curt [Fri, 9 May 2003 19:36:41 +0000 (19:36 +0000)]
Added "SG" prefixes to match other SimGear classes.

21 years agoMove the FlightGear sound code over to SimGear
ehofman [Fri, 9 May 2003 17:29:06 +0000 (17:29 +0000)]
Move the FlightGear sound code over to SimGear

21 years agoignore certain files for CVS commits
ehofman [Thu, 8 May 2003 21:42:59 +0000 (21:42 +0000)]
ignore certain files for CVS commits

21 years agoSplit out animation code from fgfs-src/Model/model.[ch]xx and move it over
curt [Thu, 8 May 2003 16:32:17 +0000 (16:32 +0000)]
Split out animation code from fgfs-src/Model/model.[ch]xx and move it over
here.

21 years agoRemoved some extraneous debugging output. Hey, this one was subtle. Due
curt [Wed, 7 May 2003 01:59:03 +0000 (01:59 +0000)]
Removed some extraneous debugging output.  Hey, this one was subtle.  Due
to const/no-const variants of the prop->getNode() method, the 2nd bool
argument was getting promoted to an int so it would match a method with
a const SGPropertyNode * as the first argument.  But that made
it match the wrong version of prop->getNode() and things were failing.
Yikes!  This is one I could have stared at for days to figure out so I'm
glad I caught on to the problem. :-)

21 years ago- Moved some property specific code into simgear/props/
curt [Tue, 6 May 2003 23:40:43 +0000 (23:40 +0000)]
- Moved some property specific code into simgear/props/
- Split out the condition code from fgfs/src/Main/fg_props and put it
  in it's own source file in simgear/props/
- Created a scene subdirectory for scenery, model, and material property
  related code.
- Moved location.[ch]xx into simgear/scene/model/
- The location and condition code had dependencies on flightgear's global
  state (all the globals-> stuff, the flightgear property tree, etc.)  SimGear
  code can't depend on it so that data has to be passed as parameters to the
  functions/methods/constructors.

21 years agoAlso update the makefile.am
curt [Mon, 5 May 2003 15:54:00 +0000 (15:54 +0000)]
Also update the makefile.am

21 years agoLong on my todo list ...
curt [Mon, 5 May 2003 15:48:45 +0000 (15:48 +0000)]
Long on my todo list ...
Upgrade the distributed metakit to a newer version that hopefully fixes
some of the platform problems with the previous version.

21 years agoPass doubles as const ref's to save a couble bytes of stack space and
curt [Mon, 14 Apr 2003 17:58:03 +0000 (17:58 +0000)]
Pass doubles as const ref's to save a couble bytes of stack space and
presumably a tiny bit of function call time.