durk
ef80497fbe
Let the version number reflect the current state of the release process.
2010-01-21 06:15:18 +01:00
Tim Moore
11479cd8c3
Merge branch 'ehofman/sound'
2010-01-16 23:49:36 +01:00
ehofman
176e760de1
test for an AL or ALC error before calling an ALUT function.
2010-01-16 15:50:29 +01:00
Tim Moore
430c60ed1a
Merge branch 'ehofman/sound'
2010-01-13 07:57:35 +01:00
Tim Moore
dfea3623f6
Merge branch 'tat/framework'
2010-01-13 07:57:30 +01:00
Tim Moore
b38783e4cb
Merge branch 'ehofman/subsys'
2010-01-11 07:15:11 +01:00
Tim Moore
9382a4c21b
Merge branch 'jester/aptsign'
2010-01-11 07:14:51 +01:00
Tim Moore
3cd4c5566f
Merge branch 'timoore/effects'
2010-01-11 07:14:23 +01:00
Tim Moore
601c0977df
Merge branch 'jmt/geodistance'
2010-01-11 07:10:46 +01:00
ehofman
c56f036bab
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.
2010-01-05 22:12:37 +01:00
torsten
44dd50c0ef
Csaba Halasz:
...
Fix airport signs by reverting to rev 1.22 of apt_sign.cxx. Tweaked a little to handle missing materials better.
2010-01-05 22:11:57 +01:00
ehofman
56919ae45f
MacOS returns an unsopported AL error when a file is not found, work around this.
2010-01-05 22:10:22 +01:00
jmt
578af00b0d
Allow geocentric distance computations to return radians.
2010-01-03 10:10:02 +01:00
Tim Moore
d6c0bf69b6
fix up some merge weirdness
2010-01-01 13:32:03 +01:00
ehofman
e8884b4ec0
Also unbind subsystem groups in reverse order and destruct them in reverse order to be consistent.
2009-12-31 19:42:53 +01:00
ehofman
5e79609955
unbind in reverse order to try to prevent order dependency problems.
2009-12-30 00:20:08 +01:00
ehofman
4950c96f1c
Rearrange alut error checking a bit
2009-12-30 00:05:01 +01:00
jmt
51b0cf535e
XML encodings: support 'ASCII' as an alias for 'US-ASCII'
2009-12-29 23:53:28 +01:00
ehofman
4cc17a7f6e
keep a pointer to the OpenAL vendor and renderer for reference
2009-12-27 09:24:24 +01:00
Tim Moore
dca07c5634
Merge branch 'timoore/effects'
...
Conflicts:
simgear/scene/model/model.cxx
simgear/scene/sky/newcloud.cxx
2009-12-20 16:07:00 +01:00
Tim Moore
fd42294faf
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.
2009-12-20 11:46:28 +01:00
ehofman
c1246e8c4e
proper typecasting
2009-12-14 22:46:22 +01:00
Tim Moore
59fc902cfb
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.
2009-12-14 06:52:00 +01:00
ehofman
1fe9755d01
fix a typo.
2009-12-12 00:03:41 +01:00
ehofman
1da09a4706
Don't assign the buffer data to the sample in case it is a file. Test for result when calling load()
2009-12-12 00:03:40 +01:00
ehofman
f3c591469b
Fix crash in SGSoundMgr::stop(): do not try to erase buffer items one at a time
2009-12-12 00:03:40 +01:00
ehofman
b1200f9f59
add alcSuspendContext and alcProcessContext again to prevent sound artifacts on hardware accelerated soundcards.
2009-12-06 23:55:08 +01:00
ehofman
47617d6c04
check if suspend, resume and volume changed much from the previous value before setting them.
2009-12-03 06:38:23 +01:00
ehofman
4794ab6095
Fix runtime switching of sound devices.
2009-12-03 06:38:12 +01:00
ehofman
bc85767f19
Updates to allow runtime chaning of the sound device
2009-11-30 22:41:14 +01:00
Tim Moore
e37c218c2a
take locks out of ModelRegistry
...
They should be unnecessary and were causing deadlock with Effects that
load images.
2009-11-29 22:54:02 +01:00
ehofman
a0aaa23904
Add a function to retreive all available playback devices.
2009-11-29 13:04:39 +01:00
ehofman
27a6c72091
initialize volume to a proper value
2009-11-29 13:04:39 +01:00
ehofman
2dcc66f03e
Small bugfix
2009-11-29 13:04:38 +01:00
ehofman
d70a05a088
Make it possible to specify a different device name
2009-11-29 13:04:38 +01:00
Tim Moore
c2317edf8a
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.
2009-11-29 12:42:10 +01:00
Tim Moore
cb7ac404d9
Merge branch 'ehofman/sky'
2009-11-26 23:28:34 +01:00
Tim Moore
5abc6c995f
fix a memory leak in newcloud.cxx
2009-11-26 16:30:46 +01:00
ehofman
0f21c39e49
a slightly more readable version of the test
2009-11-26 16:05:46 +01:00
ehofman
f6513127ce
Also test for older versions of OpenAL-Sample
2009-11-26 16:05:45 +01:00
Tim Moore
ddd72b2b37
Use an effect for 3d clouds
2009-11-26 11:40:41 +01:00
Tim Moore
7f5df1fb66
Support for shader program attributes in effects
...
Also, use a hash table for the effect shader program cache.
2009-11-26 11:39:34 +01:00
Tim Moore
2e71b64de1
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.
2009-11-26 11:32:00 +01:00
Tim Moore
45f1f9263f
add a property debugging function
2009-11-26 10:38:31 +01:00
ehofman
878288f06a
Don't forget to apply the doppler adjustment factor to the listener velocity also
2009-11-24 14:17:54 +01:00
ehofman
406cdf8d16
test for implementations with 'bad' doppler effects and adjust for it.
2009-11-24 14:17:54 +01:00
ehofman
5b28b024ae
fix test programs
2009-11-24 14:17:54 +01:00
ehofman
7c693d8107
proper listener velocity calculation, this has no effect yet but is required when other models start emitting sounds.
2009-11-24 14:17:54 +01:00
Tim Moore
b8a6d1ac4d
add depth attribute to Effect
2009-11-23 09:15:47 +01:00
Tim Moore
40533f50df
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.
2009-11-22 23:05:11 +01:00