]>
git.mxchange.org Git - simgear.git/log
frohlich [Sun, 2 May 2010 20:32:54 +0000 (20:32 +0000)]
Add -ldl for newer ld defaults from fedora 13
Modified Files:
simgear/screen/Makefile.am
frohlich [Sun, 2 May 2010 20:02:50 +0000 (20:02 +0000)]
Make the bounding volume debug visitor compile again.
Modified Files:
simgear/scene/bvh/BVHDebugCollectVisitor.hxx
curt [Tue, 16 Feb 2010 20:04:42 +0000 (20:04 +0000)]
Add a missing source file so it will be included with "make dist".
curt [Tue, 16 Feb 2010 20:02:43 +0000 (20:02 +0000)]
Add a missing .hxx file for "make dist"
durk [Fri, 5 Feb 2010 05:37:31 +0000 (05:37 +0000)]
Update version number.
Tim Moore [Thu, 4 Feb 2010 23:23:51 +0000 (00:23 +0100)]
Merge branch 'fredb/winfix'
fredb [Thu, 4 Feb 2010 22:07:28 +0000 (22:07 +0000)]
Update version numbers
Tim Moore [Thu, 28 Jan 2010 09:31:52 +0000 (10:31 +0100)]
Merge branch 'timoore/mat-effect'
Tim Moore [Thu, 28 Jan 2010 09:31:40 +0000 (10:31 +0100)]
Merge branch 'freb/mingw'
Tim Moore [Thu, 28 Jan 2010 09:31:11 +0000 (10:31 +0100)]
Merge branch 'fredb/winfix'
Tim Moore [Wed, 27 Jan 2010 17:34:27 +0000 (18:34 +0100)]
Create a different default effect for objects that have material animations
fredb [Sat, 23 Jan 2010 11:40:02 +0000 (11:40 +0000)]
MINGW patch from Benoît Laniel
fredb [Fri, 22 Jan 2010 21:31:18 +0000 (21:31 +0000)]
Update MSVC 9 projects
fredb [Fri, 22 Jan 2010 20:57:58 +0000 (20:57 +0000)]
Update SimGear version
Tim Moore [Mon, 25 Jan 2010 13:02:02 +0000 (14:02 +0100)]
Merge branch 'ehofman/sound'
Tim Moore [Mon, 25 Jan 2010 13:01:52 +0000 (14:01 +0100)]
Merge branch 'torsten/geoequal'
Tim Moore [Mon, 25 Jan 2010 13:00:42 +0000 (14:00 +0100)]
Merge branch 'durk/version'
ehofman [Thu, 21 Jan 2010 07:56:14 +0000 (07:56 +0000)]
Silently ignore previous errors to prevent halting the program on silly errors
ehofman [Wed, 20 Jan 2010 13:51:37 +0000 (13:51 +0000)]
define _device so testForALCError can use it initialized..
durk [Tue, 19 Jan 2010 20:48:49 +0000 (20:48 +0000)]
Let the version number reflect the current state of the release process.
fredb [Sun, 17 Jan 2010 12:14:47 +0000 (12:14 +0000)]
Change version in comment
fredb [Sun, 17 Jan 2010 12:05:29 +0000 (12:05 +0000)]
Update simgear config.h version
fredb [Sun, 17 Jan 2010 12:00:20 +0000 (12:00 +0000)]
Update MSVC 9 project
fredb [Sun, 17 Jan 2010 11:59:49 +0000 (11:59 +0000)]
Win32 fixes
Tim Moore [Sat, 16 Jan 2010 22:49:36 +0000 (23:49 +0100)]
Merge branch 'ehofman/sound'
ehofman [Wed, 13 Jan 2010 14:29:59 +0000 (14:29 +0000)]
test for an AL or ALC error before calling an ALUT function.
Tim Moore [Wed, 13 Jan 2010 06:57:35 +0000 (07:57 +0100)]
Merge branch 'ehofman/sound'
Tim Moore [Wed, 13 Jan 2010 06:57:30 +0000 (07:57 +0100)]
Merge branch 'tat/framework'
Tim Moore [Mon, 11 Jan 2010 06:15:11 +0000 (07:15 +0100)]
Merge branch 'ehofman/subsys'
Tim Moore [Mon, 11 Jan 2010 06:14:51 +0000 (07:14 +0100)]
Merge branch 'jester/aptsign'
Tim Moore [Mon, 11 Jan 2010 06:14:23 +0000 (07:14 +0100)]
Merge branch 'timoore/effects'
Tim Moore [Mon, 11 Jan 2010 06:10:46 +0000 (07:10 +0100)]
Merge branch 'jmt/geodistance'
ehofman [Tue, 5 Jan 2010 11:23:42 +0000 (11:23 +0000)]
Tatsuhiro Nishioka:
These patches fixes minor bug in addition to providing --with-openal-framework and --with-cocoa-framework.
Now you can use your own version of OpenAL.framework for selecting various audio output device.
Plus, you can build FG/SG on Snow Leopard with cocoa configuration.
torsten [Mon, 4 Jan 2010 19:51:54 +0000 (19:51 +0000)]
Csaba Halasz:
Fix airport signs by reverting to rev 1.22 of apt_sign.cxx. Tweaked a little to handle missing materials better.
ehofman [Mon, 4 Jan 2010 14:53:26 +0000 (14:53 +0000)]
MacOS returns an unsopported AL error when a file is not found, work around this.
torsten [Sat, 2 Jan 2010 16:40:06 +0000 (16:40 +0000)]
add "operator == ()" to SGGeod and SGGeoc
jmt [Thu, 31 Dec 2009 16:48:03 +0000 (16:48 +0000)]
Allow geocentric distance computations to return radians.
Tim Moore [Fri, 1 Jan 2010 12:32:03 +0000 (13:32 +0100)]
fix up some merge weirdness
ehofman [Thu, 31 Dec 2009 10:14:56 +0000 (10:14 +0000)]
Also unbind subsystem groups in reverse order and destruct them in reverse order to be consistent.
ehofman [Tue, 29 Dec 2009 14:28:21 +0000 (14:28 +0000)]
unbind in reverse order to try to prevent order dependency problems.
ehofman [Tue, 29 Dec 2009 09:47:04 +0000 (09:47 +0000)]
Rearrange alut error checking a bit
jmt [Mon, 28 Dec 2009 20:57:57 +0000 (20:57 +0000)]
XML encodings: support 'ASCII' as an alias for 'US-ASCII'
ehofman [Sat, 26 Dec 2009 10:07:37 +0000 (10:07 +0000)]
keep a pointer to the OpenAL vendor and renderer for reference
Tim Moore [Sun, 20 Dec 2009 15:07:00 +0000 (16:07 +0100)]
Merge branch 'timoore/effects'
Conflicts:
simgear/scene/model/model.cxx
simgear/scene/sky/newcloud.cxx
Tim Moore [Sun, 20 Dec 2009 09:40:26 +0000 (10:40 +0100)]
Merge branch 'ehofman/sound'
Changed include of SGQuat.hxx to SGMath.hxx in
sound/sample_openal.cxx; somehow this happened in a merge commit when
the sound branch was merged to next.
ehofman [Mon, 14 Dec 2009 19:43:19 +0000 (19:43 +0000)]
proper typecasting
Tim Moore [Mon, 14 Dec 2009 05:52:00 +0000 (06:52 +0100)]
don't render an EffectGeode if there is no valid technique
Normal geometry has a default effect; geometry with no default effect
is unlikely to look correct with no state set applied. This fixes the
problem of clouds being displayed as multi-colored rectangles when
shader effects are turned off.
ehofman [Wed, 9 Dec 2009 13:56:12 +0000 (13:56 +0000)]
fix a typo.
ehofman [Wed, 9 Dec 2009 10:09:41 +0000 (10:09 +0000)]
Don't assign the buffer data to the sample in case it is a file. Test for result when calling load()
ehofman [Wed, 9 Dec 2009 09:38:07 +0000 (09:38 +0000)]
Fix crash in SGSoundMgr::stop(): do not try to erase buffer items one at a time
ehofman [Sun, 6 Dec 2009 09:56:01 +0000 (09:56 +0000)]
add alcSuspendContext and alcProcessContext again to prevent sound artifacts on hardware accelerated soundcards.
ehofman [Wed, 2 Dec 2009 09:32:20 +0000 (09:32 +0000)]
check if suspend, resume and volume changed much from the previous value before setting them.
ehofman [Wed, 2 Dec 2009 08:32:59 +0000 (08:32 +0000)]
Fix runtime switching of sound devices.
ehofman [Mon, 30 Nov 2009 14:22:40 +0000 (14:22 +0000)]
Updates to allow runtime chaning of the sound device
Tim Moore [Sun, 29 Nov 2009 21:54:02 +0000 (22:54 +0100)]
take locks out of ModelRegistry
They should be unnecessary and were causing deadlock with Effects that
load images.
ehofman [Sat, 28 Nov 2009 13:31:04 +0000 (13:31 +0000)]
Add a function to retreive all available playback devices.
ehofman [Sat, 28 Nov 2009 12:59:40 +0000 (12:59 +0000)]
initialize volume to a proper value
ehofman [Sat, 28 Nov 2009 10:48:17 +0000 (10:48 +0000)]
Small bugfix
ehofman [Sat, 28 Nov 2009 10:37:02 +0000 (10:37 +0000)]
Make it possible to specify a different device name
Tim Moore [Sun, 29 Nov 2009 11:42:10 +0000 (12:42 +0100)]
Revert boost requirement to 1.37
I don't want to get into testing for tr1::unordered_map, and the
boost compatibility doesn't exist in 1.34.
Tim Moore [Thu, 26 Nov 2009 22:28:34 +0000 (23:28 +0100)]
Merge branch 'ehofman/sky'
Tim Moore [Thu, 26 Nov 2009 15:30:46 +0000 (16:30 +0100)]
fix a memory leak in newcloud.cxx
ehofman [Thu, 26 Nov 2009 13:05:44 +0000 (13:05 +0000)]
a slightly more readable version of the test
ehofman [Thu, 26 Nov 2009 12:19:57 +0000 (12:19 +0000)]
Also test for older versions of OpenAL-Sample
Tim Moore [Thu, 26 Nov 2009 10:40:41 +0000 (11:40 +0100)]
Use an effect for 3d clouds
Tim Moore [Thu, 26 Nov 2009 10:39:34 +0000 (11:39 +0100)]
Support for shader program attributes in effects
Also, use a hash table for the effect shader program cache.
Tim Moore [Thu, 26 Nov 2009 10:32:00 +0000 (11:32 +0100)]
Better error reporting for effects
Throw an exception when an undefine attribute value is found in an effect.
Also, fix a typo in TexEnvCombine operand attributes.
Tim Moore [Thu, 26 Nov 2009 09:38:31 +0000 (10:38 +0100)]
add a property debugging function
ehofman [Mon, 23 Nov 2009 11:54:33 +0000 (11:54 +0000)]
Don't forget to apply the doppler adjustment factor to the listener velocity also
ehofman [Mon, 23 Nov 2009 10:32:26 +0000 (10:32 +0000)]
test for implementations with 'bad' doppler effects and adjust for it.
ehofman [Mon, 23 Nov 2009 10:31:53 +0000 (10:31 +0000)]
fix test programs
ehofman [Mon, 23 Nov 2009 09:35:12 +0000 (09:35 +0000)]
proper listener velocity calculation, this has no effect yet but is required when other models start emitting sounds.
Tim Moore [Mon, 23 Nov 2009 08:15:47 +0000 (09:15 +0100)]
add depth attribute to Effect
Tim Moore [Sun, 22 Nov 2009 21:55:56 +0000 (22:55 +0100)]
Drop required Boost version from 1.37 to 1.34
Use boost/tr1 to bring in std::tr1::unordered_map instead of the Boost
version.
Tim Moore [Sat, 21 Nov 2009 23:32:51 +0000 (00:32 +0100)]
Move tree shaders to an effect
Also, improve effect hash keys.
Tim Moore [Sat, 21 Nov 2009 23:27:53 +0000 (00:27 +0100)]
Effect file support for GL_VERTEX_PROGRAM_TWO_SIDE and POINT_SIZE
Tim Moore [Fri, 20 Nov 2009 21:58:59 +0000 (22:58 +0100)]
shader language predicate
ehofman [Thu, 19 Nov 2009 15:29:34 +0000 (15:29 +0000)]
the wrong name also mislead me: rotate velocity to the proper quat
ehofman [Wed, 18 Nov 2009 13:49:25 +0000 (13:49 +0000)]
make the relative positions fixed against the body again.
ehofman [Tue, 17 Nov 2009 13:06:32 +0000 (13:06 +0000)]
Set to default distance attenuation function but change the parameters a but for better sound effects (and most of all quieter sounds at greta distance
ehofman [Mon, 16 Nov 2009 13:32:34 +0000 (13:32 +0000)]
What do you know, the real problem turned out to be the distance attenuation function..
Tim Moore [Mon, 16 Nov 2009 21:43:41 +0000 (22:43 +0100)]
descend into Effects to find default material animation values
Tim Moore [Mon, 16 Nov 2009 21:42:46 +0000 (22:42 +0100)]
add a transparent texture for effects
This is used as a default texture for the chrome animation.
Also, fix a typo in creating combiners.
Tim Moore [Mon, 16 Nov 2009 21:39:56 +0000 (22:39 +0100)]
Make MultiChangeListener derive publicly from SGPropertyChangeListener
Otherwise it doesn't work as a listener!
Tim Moore [Sun, 15 Nov 2009 22:51:08 +0000 (23:51 +0100)]
When instantiating effects, copy user data of any created nodes.
This bug was the cause of the huge memory consumption / death reported at some places:
the BVH data on "raw" .ac models (random objects) was dropped on the floor.
Tim Moore [Sun, 15 Nov 2009 00:17:34 +0000 (01:17 +0100)]
Bump boost version to 1.37
Tim Moore [Fri, 13 Nov 2009 13:59:29 +0000 (14:59 +0100)]
optimize creation and sharing of effects
Implement equality test and hash for for property trees. In an
Effect, make a hash table of Effects that inherit from it keyed on
their unmerged property tree. Using that, makeEffect() should return a
single Effect for given property tree description. Animations may
change that in the future...
Tim Moore [Fri, 16 Oct 2009 10:54:46 +0000 (12:54 +0200)]
Effects in models working for transparent materials and chrome animation
Implementation of animated effect values via the property system.
Add names for TexEnvCombine attributes
Tim Moore [Fri, 16 Oct 2009 10:55:44 +0000 (12:55 +0200)]
Move Texture unit builder into TexBuilder.cxx
Do the refactoring necessary to make that work.
Tim Moore [Tue, 8 Sep 2009 11:09:05 +0000 (13:09 +0200)]
Effects for models
Basically working, at last. Among other things, create effects in
models loaded directly from .ac files; this can happen, for example,
with the random models from the materials library.
Tim Moore [Mon, 9 Nov 2009 15:57:19 +0000 (16:57 +0100)]
Splicing visitor for rewriting scene graphs with a minimum of copying
Tim Moore [Tue, 8 Sep 2009 10:59:58 +0000 (12:59 +0200)]
Dump texture attributes of StateSet into effect property tree
Also, decode blend function.
Tim Moore [Tue, 8 Sep 2009 10:53:33 +0000 (12:53 +0200)]
getStateAttribute utility function
This provides a concise, typesafe way to get attributes from osg::StateSet.
Also, blew away BackRefInserter.
Tim Moore [Tue, 25 Aug 2009 14:01:11 +0000 (16:01 +0200)]
Add support for blend functions and alpha test functions in effects
Tim Moore [Sat, 15 Aug 2009 12:00:51 +0000 (14:00 +0200)]
wip for effects in models
multi-index for effect attributes
Tim Moore [Sun, 20 Sep 2009 07:29:05 +0000 (09:29 +0200)]
remove CopyPolicy from ModelRegistry
Put the responsibility for copying a loaded model directly in
SGReaderWriterXML.
ehofman [Thu, 12 Nov 2009 20:41:19 +0000 (20:41 +0000)]
temporarily remove listener (viewer) and source offsets. they mess things up
Tim Moore [Tue, 10 Nov 2009 21:10:57 +0000 (22:10 +0100)]
fix typo
ehofman [Tue, 10 Nov 2009 14:28:28 +0000 (14:28 +0000)]
also recalculate the velocity in update_pos_and_orienation, so pass the north-east-down velocity directly and orientate position, orientation and velocity to OpenGL/OpenAL frames (x-right, y-up and z-back)
ehofman [Mon, 9 Nov 2009 10:28:21 +0000 (10:28 +0000)]
allow sound effects in the configuration file to be added to the 'avionics' sample group by setting '<type>avionics</type>'.